All Questions
Multi Step Processes hard

How does Kafka achieve 'Exactly-Once Processing' (EoS) when consuming from one topic and producing to another (read-process-write)?

  1. A It uses idempotent producer IDs combined with transactions that write the output message and the consumer offset commit marker to the log atomically.
  2. B It uses a two-phase commit between the Consumer and the Producer.
  3. C It relies on the database to deduplicate messages.
  4. D It deletes the message from the source topic immediately after reading.

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

Get the app

Related questions