Matthew Robson created CXF-9063: ----------------------------------- Summary: OpenTelemetry context leak with CXF async client Key: CXF-9063 URL: https://issues.apache.org/jira/browse/CXF-9063 Project: CXF Issue Type: Bug Components: Core, Tracing Affects Versions: 4.0.5 Reporter: Matthew Robson
There seems to be a Otel context leak when using a CXF producer in async mode. This causes different requests to have the same traceId. As a workaround, setting synchronous=true on the CXF producer resolves the issue. Unit test to reproduce added to camel: https://github.com/apache/camel/blob/7d83a62b8e442dc9ac6fd79b153192add940301e/components/camel-opentelemetry/src/test/java/org/apache/camel/opentelemetry/AsyncCxfTest.java -- This message was sent by Atlassian Jira (v8.20.10#820010)