nerdexam
Huawei

H13-711_V3.5 · Question #365

Kafka is a distributed message publishing and subscription system. It only forwards messages and does not save messages.

The correct answer is B. False. B (False) is correct because Kafka is explicitly designed to persist messages on disk, not merely forward them. Kafka stores messages in topic partitions as immutable, append-only logs and retains them for a configurable retention period (e.g., 7 days by default), regardless of…

Hadoop Ecosystem Basics

Question

Kafka is a distributed message publishing and subscription system. It only forwards messages and does not save messages.

Options

  • ATrue
  • BFalse

How the community answered

(39 responses)
  • A
    31% (12)
  • B
    69% (27)

Explanation

B (False) is correct because Kafka is explicitly designed to persist messages on disk, not merely forward them. Kafka stores messages in topic partitions as immutable, append-only logs and retains them for a configurable retention period (e.g., 7 days by default), regardless of whether consumers have read them.

Why A is wrong: The claim that Kafka "does not save messages" fundamentally mischaracterizes its architecture. This persistence is actually one of Kafka's key differentiators - it allows consumers to replay messages, join late, or recover from failures, none of which would be possible if Kafka discarded messages after forwarding.

Memory tip: Think of Kafka as a distributed commit log, not a traditional message queue. The word "log" implies durability and sequential storage - just like a database write-ahead log. If Kafka didn't persist messages, it couldn't support consumer groups rewinding offsets, which is a core Kafka feature.

Topics

#Kafka#Message Persistence#Data Storage#Message Queue

Community Discussion

No community discussion yet for this question.

Full H13-711_V3.5 Practice