All Questions
Kafka hard

When `enable.idempotence=true` is NOT set, what is the risk of having `max.in.flight.requests.per.connection > 1` on a high-velocity Topic?

  1. A The Producer will experience a 'BufferUnderflow' exception.
  2. B Message Re-ordering: If Batch 1 fails but Batch 2 (sent immediately after) succeeds, the Producer will retry Batch 1. Batch 1 will now be written to the log *after* Batch 2, violating the timeline.
  3. C The broker will automatically double the replication factor to handle the pressure.
  4. D It forces all consumers into a 'read_uncommitted' isolation level.

One system design question a day, with spaced repetition so the ones you miss come back.

Get the app

Related questions