Automatic trace propagation for Kafka Messages issue

31 views
Skip to first unread message

A Gol

unread,
Jun 7, 2022, 11:00:54 AM6/7/22
to vert.x
Hello,
It is expected that Kafka shared producers add span to traces when a message is being written. It works, but peer.address, peer.hostname and peer.port are always empty.
Producer is created over KafkaProducer.create(vertx, producerConfig) where producerConfig is KafkaClientOptions with configured tracePeerAddress property.
I assume that it happens because new empty instance of KafkaClientOptions is passed in the line https://github.com/vert-x3/vertx-kafka-client/blob/c5f401087d24458b372d871200072a855bdc02b0/src/main/java/io/vertx/kafka/client/producer/KafkaWriteStream.java#L197
Is this vertx kafka client misuse or library issue?

Thank you, 
Anton

Thomas SEGISMONT

unread,
Jun 8, 2022, 4:51:43 AM6/8/22
to ve...@googlegroups.com
Hi,
Thanks for reporting this here. Sounds like a bug, would you mind filing an issue to https://github.com/vert-x3/vertx-kafka-client ?
Regards

--
You received this message because you are subscribed to the Google Groups "vert.x" group.
To unsubscribe from this group and stop receiving emails from it, send an email to vertx+un...@googlegroups.com.
To view this discussion on the web, visit https://groups.google.com/d/msgid/vertx/cf5be2ef-313c-4bab-a806-f582b16344can%40googlegroups.com.

A Gol

unread,
Jun 8, 2022, 5:16:03 AM6/8/22
to ve...@googlegroups.com, tsegi...@gmail.com
Hello Tomas, 

Thanks for your reply. JFYI link to the bug report https://github.com/vert-x3/vertx-kafka-client/issues/222#issue-1264438743

You received this message because you are subscribed to a topic in the Google Groups "vert.x" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/vertx/wWbBpOMPmQk/unsubscribe.
To unsubscribe from this group and all its topics, send an email to vertx+un...@googlegroups.com.
To view this discussion on the web, visit https://groups.google.com/d/msgid/vertx/CACiEr_SpkoQgiSprPXOEG26VVwZWCOYQfngFABjSE0NrUWh%3DiQ%40mail.gmail.com.
Reply all
Reply to author
Forward
0 new messages