Class BatchSettings (1.4.3)

BatchSettings(max_bytes=1000000, max_latency=0.01, max_messages=100)

The settings for batch publishing the messages.

Inheritance

builtins.object > builtins.tuple > BatchSettings

Methods

BatchSettings

BatchSettings(max_bytes=1000000, max_latency=0.01, max_messages=100)

Create new instance of BatchSettings(max_bytes, max_latency, max_messages)