[BUG] Invalid message order in batch sending #25599
Labels
Client
This issue points to a problem in the data-plane of the library.
customer-reported
Issues that are reported by GitHub users external to the Azure organization.
needs-team-attention
Workflow: This issue needs attention from Azure service team or SDK team
question
The issue doesn't require a change to the product in order to be resolved. Most issues start as that
Service Bus
After upgrading azure-messaging-servicebus lib from 7.0.1 to 7.3.0, I noticed that batch sending is reordering messages in Service Bus. I suppose this is due to the use of parallelStream() in the ServiceBusMessageBatch.sendInternal() method. This has been changed in the commit: a9b28ec#diff-bfbb3d6ac91c080eaa27ee29c12058246337099dcd205dc86a625dee08bfa17e.
I expect the order of the messages in the list for batch should be the same as in Service Bus.
The text was updated successfully, but these errors were encountered: