nerdexam
Confluent

CCDAK · Question #12

To enhance compression, I can increase the chances of batching by using

The correct answer is B. linger.ms=20. linger.ms forces the producer to wait before sending messages, hence increasing the chance of creating batches that can be heavily compressed.

Developing Kafka Producers

Question

To enhance compression, I can increase the chances of batching by using

Options

  • Aacks=all
  • Blinger.ms=20
  • Cbatch.size=65536
  • Dmax.message.size=10MB

How the community answered

(42 responses)
  • A
    2% (1)
  • B
    90% (38)
  • C
    5% (2)
  • D
    2% (1)

Explanation

linger.ms forces the producer to wait before sending messages, hence increasing the chance of creating batches that can be heavily compressed.

Topics

#linger.ms#batching#compression#producer configuration

Community Discussion

No community discussion yet for this question.

Full CCDAK Practice