Kafka, Java, Interview, Coding, Microservices.
property controls what happens to the consumer offsets when the consumer group rebalances or restarts after a failure. The default is earliest which means the consumer will start reading from the beginning of the partitions. You can set it to latest to start reading from the latest messages. 3.