From 2a0a86164e1b3475477bc975604b689e7f45cbb0 Mon Sep 17 00:00:00 2001 From: buildmaster Date: Sun, 22 Oct 2017 20:01:55 +0000 Subject: [PATCH] Sync docs from 2.0.x to gh-pages --- 2.0.x/multi/multi__span_data_as_messages.html | 8 +------- 2.0.x/single/spring-cloud-sleuth.html | 8 +------- 2.0.x/spring-cloud-sleuth.xml | 8 +------- 3 files changed, 3 insertions(+), 21 deletions(-) diff --git a/2.0.x/multi/multi__span_data_as_messages.html b/2.0.x/multi/multi__span_data_as_messages.html index fb71c68c4..a73ab0956 100644 --- a/2.0.x/multi/multi__span_data_as_messages.html +++ b/2.0.x/multi/multi__span_data_as_messages.html @@ -8,13 +8,7 @@ adding a Channel Binder implementation spring-cloud-starter-stream-kafka for Kafka). This will automatically turn your app into a producer of messages with payload type Spans.

11.1 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);
-	}
-}

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 implementation
 spring-cloud-starter-stream-kafka for Kafka). This will
 automatically turn your app into a producer of messages with payload
 type Spans.

11.1 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);
-	}
-}

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/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 @@ type Spans.
 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. include
 spring-cloud-starter-stream-rabbit for RabbitMQ, and similar