spring-cloud-dataflow icon indicating copy to clipboard operation
spring-cloud-dataflow copied to clipboard

Is there a way to not show broker and kafka nodes in zipkin?

Open yuhuyuyu opened this issue 2 years ago • 3 comments

I created spring cloud dataflow in kubernetes environment and created zipkin following Stream Distributed Tracing. When I looked at zipkin's dependencies, I got something like the following. But if I don't want the kafka and broker nodes in the picture, I just want the time-source, filter-processor and log-sink connected in a line. So can I achieve my purpose by setting related configuration items? image

ps. I checked the configurations of spring cloud sleuth. I thought the configuration below would do what I wanted. But from the results, it doesn't seem to be the case.

spring.sleuth.messaging.kafka.enabled

If anyone knows what I should do, please let me know, thank you very much.

yuhuyuyu avatar May 17 '22 14:05 yuhuyuyu

We will look into this, I have done this in the past and did not encounter this issue, perhaps it is a new feature in the UI.

markpollack avatar May 17 '22 15:05 markpollack

Hi @yuhuyuyu

Please try setting spring.sleuth.kafka.enabled=false in your apps properties.

onobc avatar May 18 '22 16:05 onobc

Hi @onobc Thanks for your response.I created the Stream as described below.

test=http --spring.sleuth.kafka.enabled=false | log --spring.sleuth.kafka.enabled=false

Then I saw the following image in zipkin. image

image So I'm wondering if the property above isn't working as intended.Please let me know if I have set it up in an incorrect way.

yuhuyuyu avatar May 19 '22 01:05 yuhuyuyu