Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
GH-3686: Fix observation scope closure in the `KafkaMessageListenerCo…
…ntainer` Fixes: #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
- Loading branch information