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
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)- A3% (1)
- B82% (27)
- C3% (1)
- D12% (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
Community Discussion
No community discussion yet for this question.