Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
GH-3210: KafkaTemplate currentSpan tagging issue
Fixes: #3210 * When adding a tag to the current span during the sending of a kafka message using KafkaTemplate, the tag gets added to another span because KafkaTemplate doesn't open the scope for the started observation. Fixing this issue by wrapping the doSend method call in a proper observation scope. **Auto-cherry-pick to `3.0.x`** # Conflicts: # spring-kafka/src/test/java/org/springframework/kafka/support/micrometer/ObservationTests.java
- Loading branch information