spring-kafka
spring-kafka copied to clipboard
Forbid fenced Container to stop ConcurrentContainer
trafficstars
[DRAFT] Fixes #GH-3448
Issue: Fenced Child Container could stop the running ConcurrentContainer
Fix: Configure KafkaMessageListenerContainer (KMLC) to use ConcurrentMessagleListenerContainerRef instead of
ConcurrentContainer. Internally, ConcurrentContainerRef checks if KMLC is fenced when stop operations are called on Concurrent Container. If KMLC is fenced, suppress the stop related operations. If KMLC is not fenced, delegate the stop call to ConcurrentContainer.