You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
spring-projectsGH-3686: Fix observation scope closure in the KafkaMessageListenerContainer
Fixes: spring-projects#3686
According to our investigation around the `try-with-resource`,
it looks like the resource is already closed when we reach the `catch` block.
* Rework `KafkaMessageListenerContainer.ListenerConsumer.doInvokeRecordListener()`
to `observation.openScope()` before the `try` and close it manually in the `finally` block
0 commit comments