paul
paul

Reputation: 13471

Kafka log compaction callback

I'm using Kafka log compactor, and I was wondering if there lis any call-back function that I can use to be invoked as a consumer, when the Kafka broker perform the log compaction of my Topic.

So far I cannot see any callback for this, so I was wondering what is the standard strategy to detect that log compaction took place.

Regards

Upvotes: 0

Views: 126

Answers (1)

OneCricketeer
OneCricketeer

Reputation: 191681

The client itself has no communication with the broker for such events. In the past, we used Splunk to capture the compaction events from the LogCleaner process logs, and we could generate webhook events based on that, if we needed if for any reason (we only used it for administrative debugging and clients never needed it)

Upvotes: 1

Related Questions