Package zipkin2

Class SpanBytesDecoderDetector

java.lang.Object
zipkin2.SpanBytesDecoderDetector

public final class SpanBytesDecoderDetector
extends Object
Detecting decoder used in transports which don't include means to identify the type of the data.

For example, we can identify the encoding and also the format in http via the request path and content-type. However, in Kafka it could be that folks send mixed Zipkin data without identifying its format. For example, Kafka historically has no content-type and users don't always segregate different queues by instrumentation format.