File tree 1 file changed +4
-0
lines changed
sdk/eventhub/azure-eventhub/azure/eventhub
1 file changed +4
-0
lines changed Original file line number Diff line number Diff line change @@ -338,6 +338,10 @@ class EventDataBatch(object):
338
338
**Please use the create_batch method of EventHubProducerClient
339
339
to create an EventDataBatch object instead of instantiating an EventDataBatch object directly.**
340
340
341
+ **WARNING: Updating the value of the instance variable max_size_in_bytes on an instantiated EventDataBatch object
342
+ is HIGHLY DISCOURAGED. The updated max_size_in_bytes value may conflict with the maximum size of events allowed
343
+ by the Event Hubs service and result in a sending failure.**
344
+
341
345
:param int max_size_in_bytes: The maximum size of bytes data that an EventDataBatch object can hold.
342
346
:param str partition_id: The specific partition ID to send to.
343
347
:param str partition_key: With the given partition_key, event data will be sent to a particular partition of the
You can’t perform that action at this time.
0 commit comments