Open elyara opened 7 years ago
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 brave-webmvc-example
helps me to test Kafka transport. Unless I missed something it uses HTTP: https://github.com/openzipkin/brave-webmvc-example/blob/master/servlet3/src/main/java/brave/webmvc/TracingConfiguration.java#L36
Anyway I'll elaborate on the issue:
I use zipkin-ruby
and the deafult HTTP tracing works flawlessly. However with our scale I need to use Kafka instead.
Now putting aside the fact that currently the zipkin-ruby
needs a fix when setting it up with non hermann
kafka (I'll open a PR with the fix later), the whole docker setup with Kafka fails. With the proper fixes I know that my app sends and kafka-zookeeper
receives the messages, but then it throws the errors I pasted above.
for Kafka client I use https://github.com/zendesk/ruby-kafka. to properly use it I set an alias (:push, :deliver_message
)
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:
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 zipkin-ruby
after all
@adriancole you are welcome to take a look https://github.com/openzipkin/zipkin-ruby/pull/107
I tried both
docker-compose-kafka.yml
anddocker-compose-kafka10.yml
but nothing. in the logs I see errors like: