azure-webpubsub icon indicating copy to clipboard operation
azure-webpubsub copied to clipboard

The order of received messages isn't preserved, doesn't reflect the order in which the messages were created.

Open karolinadebowska opened this issue 3 years ago • 2 comments

How can I make sure, what should I do to preserve the order? Messages are being sent very quickly and sometimes the second message comes before the first one.

karolinadebowska avatar Mar 24 '22 16:03 karolinadebowska

Could you describe a little bit more about your user scenarios? Are you using event handlers or are you using subprotocols?

vicancy avatar Apr 02 '22 02:04 vicancy

For received messages, where is the message sent from? Is it from the server SDK (or REST API), or from subprotocol client? Messages from one group should have order guaranteed. If you are using REST API and await the response, the order for the same group should be guaranteed too.

vicancy avatar Apr 02 '22 02:04 vicancy