Class BatchSettings (2.3.0)

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

The settings for batch publishing the messages.

Methods

BatchSettings

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

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