How To Fetch Specific Messages in Apache Kafka
Mastering the Kafka console consumer and kafkacat
Published in
4 min readMar 8, 2021
One of the most basic operations one can perform with Kafka is obviously to consume messages from a specific topic. Sometimes we just need to fetch the last batch of messages, but on some other occasions, we might need to consume messages that fall within two offsets or timestamps.