Updated messaging code

This commit is contained in:
Marcin Grzejszczak
2018-03-12 15:47:08 +01:00
parent 171daaf280
commit bf6546c2ab
5 changed files with 104 additions and 6 deletions

View File

@@ -1125,6 +1125,8 @@ include::../../../../spring-cloud-sleuth-core/src/test/java/org/springframework/
=== Messaging
Features from this section can be disabled by setting the `spring.sleuth.messaging.enabled` property with value equal to `false`.
==== Spring Integration and Spring Cloud Stream
Spring Cloud Sleuth integrates with http://projects.spring.io/spring-integration/[Spring Integration].
@@ -1142,7 +1144,7 @@ Decorating the Spring Integration Executor Channel with `TraceableExecutorServic
We instrument the `RabbitTemplate` so that tracing headers get injected
into the message.
To block this feature, set `spring.sleuth.messaging.enabled` to `false`.
To block this feature, set `spring.sleuth.messaging.rabbit.enabled` to `false`.
==== Spring Kafka
@@ -1150,7 +1152,7 @@ We instrument the Spring Kafka's `ProducerFactory` and `ConsumerFactory`
so that tracing headers get injected into the created Spring Kafka's
`Producer` and `Consumer`.
To block this feature, set `spring.sleuth.messaging.enabled` to `false`.
To block this feature, set `spring.sleuth.messaging.kafka.enabled` to `false`.
=== Zuul