kafka-console-consumer is a Kafka command-line tool for inspecting topic records, replaying missed events, and checking whether consumers behave correctly. section 13.2.2
Use it during an event-driven incident to replace guesses with observable evidence:
- Inspect the Kafka event log when a service appears to have missed messages. section 13.2.2
- Check whether incorrect offsets, topics, or partitions explain missing or invisible records. section 13.2.2
- After correcting configuration, replay missed events in a safe local environment and verify the consumer response. section 13.2.2
Wrong topic, not lost messages
An Email Service appeared not to send expected emails. Inspection showed that a deployment configured it for the wrong Kafka topic, so the events remained unconsumed. Replaying the missed events with Kafka's console tools made the service process them and confirmed the diagnosis. section 13.2.2
Figure 13.6 A developer can choose to replay events to troubleshoot a certain scenario.
Shows event replay as a troubleshooting choice for a specific scenario. section 13.2.2

