All Questions
Kafka medium

When a Consumer successfully executes `consumer.commitSync()`, what has functionally occurred from the cluster's perspective?

  1. A The data has been physically deleted from the broker's disk partition.
  2. B The latest offset has been safely written to the `__consumer_offsets` topic on the broker, ensuring that if the consumer restarts, it will resume from the next record.
  3. C The Producer has been notified to send the next batch of data immediately.
  4. D The message has been encrypted and moved to a 'processed' sub-topic.

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

Get the app

Related questions