Skip to content

Commit

Permalink
Update integrations.adoc regarding Supplier integration
Browse files Browse the repository at this point in the history
  • Loading branch information
olegz authored Oct 9, 2023
1 parent 4446b76 commit 5ddaf98
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion docs/src/main/asciidoc/integrations.adoc
Original file line number Diff line number Diff line change
Expand Up @@ -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`.

Expand Down

0 comments on commit 5ddaf98

Please sign in to comment.