Open bruno-brant opened 2 years ago
Hi Bruno, The batch size control total bytes not number of message. You can guess the number of message by the average size of your messages. Doc on Confluent or Apache Kafka
There is two trigger in Apache Kafka to send produce queries:
linger_ms
and batch_size
param (available in this python client).
If one of them is reach, the producer send messages.
The documentation doesn't make it clear whether the parameter controls number of messages or total bytes: