Allow binary data over raw Websocket #19
Comments
I have the same problem when sending data packaged as Protobuf via STOMP, it's binary as well. |
In 3.6.0 we will add another route that doesn't use SockJS. With SockJS, it is not possible to send binary data, at least not without bypassing SockJS entirely, because SockJS works with UTF-8 text only. The new route we add will be under Currently this new route is using text frames. We can't detect if the data is text or binary automatically (at least not if you care about performance), but we could try to add an option to choose between text and binary frames. We have two ways of adding such an option:
I can try working on the first now and we'll see if anyone has more complex needs down the road. We can always have both at the same time eventually. |
@essen we need to make sure this difference (and the new endpoint) is documented. |
Alright. |
Documentation for this ticket (and endpoint differences) is done, the code and PRs will follow a bit later today. Docs: https://github.com/rabbitmq/rabbitmq-website/tree/rabbitmq-web-stomp-19 |
Please submit a pull request against master.
|
Ah you merged it already, I was waiting to be 100% sure with the code aspects before opening a PR. Anyway the code PR is open now. :-) |
I'm pretty happy that this will be in |
No problem, more tomorrow. :-) |
I know this was closed. How do I use this setting? |
Found it thanks |
I have problem making Protobuf work with rabbitMQ and web-stomp. I get: "Illegal wire type in unknown group 12: 7 " Exposed the same data using HTTP endpoint and I am able to read them. |
Please post questions to rabbitmq-users or Stack Overflow. RabbitMQ uses GitHub issues for specific actionable items engineers can work on, not questions. Thank you. |
Users can't use the Web STOMP plugin with compressed data.
I'm not sure if this should be just using binary frames, or configurable between text and binary, or something else yet. Opening the ticket so this can get tracked.
Relevant mailing list post is there: https://groups.google.com/forum/#!topic/rabbitmq-users/aOJtofH0Z2c
Target at the time of writing is 3.6.0.
The text was updated successfully, but these errors were encountered: