Update integrations.adoc regarding Supplier integration

This commit is contained in:
Oleg Zhurakousky
2023-10-09 13:12:33 +02:00
committed by GitHub
parent 4446b76e41
commit 5ddaf983cd

View File

@@ -459,7 +459,8 @@ For a reactive `Consumer<Flux<Message<?>>>` remember to manually close the span
}
----
For Sleuth to work with a reactive `Supplier` (e.g. `Supplier<Flux<Message<String>>>`) you must fall back to Spring Integration based instrumentation by setting `spring.sleuth.integration.enabled` to `true`.
NOTE:
For Sleuth to work with any `Supplier` (e.g. `Supplier<Flux<Message<String>>>`) you must fall back to Spring Integration based instrumentation by setting `spring.sleuth.integration.enabled` to `true`.
You can disable Spring Cloud Stream integration by setting the value of `spring.sleuth.function.enabled` to `false`.