-
Notifications
You must be signed in to change notification settings - Fork 329
Sending traces with Kafka doesn't seem to work #146
Comments
Sorry you are having trouble. I usually use the brave-webmvc-example to
test this. Note that the docker compose files have an advertized ip which
is what you use from your apps. Please hop on gitter openzipkin/zipkin if
you need more pointers
|
Not sure how |
Hi, elya. Thanks for the reply back.
When I test the docker image, I use the brave example, but change from the
default http transport to kafka. I didn't mention that earlier.
The reason I asked was that usually there's something awry with
instrumentation. Knowing how it was tested helps identify how to better
help you. My guess is that you'll want to use the topic "zipkin" not
"zipkin_kafka"
There are some subtlies in zipkin-ruby that seem slightly amiss.. If you
can help correct these, it would be appreciated:
* DEFAULT_KAFKA_TOPIC should be "zipkin" not "zipkin_kafka" as everything
else in zipkin land defaults to "zipkin" and also the suffix _kafka is
redundant.
* It is more efficient to send a list of spans per message
<https://github.com/openzipkin/zipkin/tree/master/zipkin-collector/kafka#encoding-spans-into-kafka-messages>
vs one span per message. This can either be tbinary thrift encoded or json
list encoded.
Currently, we don't have a ruby example, which I'd love to have a remedy
for, if you could help make a version of what others look like. This is how
we usually troubleshoot things, and a great way to have others be able to
help easier. For example, if I created a repo like the others for rack or
whatever you think is better, and you populated it with working code..
well, it would be easier for me or someone else to help next time.
https://github.com/openzipkin?utf8=%E2%9C%93&q=example&type=&language=
I appreciate this is asking a lot, but zipkin is volunteer driven. If you
don't have time no big deal, just mentioning in case you can help us.
|
The issue was with |
I tried both
docker-compose-kafka.yml
anddocker-compose-kafka10.yml
but nothing.in the logs I see errors like:
The text was updated successfully, but these errors were encountered: