We have an API for a gRPC backend service that provides a server streaming operation, connected via h2c
. Streaming works in general, but not as designed, since individual responses in the stream are not flushed toward the client. When the backend service finishes, all responses are provided to the client at once.
This renders the streaming feature useless, as the events would usually not end before the client times out when not receiving any data.
We have the following relevant settings enabled:
TYK_GW_HTTPSERVEROPTIONS_FLUSHINTERVAL
=1
TYK_GW_HTTPSERVEROPTIONS_ENABLEHTTP2
=true
TYK_GW_PROXYENABLEHTTP2
= 'true`
Does someone have a working setup for such a streaming API? We don’t have a clou what else to check to make this work