Closed alok87 closed 4 years ago
Is the replication broken? broker0
sh-4.2$ pwd
/var/lib/kafka/data-0/kafka-log0
sh-4.2$ ls -tlra | grep inventory
drwxrwsr-x 2 kafka root 4096 Sep 20 02:28 inventory.inventory.geom-0
drwxrwsr-x 2 kafka root 4096 Sep 20 02:28 inventory.inventory.addresses-0
broker1
sh-4.2$ pwd
/var/lib/kafka/data-0/kafka-log1
sh-4.2$ ls -tlra | grep inventory
drwxr-sr-x 2 kafka root 4096 Sep 20 02:01 schema-changes.inventory-0
All the directories in broker0 should get replicated to broker1, right?
Closing this not related to strimzi for sure https://www.reddit.com/r/apachekafka/comments/iw7725/help_kafka_eats_all_the_data_24_hours_with/
delete.retention.ms=86400000 sensitive=false synonyms={DEFAULT_CONFIG:log.cleaner.delete.retention.ms=86400000} What does this mean here? This might be the reason for 1 day deletions
That means that the tombstone messages indicating key deletion in compacted topics are deleted after 86400000ms.
Recently started using Kafka. I understand Kafka has two retention configuration, by time and by size. I have the Kafka cluster running with default configurations, with data stored in EBS volumes. I even extended the retention to 168 hours but still Kafka keeps eating my data every 1d.
Global Config
Only time based retention of 10days is there, but Kafka still deletes my data every 1day.
I also saw there was no topic level retention set. It was using the global value.
Topic Config
kafka cluster
Why is Kafka eating my data? :( Help me debug this please. Where can I see the logs of cleanup and find the reason of deletion in the logs?