Skip to content

What's the difference between the two parameters: "producer_batch_num" of kafka-logger and "batch_max_size" of batch-processor? #11615

Answered by dosubot bot
mangolost asked this question in Q&A
Discussion options

You must be logged in to vote

Hey @mangolost! I'm here to help you with any bugs, questions, or contributions you have. Let's tackle this issue together!

To configure your settings for sending batched records to Kafka using the kafka-logger plugin and the batch-processor plugin, you need to understand the roles of the different parameters:

  1. producer_batch_num (kafka-logger): Specifies the number of messages to be merged and sent to the Kafka server in a single batch. This controls how many individual messages are grouped together before being sent.

  2. producer_batch_size (kafka-logger): Defines the maximum size of the batch in bytes. This limits the total size of the messages that can be sent in one batch.

  3. batch_ma…

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by mangolost
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
1 participant