Closed cch123 closed 7 years ago
Then can I control the inner batches size? I haven't found a option to configure.
Yes. The config struct includes the Sarama config struct, which includes several variables to control the batching process. Look it up in the Sarama docs.
On Wednesday, 2 March 2016, 曹春晖 notifications@github.com wrote:
Then can I control the inner batches size? I haven't found a option to configure.
— Reply to this email directly or view it on GitHub https://github.com/wvanbergen/kafka/issues/89#issuecomment-191068405.
thx!
What do you mean by batches? The API will give you one message at the time, but internally it consumes batches for increased performance.
On Tuesday, 1 March 2016, 曹春晖 notifications@github.com wrote: