Fix Missing Re-Interrupt

This commit is contained in:
Gary Russell
2022-11-09 14:43:03 -05:00
parent a9b0252be3
commit 5df71c169a

View File

@@ -1605,6 +1605,7 @@ public class KafkaMessageListenerContainer<K, V> // NOSONAR line count
ListenerUtils.stoppableSleep(KafkaMessageListenerContainer.this, duration.toMillis());
}
catch (InterruptedException e) {
Thread.currentThread().interrupt();
this.logger.error(e, "Interrupted while sleeping");
}
}