Comprehensive and Detailed Explanation From Exact Extract:
✅C. Consumers can consume both committed and uncommitted transactions.By default,Kafka consumers only read committed messagesif they are configured with isolation.level=read_committed. However, if configured as read_uncommitted, theycan also consume uncommitted (potentially aborted) transactional messages.
From Kafka Documentation:
"The isolation.level setting controls whether the consumer will read only committed messages or all messages, including uncommitted messages from ongoing or aborted transactions."
✅D. Information about producers and their transactions is stored in the _transaction_state topic.Kafka uses an internal topic named__transaction_stateto maintain metadata about producer transactions. This topic is essential for tracking thetransaction lifecycle, fencing, and recovery.
From Kafka Internals:
“Kafka stores the state of active and completed transactions in an internal topic called __transaction_state.”
Contribute your Thoughts:
Chosen Answer:
This is a voting comment (?). You can switch to a simple comment. It is better to Upvote an existing comment if you don't have anything to add.
Submit