diff --git a/multi/multi__sending_spans_to_zipkin.html b/multi/multi__sending_spans_to_zipkin.html index d302fee54..7a499485f 100644 --- a/multi/multi__sending_spans_to_zipkin.html +++ b/multi/multi__sending_spans_to_zipkin.html @@ -8,7 +8,8 @@ that you can set up the load balancing configuration e.g. via Ribbon.

  ribbon:
     ListOfServers: host1,host2

If you have web, rabbit, or kafka together on the classpath, you might need to pick the means by which you would like to send spans to zipkin. To do so, set web, rabbit, or kafka to the spring.zipkin.sender.type property. -The following example shows setting the sender type for web:

spring.zipkin.sender.type: web

To customize the RestTemplate that sends spans to Zipkin via HTTP, you can register +The following example shows setting the sender type for web:

spring.zipkin.sender.type: web
[Important]Important

If you have Kafka on the classpath, you need to set +spring.zipkin.kafka.enabled to true apart from setting the sender type.

To customize the RestTemplate that sends spans to Zipkin via HTTP, you can register the ZipkinRestTemplateCustomizer bean.

@Configuration
 class MyConfig {
 	@Bean ZipkinRestTemplateCustomizer myCustomizer() {
diff --git a/single/spring-cloud-sleuth.html b/single/spring-cloud-sleuth.html
index 50ea53105..05489272c 100644
--- a/single/spring-cloud-sleuth.html
+++ b/single/spring-cloud-sleuth.html
@@ -671,7 +671,8 @@ that you can set up the load balancing configuration e.g. via Ribbon.

  ribbon:
     ListOfServers: host1,host2

If you have web, rabbit, or kafka together on the classpath, you might need to pick the means by which you would like to send spans to zipkin. To do so, set web, rabbit, or kafka to the spring.zipkin.sender.type property. -The following example shows setting the sender type for web:

spring.zipkin.sender.type: web

To customize the RestTemplate that sends spans to Zipkin via HTTP, you can register +The following example shows setting the sender type for web:

spring.zipkin.sender.type: web
[Important]Important

If you have Kafka on the classpath, you need to set +spring.zipkin.kafka.enabled to true apart from setting the sender type.

To customize the RestTemplate that sends spans to Zipkin via HTTP, you can register the ZipkinRestTemplateCustomizer bean.

@Configuration
 class MyConfig {
 	@Bean ZipkinRestTemplateCustomizer myCustomizer() {
diff --git a/spring-cloud-sleuth.xml b/spring-cloud-sleuth.xml
index 5b3710493..9da1db9e2 100644
--- a/spring-cloud-sleuth.xml
+++ b/spring-cloud-sleuth.xml
@@ -1503,6 +1503,10 @@ that you can set up the load balancing configuration e.g. via Ribbon.
 To do so, set web, rabbit, or kafka to the spring.zipkin.sender.type property.
 The following example shows setting the sender type for web:
 spring.zipkin.sender.type: web
+
+If you have Kafka on the classpath, you need to set
+spring.zipkin.kafka.enabled to true apart from setting the sender type.
+
 To customize the RestTemplate that sends spans to Zipkin via HTTP, you can register
 the ZipkinRestTemplateCustomizer bean.
 @Configuration