[
https://issues.apache.org/jira/browse/CAMEL-10920?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15925949#comment-15925949
]
Nicola Ferraro commented on CAMEL-10920:
----------------------------------------
Looks like the new opentracing module is using a "GlobalTracer" object
(https://github.com/opentracing-contrib/java-globaltracer). So users can
configure the (singleton) tracer by executing "GlobalTracer.register(tracer)"
to replace it with another one.
We can try to lookup the tracer from the registry and fallback to the global
tracer if no tracers are found, so we can add specific (spring-boot)
configuration in the future.
> camel-zipkin - Lookup SpanCollector from registry and support Zipkin Reporter
> -----------------------------------------------------------------------------
>
> Key: CAMEL-10920
> URL: https://issues.apache.org/jira/browse/CAMEL-10920
> Project: Camel
> Issue Type: New Feature
> Components: camel-zipkin
> Reporter: Nicola Ferraro
> Assignee: Nicola Ferraro
> Priority: Minor
> Fix For: 2.19.0
>
>
> The SpanCollector should be looked up from the registry when one is not
> configured in the tracer. This allows to easily switch from Thrift mode to
> Rest mode when communicating with the Zipkin server.
> The SpanCollector interface is now deprecated, so we should also support the
> Reporter interface with the same lookup mechanism.
--
This message was sent by Atlassian JIRA
(v6.3.15#6346)