Open meiao opened 2 months ago
In a test application using distributed tracing, the Span that should be created by the KafkaProducer#doSend method is never sent.
KafkaProducer#doSend
The screenshot below shows the Spans sent to the backend, but there is a highlighted parend.id which does not have a corresponding Span.
parend.id
The headers are added correctly to the Kafka message and the distributed trace is created between services.
Audit logs showed that the agent does not send that Span.
Although, the missing Span is shown in the Transaction Traces.
Reproduction code in https://github.com/prodjito/kafka-producer-consumer
The test was executed by invoking the ProducerServlet and the ConsumerServlet manually, from apps running in different JVMs.
https://new-relic.atlassian.net/browse/NR-316300
Description
In a test application using distributed tracing, the Span that should be created by the
KafkaProducer#doSend
method is never sent.The screenshot below shows the Spans sent to the backend, but there is a highlighted
parend.id
which does not have a corresponding Span.The headers are added correctly to the Kafka message and the distributed trace is created between services.
Audit logs showed that the agent does not send that Span.
Although, the missing Span is shown in the Transaction Traces.
Reproduction code in https://github.com/prodjito/kafka-producer-consumer
The test was executed by invoking the ProducerServlet and the ConsumerServlet manually, from apps running in different JVMs.