druid icon indicating copy to clipboard operation
druid copied to clipboard

Add reset API for Kafka indexing service

Open dclim opened this issue 10 years ago • 0 comments

The Kafka indexing service can get into a stuck state where it is trying to read the Kafka offset following the last one recorded in the dataSource metadata table but can't read it because Kafka's retention period has elapsed and that message is no longer available. We probably don't want to automatically jump to a valid Kafka offset since we would have missed events and would no longer have ingested each message exactly once, so currently we start throwing exceptions and the user needs to acknowledge what happened by removing the last committed offset from the dataSource table.

It would be nice to include an API that will help them by either removing the dataSource table entry or setting it to a valid Kafka offset, but would still require a manual action/acknowledgment by the user.

dclim avatar Jun 28 '16 17:06 dclim