druid
druid copied to clipboard
Kafka supervisor kills unresponsive tasks too quickly
If a Kafka indexing task takes too long to start, it'll get killed when the Kafka supervisor tries to query it for its startTime and fails. This can probably be easily fixed by setting the retry flag in getStartTime to true so that it retries for ~60 seconds before giving up.
https://github.com/druid-io/druid/blob/master/extensions-core/kafka-indexing-service/src/main/java/io/druid/indexing/kafka/supervisor/KafkaSupervisor.java#L1218