openzipkin-contrib/brave-kafka-interceptor

Kafka connector not sending tracing info to zipkin

hemanthjavadevops opened this issue · 1 comments

Hi Guys,

I am using the brave-kafka-interceptor.jar in standalone JDBC sink connector (using postgres DB) and was trying to send the trace information to ZIPKIN.
I updated my connect-avro-standalone.properties with below additional properties as suggested:
consumer.interceptor.classes=brave.kafka.interceptor.TracingConsumerInterceptor
zipkin.local.service.name=jdbc-sink-connect
zipkin.sender.type=HTTP
zipkin.http.endpoint=<>

once i start my Kafka connector and produce data to the topic, as per the connector console logs, i was able to see traceId getting successfully injected, however the Zipkin calls are not happening.

Note: The connector as such is working fine and the data published to the kafka topic is being successfully written to Postgres DB.

Can you please help me analyse the issue. Attaching the connect-avro-standalone.properties and sink-quickstart-postgresql.properties files for reference.

Thanks,
Hemanth

connect-avro-standalone.txt
sink-quickstart-postgresql.txt

Hi Team,

I have figured out the issue. I have to name all the zipkin fields with consumer. prefix in connect-avro-standalone.properties file like :

consumer.zipkin.local.service.name=jdbc-sink-connect
consumer.zipkin.sender.type=HTTP
consumer.zipkin.http.endpoint=<>

Now i am able to publish the results to Zipkin successfully. Hence marking the issue as closed.