'Retrieve Message Consuming Time in Kafka

Suppose I have a topic called topic1 in Kafka. And I have a consumer group called group1 which has 8 consumers consuming messages from topic1.

If I searched for a message in the past from Kafka, how can I get which consumer did cosume this message and when?



Solution 1:[1]

Kafka doesn't store any information about what actions consumers take ; it only cares about the offsets they commit back (if they do at all)

As commented, you're better off using log collection frameworks along with systems like Elasticsearch or Splunk for searching for such historical information

Sources

This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.

Source: Stack Overflow

Solution Source
Solution 1 OneCricketeer