New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Support for infinite streams with spring-cloud-function-web #792
Comments
@fouadh Is there anything else you see in the logs as it seems to be working for me
|
That said, i did discover few other issues with it, so still need fixing, but i believe it is unrelated to your issue, so still wondering |
So, I am back-porting it, but the fix is in. I used your code for additional sample and also pushed a client to validate the responses - https://github.com/spring-cloud/spring-cloud-function/blob/main/spring-cloud-function-samples/function-sample/src/main/java/com/example/Client.java |
I've tested it with the 3.2.x version and it works perfectly fine, thank you very much for the fix ! |
Hi,
I am wondering if it is possible to expose an infinite reactive stream with spring-cloud-function-web.
When I try to do it, I get a timeout exception. If I try to expose a finite stream, it works.
Here is an example of a reactive stream I tried:
And here is how I am calling it from a terminal:
The logs show that the stream is triggered and, after 30 seconds (http timeout I suppose), it is canceled and the error happens:
I am using:
I attach a full sample project to this ticket.
20220119-spring-cloud-function-web.zip
Thanks in advance for your help !
Regards,
Fouad
The text was updated successfully, but these errors were encountered: