diff --git a/spring-cloud-sleuth.html b/spring-cloud-sleuth.html index 4e1ad7ab8..3cbe7b686 100644 --- a/spring-cloud-sleuth.html +++ b/spring-cloud-sleuth.html @@ -457,6 +457,7 @@ body.book #toc,body.book #preamble,body.book h1.sect0,body.book .sect1>h2{page-b
  • Metrics
  • @@ -1790,6 +1791,42 @@ the consumer app). +
    +

    Spring Cloud Stream Kafka binder confiuration

    +
    +

    In order to integrate header propagation with Spring Cloud Stream Kafka as a binder you have to provide in your +configuration file the following headers:

    +
    +
    +
    +
    spring:
    +  cloud:
    +    stream:
    +      kafka:
    +        binder:
    +           headers:
    +             - X-B3-TraceId
    +             - X-B3-SpanId
    +             - X-B3-Sampled
    +             - X-B3-ParentSpanId
    +             - X-Span-Name
    +             - X-Process-Id
    +
    +
    +
    + + + + + +
    +
    Tip
    +
    +If you have a custom SpanExtractor<Message<?> where you pass custom headers you need to provide those too in the +configuration file. +
    +
    +
    @@ -2075,7 +2112,7 @@ To disable Zuul support set the spring.sleuth.zuul.enabled property