[Service Bus] API review changes to the Batch object and its related methods #14639
Labels
blocking-release
Blocks release
Client
This issue points to a problem in the data-plane of the library.
Service Bus
Milestone
Findings for the Batch object and its related methods from internal API review for version 7.0.0-b7 of the Azure Service Bus package:
BatchMessage
toMessageBatch
. Consider addingServiceBus
prefix after discussing with the Python team- If we are adding the
ServiceBus
prefix, also consider doing so forMessage
max_size_in_bytes
on the batch object should be readonly. Log an issue to add this in Event Hubs as wellmessage
on the batch object need not be public.create_batch()
method tocreate_message_batch()
. We use the "message"/"messages" term in all other methods on the sender and receiver, so this should sit right well.add()
method on the batch toaddMessage()
to resolve the confusion we saw in certain user studies where it was not clear what the next step was after creating a batchThe text was updated successfully, but these errors were encountered: