CCAAK · Question #5
How does Kafka guarantee message integrity after a message is written on a disk?
The correct answer is B. A message cannot be altered once it has been written. Kafka ensures message immutability for data integrity. Once a message is written to a Kafka topic and persisted to disk, it cannot be modified. This immutability guarantees that consumers always receive the original message content, which is critical for auditability, fault…
Question
How does Kafka guarantee message integrity after a message is written on a disk?
Options
- AA message can be edited by the producer, producing to the message offset.
- BA message cannot be altered once it has been written.
- CA message can be grouped, with message sharing the same key to improve read performance.
- DOnly message metadata can be altered using command line (CLI) tools.
How the community answered
(32 responses)- A9% (3)
- B81% (26)
- C6% (2)
- D3% (1)
Explanation
Kafka ensures message immutability for data integrity. Once a message is written to a Kafka topic and persisted to disk, it cannot be modified. This immutability guarantees that consumers always receive the original message content, which is critical for auditability, fault tolerance, and data reliability.
Topics
Community Discussion
No community discussion yet for this question.