What will happen if the broker is restarted?

You have a Kafka cluster and all the topics have a replication factor of 3. One intern at your company stopped a broker, and accidentally deleted all the data of that broker on the disk .

What will happen if the broker is restarted?
A . The broker will start, and other topics will also be deleted as the broker data on the disk got deleted
B . The broker will start, and won’t be online until all the data it needs to have is replicated from other leaders
C . The broker will crash
D . The broker will start, and won’t have any data. If the broker comes leader, we have a data loss

Answer: B

Explanation:

Kafka replication mechanism makes it resilient to the scenarios where the broker lose data on disk, but can recover from replicating from other brokers. This makes Kafka amazing!

Latest CCDAK Dumps Valid Version with 150 Q&As

Latest And Valid Q&A | Instant Download | Once Fail, Full Refund

Subscribe
Notify of
guest
0 Comments
Inline Feedbacks
View all comments