nerdexam
Confluent

CCDAK · Question #174

Which statement is true about how exactly-once semantics (EOS) work in Kafka Streams?

The correct answer is B. EOS in Kafka Streams relies on transactional producers to atomically commit state updates to. Exactly-once semantics (EOS) in Kafka Streams rely on transactional producers to atomically commit both state updates to internal changelog topics and output records to Kafka, ensuring no duplication or loss even in case of failures.

Developing with Kafka Streams

Question

Which statement is true about how exactly-once semantics (EOS) work in Kafka Streams?

Options

  • AKafka Streams disables log compaction on internal changelog topics to preserve all state
  • BEOS in Kafka Streams relies on transactional producers to atomically commit state updates to
  • CKafka Streams provides EOS by periodically checkpointing state stores and replaying changelogs
  • DEOS in Kafka Streams is implemented by creating a separate Kafka topic for deduplication of all

How the community answered

(42 responses)
  • A
    29% (12)
  • B
    45% (19)
  • C
    17% (7)
  • D
    10% (4)

Explanation

Exactly-once semantics (EOS) in Kafka Streams rely on transactional producers to atomically commit both state updates to internal changelog topics and output records to Kafka, ensuring no duplication or loss even in case of failures.

Topics

#exactly-once semantics#transactional producers#EOS#changelog topics

Community Discussion

No community discussion yet for this question.

Full CCDAK Practice