[ 
https://issues.apache.org/jira/browse/CAMEL-21919?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Pasquale Congiusti closed CAMEL-21919.
--------------------------------------
    Resolution: Won't Fix

Hello. This is already fixed in camel-opentelemetry2 component. As the 
camel-opentelemetry component is planned to be replaced by the former, you're 
invited to start using the new component from Camel version 4.11 onward.

> Warning logs when use OpenTelemetry with trace processors
> ---------------------------------------------------------
>
>                 Key: CAMEL-21919
>                 URL: https://issues.apache.org/jira/browse/CAMEL-21919
>             Project: Camel
>          Issue Type: Improvement
>          Components: camel-kafka
>    Affects Versions: 4.10.3
>            Reporter: Ruslan Hryn
>            Priority: Minor
>
> The following warnings will appear during the application startup when using 
> OpenTelemetry with a trace processor:
> {code:java}
> 2025-03-31T15:35:24.627+03:00  WARN 91210 --- [demo] [           main] 
> o.a.camel.impl.engine.DefaultChannel     : Interceptor: 
> org.apache.camel.opentelemetry.OpenTelemetryTracingStrategy@210a26b at: 
> Log[Hello World] does not return an AsyncProcessor instance. This causes the 
> asynchronous routing engine to not work as optimal as possible. See more 
> details at the InterceptStrategy javadoc. Camel will use a bridge to adapt 
> the interceptor to the asynchronous routing engine, but its not the most 
> optimal solution. Please consider changing your interceptor to comply. {code}
> This issue can be easily reproduced by adding the following properties to a 
> Spring Boot application:
> {code:java}
> camel:
>   opentelemetry:
>     enabled: true
>     trace-processors: true {code}
> Additionally, I have created a reproducer 
> [here|https://github.com/RuslanHryn/camel-opentelemetry]
>  



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

Reply via email to