Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Factor out Kafka span collector and high-level API over Brave. #2

Open
aShevc opened this issue Nov 11, 2015 · 3 comments
Open

Factor out Kafka span collector and high-level API over Brave. #2

aShevc opened this issue Nov 11, 2015 · 3 comments

Comments

@aShevc
Copy link
Contributor

aShevc commented Nov 11, 2015

We may want to consider publishing Brave-related tools (https://github.com/elodina/zipkin-mesos-framework/tree/master/src/main/scala/com/github/kristofa/brave) as a separate artifact that will be re-used by other JVM-based services. Other thing to consider is also moving this to a separate repo.

@codefromthecrypt
Copy link

@aShevc
Copy link
Contributor Author

aShevc commented Feb 24, 2016

Well, KafkaZipkinTracing we have there is more like a high-level interface for Brave. Basically it served two purposes: one is to provide Kafka is a transport. This is the part we can get rid of now when there's a KafkaSpanCollector in Brave. So this is cool. We don't need to merge something into existing collector, we'll use the default one.
But the other purpose is more of an addition to current functionalities of Brave's ClientTracer and ServerTracer. At the moment they basically only collect spans when one sets "client sent" or "server received" annotations for the corresponding Tracer. So the thing is, it is currently impossible to send spans which, for example would have only "server sent" annotations on the server side. And this may be useful if one wants to trace kind of "fire and forget" events. And this is something we need often in our applications, because we often want to trace Kafka messages being sent/received. Anyway, I think these may be someday introduced to the core of Brave library, but requires discussion, so when we have some plans to merge this into Brave, we'll start from where/whether Brave library needs this at all, as our purposes may be too specific.

@codefromthecrypt
Copy link

codefromthecrypt commented Feb 24, 2016 via email

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants