From 6e57e605c08afe3bb5e3cc3c01cfdcb8258eed70 Mon Sep 17 00:00:00 2001 From: Marcin Grzejszczak Date: Mon, 23 May 2016 10:54:12 +0200 Subject: [PATCH] Sync docs from master to gh-pages --- spring-cloud-sleuth.html | 39 ++++++++++++++++++++++++++++++++++++++- 1 file changed, 38 insertions(+), 1 deletion(-) 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