-
Notifications
You must be signed in to change notification settings - Fork 41.2k
Add configuration option to customize RSocketServer's fragment size #23247
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
Comments
@philwebb I think this relates entirely to Spring Boot where the RSocket server is configured and started. @srinivasvsk I'm not sure if your goal is to fragment large RSocket Payloads, or to limit the frame size at the WebSocket transport level? For the former you can set |
Thanks for more details, my use case is to pass a large payload, process and stream results back. Had the server complained about 6500 limit. can you point to more information on RSocketServerCustomizer |
@srinivasvsk I guess you're referring to For your current application, you'll need override the Spring Boot 2.4 will be based on RSocket Java 1.1 and Spring Boot could provide a callback to customize the chosen transport mechanism thanks to the new convenient method. After this discussion, I'm re-transferring this issue to Spring Boot and re-purposing it to "Allow RSocket transport customization". Thanks! |
@bclozel yes one option is to increase the WebSocket frame size at the transport level in Reactor Netty. Isn't it also an option to enable fragmentation of large Payload's at the RSocket level via |
Right! In the meantime, you can declare an
|
Great thank you all |
The documentation is not clear how to set the max frame payload size, all questions are pointing to cloud gateway. Currently we are not using gateway and just using rsocker server.
Thanks
The text was updated successfully, but these errors were encountered: