confluent-kafka-python icon indicating copy to clipboard operation
confluent-kafka-python copied to clipboard

Losing Kafka old messages

Open youssefbenfarhat opened this issue 4 years ago • 1 comments

Last time I used Confluent Kafka was 2 months again, at that that time I used to have topics and different consumers and producers. Now when I start Kafka and try to see my clusters, I can't find all the previous work. Everything is empty. I can't understand, if I lost my messages and topics or what.

youssefbenfarhat avatar Nov 08 '22 15:11 youssefbenfarhat

The default retention period for a topic in Kafka is 7 days. If you didn't change this property, you will lose the messages. Please refer - https://docs.confluent.io/platform/current/installation/configuration/topic-configs.html#topicconfigs_retention.ms

pranavrth avatar Nov 09 '22 07:11 pranavrth