nerdexam
Confluent

CCAAK · Question #58

In certain scenarios, it is necessary to weigh the trade-off between latency and throughput. One method to increase throughput is to configure batching of messages. In addition to batch.size, what…

The correct answer is B. linger.ms. The linger.ms property sets the maximum time the producer will wait before sending a batch, even if the batch isn't full. By increasing linger.ms, you allow more records to accumulate in the

Apache Kafka Fundamentals

Question

In certain scenarios, it is necessary to weigh the trade-off between latency and throughput. One method to increase throughput is to configure batching of messages. In addition to batch.size, what other producer property can be used to accomplish this?

Options

  • Asend.buffer.bytes
  • Blinger.ms
  • Ccompression
  • Ddelivery.timeout.ms

How the community answered

(42 responses)
  • A
    7% (3)
  • B
    74% (31)
  • C
    14% (6)
  • D
    5% (2)

Explanation

The linger.ms property sets the maximum time the producer will wait before sending a batch, even if the batch isn't full. By increasing linger.ms, you allow more records to accumulate in the

Topics

#linger.ms#producer batching#throughput#batch.size

Community Discussion

No community discussion yet for this question.

Full CCAAK Practice