Get hands-on experience with 20+ free Google Cloud products and $300 in free credit for new customers.

Enabling Streaming between a TargetEndpoint Response and a Backend Service

Hi team,

We have the following scenario to which we're trying to find a solution involving Streaming:

  • External API provides large response
  • Apigee Proxy connects to this API as TargetEndpoint and retrieves the response (200 MB+) using streaming
  • How can we pass this large response to our own Backend Service (another TargetEndpoint, that supports streaming) directly from Apigee ?
    1. If we use a Service Callout to a TargetEndpoint, Streaming for it doesn't appear to work and the request that lands on the TargetEndpoint is empty.
    2.  any other way to pipe directly the streaming output from one Backend Service (~external) to another Backend Service (~internal) using Apigee ?

We're using Apigee X.

Let me know if any other info is helpful to describe the scenario we're facing.

Thank you in advance for any info !

- Ciprian

0 2 147
2 REPLIES 2

This sounds like it could be a better use case for Application Integration rather than Apigee since your use case seems to be moving data from one point to another rather than an actual API use case

https://cloud.google.com/application-integration/docs/overview

Is there any option using only the Apigee X platform standard features ?

I know it's not ideal (most API use cases should keep a small footprint to ensure performance and load) but this scenario can be quite common:

External API [~ServiceCallout or TargetEndpoint ?]

=> Streaming Data =>

into Backend Service [~TargetEndpoint] for storage or handling.