Kafka, Java, Interview, Coding, Microservices.
offset commits to track progress. Consumers periodically commit their offsets, indicating the last message they’ve successfully processed for each partition they’re subscribed to. Consumer Rebalancing: When a consumer fails or a new consumer joins the group, Kafka triggers a consumer rebalancing.