user304611
user304611

Reputation: 337

Kafka compaction on a topic stopped

I have multiple Kafka topics on which compaction is enabled. On all the topics compaction is happening fine but on one topic I am facing below issue.

The compaction happened until a point of time, after that it never happened. When I went through log cleaner logs there weren't any exceptions or logs telling me the potential reason why compaction stopped.

I am wondering what could be the reason for this behavior. How do i force my compaction to happen? Any sort of advice would be helpful.

Upvotes: 0

Views: 143

Answers (1)

Gwen Shapira
Gwen Shapira

Reputation: 5168

This usually happen because the compacting thread (log cleaner) crashed. Next step in troubleshooting is to find the reason it crashed and fix it. I'd search the main server logs for exceptions.

Log cleaner became a lot more stable over time, so if you are running versions older than 2.0, I recommend upgrading.

Upvotes: 2

Related Questions