CCDAK · Question #155
Which two statements are correct about transactions in Kafka? (Choose two.)
The correct answer is C. Consumers can consume both committed and uncommitted transactions. D. Information about producers and their transactions is stored in the '__transaction_state' topic. Consumers can consume both committed and uncommitted transactions, but by default, only committed messages are visible to consumers with isolation.level=read_committed. Information about producers and their transactions is stored in the __transaction_state topic, which is…
Question
Which two statements are correct about transactions in Kafka? (Choose two.)
Options
- AAll messages from a failed transaction will be deleted from a Kafka topic.
- BTransactions are only possible when writing messages to a topic with single partition.
- CConsumers can consume both committed and uncommitted transactions.
- DInformation about producers and their transactions is stored in the '__transaction_state' topic.
- ETransactions guarantee at least once delivery of messages.
How the community answered
(41 responses)- A12% (5)
- B7% (3)
- C56% (23)
- E24% (10)
Explanation
Consumers can consume both committed and uncommitted transactions, but by default, only committed messages are visible to consumers with isolation.level=read_committed. Information about producers and their transactions is stored in the __transaction_state topic, which is managed internally by Kafka for transaction coordination.
Topics
Community Discussion
No community discussion yet for this question.