nerdexam
Confluent

CCDAK · Question #190

Kafka producers can batch messages going to the same partition. Which statement is correct about producer batching?

The correct answer is D. Producers can include multiple batches in a single request to a broker. Kafka producers can include multiple batches - each destined for a different partition - in a single request to a broker, improving throughput and efficiency.

Developing Kafka Producers

Question

Kafka producers can batch messages going to the same partition. Which statement is correct about producer batching?

Options

  • AProducers can only batch messages of the same size.
  • BTwo or more broker failures will automatically disable batching on the producer.
  • CProducers have a separate background thread for each batch.
  • DProducers can include multiple batches in a single request to a broker.

How the community answered

(39 responses)
  • A
    3% (1)
  • B
    3% (1)
  • C
    8% (3)
  • D
    87% (34)

Explanation

Kafka producers can include multiple batches - each destined for a different partition - in a single request to a broker, improving throughput and efficiency.

Topics

#producer batching#batch configuration#broker requests#throughput

Community Discussion

No community discussion yet for this question.

Full CCDAK Practice