[ 
https://issues.apache.org/jira/browse/CXF-9063?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17886953#comment-17886953
 ] 

Andriy Redko commented on CXF-9063:
-----------------------------------

Awesome, thanks a lot [~ffang]!

> 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
>            Priority: Major
>
> 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)

Reply via email to