Which statement about high watermark is false?

Study for the CCDAK Apache Kafka Test. Use flashcards and multiple choice questions with hints and explanations for each question. Prepare thoroughly for your exam!

Multiple Choice

Which statement about high watermark is false?

Explanation:
High watermark is the boundary that defines what has been safely replicated across the cluster and is thus readable by consumers. It is the offset of the last message that has been replicated to all in-sync replicas, so reads are bounded up to this point. This makes reads deterministic across replicas and protects against reading data that isn’t durably replicated yet. The boundary can advance not only when producers add new messages but also as in-sync followers catch up to the current log, so it moves forward with replication progress, not solely on new production. The statement that is false is the idea that the high watermark is the offset of the oldest message in the log. The oldest message is simply the earliest offset in the log, not the committed boundary.

High watermark is the boundary that defines what has been safely replicated across the cluster and is thus readable by consumers. It is the offset of the last message that has been replicated to all in-sync replicas, so reads are bounded up to this point. This makes reads deterministic across replicas and protects against reading data that isn’t durably replicated yet. The boundary can advance not only when producers add new messages but also as in-sync followers catch up to the current log, so it moves forward with replication progress, not solely on new production.

The statement that is false is the idea that the high watermark is the offset of the oldest message in the log. The oldest message is simply the earliest offset in the log, not the committed boundary.

Subscribe

Get the latest from Passetra

You can unsubscribe at any time. Read our privacy policy