What are the best practices for 'Compacted Topics' in Kafka?
I'm trying to use Kafka as a "Database" by using Log Compaction. The idea is to only keep the latest value for a specific key, like a user's current address. However, I noticed that my disk usage isn't going down as fast as I expected. How does the "Cleaner" thread work? Are there specific "Segment" settings I need to tune to make sure old data is actually deleted in a timely manner?
Write a Comment
Your email address will not be published. Required fields are marked (*)