You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The sendBatch() method on the sender in Service Bus today allows users to send multiple messages by batching them into a single message. Currently, there is no way for the user to ensure that they dont go over the allowed max size for a batch. They have to send first, and then examine the error that gets thrown in such cases.
This issue is to add a createBatch() to the sender just like we did in Event Hubs to return a "batch" to the user which they can then fill one by one until the max size is reached.
Please refer to the implementation in Event Hubs as a reference.
This work needs to happen in the feature/service-bus-track-2 branch
The text was updated successfully, but these errors were encountered:
Also what we have noticed is that by sending multiple messages everytime a event listener is created, meaning when sending large amounts of messages in parallel or in batch your server can go out of memory.
The
sendBatch()
method on the sender in Service Bus today allows users to send multiple messages by batching them into a single message. Currently, there is no way for the user to ensure that they dont go over the allowed max size for a batch. They have to send first, and then examine the error that gets thrown in such cases.This issue is to add a
createBatch()
to the sender just like we did in Event Hubs to return a "batch" to the user which they can then fill one by one until the max size is reached.Please refer to the implementation in Event Hubs as a reference.
This work needs to happen in the
feature/service-bus-track-2
branchThe text was updated successfully, but these errors were encountered: