Your producer is producing at a very high rate and the batches are completely full each time. How can you improve the producer throughput? (select two)
Suggested Answer: A, C
Get Premium CCDAK Questions
as Interactive Web-Based Practice Test or PDF
Real Exam Format
Detailed Explanations
Instant Access
Get Your Practice Test
batch.size controls how many bytes of data to collect before sending messages to the Kafka broker. Set this as high as possible, without exceeding available memory. Enabling compression can also help make more compact batches and increase the throughput of your producer. Linger.ms will have no effect as the batches are already full
0 comments · newest first
Currently there are no comments in this discussion, be the first to comment!