Class KafkaStreamsTracing.Builder

java.lang.Object
brave.kafka.streams.KafkaStreamsTracing.Builder
Enclosing class:
KafkaStreamsTracing

public static final class KafkaStreamsTracing.Builder
extends Object
  • Method Details

    • singleRootSpanOnReceiveBatch

      public KafkaStreamsTracing.Builder singleRootSpanOnReceiveBatch​(boolean singleRootSpanOnReceiveBatch)
      Controls the sharing of a poll span for incoming spans with no trace context.

      If true, all the spans received in a poll batch that do not have trace-context will be added to a single new poll root span. Otherwise, a poll span will be created for each such message.

      Since:
      5.10
    • build

      public KafkaStreamsTracing build()