nerdexam
Confluent

CCDAK · Question #141

Which of the following setting increases the chance of batching for a Kafka Producer?

The correct answer is D. Increase linger.ms. linger.ms forces the producer to wait to send messages, hence increasing the chance of creating

Developing Kafka Producers

Question

Which of the following setting increases the chance of batching for a Kafka Producer?

Options

  • AIncrease batch.size
  • BIncrease message.max.bytes
  • CIncrease the number of producer threads
  • DIncrease linger.ms

How the community answered

(28 responses)
  • A
    4% (1)
  • C
    4% (1)
  • D
    93% (26)

Explanation

linger.ms forces the producer to wait to send messages, hence increasing the chance of creating

Topics

#linger.ms#batching#producer throughput#producer configuration

Community Discussion

No community discussion yet for this question.

Full CCDAK Practice