Kafka sender needs to be explicitly set

default sender is Kafka when it is detected on the classpath, with this change it will be Web. You have to set `spring.zipkin.kafka.enabled` to `true` to use Kafka

fixes gh-985
This commit is contained in:
Marcin Grzejszczak
2018-05-22 19:22:35 +02:00
parent 2190cccb8c
commit 70759b5ddd
4 changed files with 15 additions and 1 deletions

View File

@@ -887,6 +887,9 @@ The following example shows setting the sender type for `web`:
spring.zipkin.sender.type: web
----
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.