-
Notifications
You must be signed in to change notification settings - Fork 109
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
Flow to Kafka #67
Comments
@elodina are you interested enough to help with this? |
+1 on both On Mon, May 2, 2016 at 7:48 PM Adrian Cole [email protected] wrote:
|
I looked at go-zipkin before and it makes too many assumptions about running on real systems I think. All we need is the basic interface wrappers for Kafka, as I already make the zipkin objects. |
zipkin's kafka support accepts the same json as POST, so yeah this should be doable |
@basvanbeek does this look like something you might be able to help with (plumb in the ability to write directly to kafka (or http) in addition to writing to a file?) |
I might be. Not sure yet when I have time for this though. |
How hard is it to get Kafka itself in place to test against? On Wednesday, May 25, 2016, Bas van Beek [email protected] wrote:
|
Here's a paste of notes from here: $ export KAFKA_ZOOKEEPER=$(docker-machine ip On Wed, May 25, 2016 at 10:47 PM, Adrian Cockcroft <[email protected]
|
I created a docker-compose file with Zipkin + Zookeeper + Kafka + Cassandra which can be found here: https://github.com/go-kit/kit/blob/master/tracing/zipkin/_docker/docker-compose-zipkin.yml you can start it like this:
|
Getting Kafka in place is not the hard part though.. On Wed, May 25, 2016 at 9:47 PM Adrian Cockcroft [email protected]
|
hard or not.. here's a kafka file that seems to work well enough openzipkin-attic/docker-zipkin#105 |
👍🏽
|
Recent versions of zipkin accept json encoding in kafka messages. I wonder if we can add a feature to write directly to kafka while flow'ing.
https://github.com/adrianco/spigo/blob/master/tooling/flow/flow.go
One option could be to use go-zipkin as opposed to, or as an alternative to writing json. It would be neat as it could make this a tracing load generator!
https://github.com/elodina/go-zipkin/blob/master/kafka.go
The text was updated successfully, but these errors were encountered: