All Questions
Kafka medium

A Producer uses `acks=all` (or `-1`). Under which condition will the broker return a 'Success' acknowledgment for a write?

  1. A As soon as the Leader broker has received the bytes into its network socket buffer.
  2. B Only after the data has been successfully replicated to the full set of current 'In-Sync Replicas' (ISR).
  3. C When the message has been read by at least one consumer in the main group.
  4. D Once the data has been successfully written to the local ZooKeeper metadata store.

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

Get the app

Related questions