When I consume data from a Kafka topic in batch-mode, I expect that a new span for the consumer is added to the existing producer span as "receive" span for each poll.
Observed behavior:
The trace context is lost, and for each poll a new "send" span is created
Workaround:
Adding the TracingConsumerInterceptor explicitly under interceptor.classes for the batch consumer. See the following example application.yml
After adding the property, the 'processBatchData-in-0' span shows up as receive span in Jaeger as part of the expected trace, but the send span is still created.
Hi,
I have the following issue:
Expected behavior:
When I consume data from a Kafka topic in batch-mode, I expect that a new span for the consumer is added to the existing producer span as "receive" span for each poll.
Observed behavior:
The trace context is lost, and for each poll a new "send" span is created
Workaround:
Adding the
TracingConsumerInterceptor
explicitly underinterceptor.classes
for the batch consumer. See the following example application.ymlAfter adding the property, the 'processBatchData-in-0' span shows up as receive span in Jaeger as part of the expected trace, but the send span is still created.
Used Dependencies: