mirror of https://github.com/apache/druid.git
Prevent interrupted exception from polluting log during supervisor shutdown (#4253)
* Prevent interrupted exception from polluting log during supervisor shutdown * do nothing in case of InterruptedException
This commit is contained in:
parent
e02f783e82
commit
eb8e1b0a97
|
@ -1794,6 +1794,9 @@ public class KafkaSupervisor implements Supervisor
|
|||
ServiceMetricEvent.builder().setDimension("dataSource", dataSource).build("ingest/kafka/lag", lag)
|
||||
);
|
||||
}
|
||||
catch (InterruptedException e) {
|
||||
// do nothing, probably we are shutting down
|
||||
}
|
||||
catch (Exception e) {
|
||||
log.warn(e, "Unable to compute Kafka lag");
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue