From 2a0a86164e1b3475477bc975604b689e7f45cbb0 Mon Sep 17 00:00:00 2001
From: buildmaster spring-cloud-starter-stream-kafka for Kafka). This will
automatically turn your app into a producer of messages with payload
type Spans.
There is a special convenience annotation for setting up a message consumer
-for the Span data and pushing it into a Zipkin SpanStore. This application
@SpringBootApplication -@EnableZipkinStreamServer -public class Consumer { - public static void main(String[] args) { - SpringApplication.run(Consumer.class, args); - } -}
will listen for the Span data on whatever transport you provide via a
+for the Span data and pushing it into a Zipkin SpanStore. This application
Unresolved directive in spring-cloud-sleuth.adoc - include::../../../../spring-cloud-sleuth-zipkin-stream/src/test/java/org/springframework/cloud/sleuth/zipkin/stream/documentation/Consumer.java[tags=zipkin_consumer,indent=0]will listen for the Span data on whatever transport you provide via a
Spring Cloud Stream Binder (e.g. include
spring-cloud-starter-stream-rabbit for RabbitMQ, and similar
starters exist for Redis and Kafka). If you add the following UI dependency
<groupId>io.zipkin.java</groupId> diff --git a/2.0.x/single/spring-cloud-sleuth.html b/2.0.x/single/spring-cloud-sleuth.html index ae2296665..03d8a6c2b 100644 --- a/2.0.x/single/spring-cloud-sleuth.html +++ b/2.0.x/single/spring-cloud-sleuth.html @@ -575,13 +575,7 @@ adding a Channel Binder implementationspring-cloud-starter-stream-kafkafor Kafka). This will automatically turn your app into a producer of messages with payload typeSpans.There is a special convenience annotation for setting up a message consumer -for the Span data and pushing it into a Zipkin
SpanStore. This application@SpringBootApplication -@EnableZipkinStreamServer -public class Consumer { - public static void main(String[] args) { - SpringApplication.run(Consumer.class, args); - } -}will listen for the Span data on whatever transport you provide via a +for the Span data and pushing it into a Zipkin
SpanStore. This applicationUnresolved directive in spring-cloud-sleuth.adoc - include::../../../../spring-cloud-sleuth-zipkin-stream/src/test/java/org/springframework/cloud/sleuth/zipkin/stream/documentation/Consumer.java[tags=zipkin_consumer,indent=0]will listen for the Span data on whatever transport you provide via a Spring Cloud Stream
Binder(e.g. includespring-cloud-starter-stream-rabbitfor RabbitMQ, and similar starters exist for Redis and Kafka). If you add the following UI dependency<groupId>io.zipkin.java</groupId> diff --git a/2.0.x/spring-cloud-sleuth.xml b/2.0.x/spring-cloud-sleuth.xml index f31619f8d..a42a1f12f 100644 --- a/2.0.x/spring-cloud-sleuth.xml +++ b/2.0.x/spring-cloud-sleuth.xml @@ -1313,13 +1313,7 @@ typeSpans .Zipkin Consumer There is a special convenience annotation for setting up a message consumer for the Span data and pushing it into a Zipkin -SpanStore . This application@SpringBootApplication -@EnableZipkinStreamServer -public class Consumer { - public static void main(String[] args) { - SpringApplication.run(Consumer.class, args); - } -} +Unresolved directive in spring-cloud-sleuth.adoc - include::../../../../spring-cloud-sleuth-zipkin-stream/src/test/java/org/springframework/cloud/sleuth/zipkin/stream/documentation/Consumer.java[tags=zipkin_consumer,indent=0] will listen for the Span data on whatever transport you provide via a Spring Cloud Stream Binder (e.g. includespring-cloud-starter-stream-rabbit for RabbitMQ, and similar