Radek Mensik created CAMEL-11553:
------------------------------------
Summary: Upgrade to Brave 4
Key: CAMEL-11553
URL: https://issues.apache.org/jira/browse/CAMEL-11553
Project: Camel
Issue Type: Task
Components: camel-zipkin
Affects Versions: 2.19.1
Reporter: Radek Mensik
Priority: Minor
It would be nice, to have up to date library not using deprecated code, because:
Brave v. 4 allows you to use brave.Tracing so one can easily register
https://github.com/openzipkin/brave/tree/master/context/slf4j which allows you
to have in each debug line info about spans:
{code:java}
2017-07-17 17:44:08.526 INFO [proxy,b805c5edbe362a7c,b805c5edbe362a7c,true]
{code}
Then it is easy to copy and use span id to zipkin UI in case of debugging. (btw
currently there is Long value of span instead of Hexadecimal printed).
There is possibility to overlap with version 3 and 4 ->
https://github.com/openzipkin/brave/tree/master/brave#upgrading-from-brave-3 so
this could be good start.
Also brave.sampler.Sampler should be used in stead of
com.github.kristofa.brave.Sampler
--
This message was sent by Atlassian JIRA
(v6.4.14#64029)