API Proxy timeout when streaming is enabled

I have a api which takes around 60 minutes to process the request. So we enabled streaming to process the request. Router and message processor are set to time out after 5 minutes and 4 minutes.

We want to timeout our streaming api after 62 minutes forcefully. Can you please suggest a way to timeout an api when streaming is enabled ?

0 3 420
3 REPLIES 3

You cannot make it in Apigee. 60mins is huge. By that time your router and message processor both will timeout.

And it's a bad idea.

Agreed, it's not a good idea. But this is a unique case and we want to increase timeout for this particualr api ? Is there way to mention timeout on API, when streaming is enabled?

You will have to increase the timeout to 60mins and Apigee doesn't suggest that. This will imapct all other proxies also. Other proxies will get more latency.