public static SpanContext extractSpanContext ( Headers headers , Tracer tracer ) { return tracer . extract ( Format . Builtin . TEXT_MAP , new HeadersMapExtractAdapter ( headers , true ) ) ; }
Extract Span Context from Consumer record headers