Skip to content

Conversation

zarusz
Copy link
Owner

@zarusz zarusz commented Aug 25, 2025

Summary

Fixes an issue in the Bulk Message Publish API where message chunking could fail at chunk boundaries, causing some messages to be skipped.

Details

The problem occurred because chunking was adaptive - based on the buffer capacity reported by Azure Service Bus (ASB) or Azure Event Hubs (AEH) - and varied with message size. When large batches of messages were published at once via the Bulk Message API, this sometimes resulted in incorrect chunking and message loss at the boundary.

Fix

This PR corrects the chunking logic to ensure all messages are properly published without being skipped.

Affected Transports

  • Azure Service Bus
  • Azure Event Hubs

Copy link

@zarusz zarusz merged commit 00062c2 into master Aug 25, 2025
6 of 11 checks passed
@zarusz zarusz deleted the feature/batch_publish branch August 25, 2025 21:58
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant