nerdexam
Confluent

CCDAK · Question #122

What is the risk of increasing max.in.flight.requests.per.connection while also enabling retries in a producer?

The correct answer is B. Message order not preserved. Some messages may require multiple retries. If there are more than 1 requests in flight, it may result in messages received out of order. Note an exception to this rule is if you enable the producer settingenable.idempotence=true which takes care of the out of ordering case on it

Developing Kafka Producers

Question

What is the risk of increasing max.in.flight.requests.per.connection while also enabling retries in a producer?

Options

  • AAt least once delivery is not guaranteed
  • BMessage order not preserved
  • CReduce throughput
  • DLess resilient

How the community answered

(33 responses)
  • A
    3% (1)
  • B
    82% (27)
  • C
    3% (1)
  • D
    12% (4)

Explanation

Some messages may require multiple retries. If there are more than 1 requests in flight, it may result in messages received out of order. Note an exception to this rule is if you enable the producer settingenable.idempotence=true which takes care of the out of ordering case on its own.

Topics

#max.in.flight.requests.per.connection#retries#message ordering#producer configuration

Community Discussion

No community discussion yet for this question.

Full CCDAK Practice