Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewKafkaReceiver ¶
Types ¶
type OTelInterceptor ¶ added in v0.0.2
type OTelInterceptor struct {
// contains filtered or unexported fields
}
func NewOTelInterceptor ¶ added in v0.0.2
func NewOTelInterceptor(kind SpanKind, brokers []string) *OTelInterceptor
NewOTelInterceptor processes span for intercepted messages and add some headers with the span data.
func (*OTelInterceptor) EndConsumerSpan ¶ added in v0.0.2
func (*OTelInterceptor) OnSend ¶ added in v0.0.2
func (oi *OTelInterceptor) OnSend(msg *sarama.ProducerMessage)
func (*OTelInterceptor) StartConsumerSpan ¶ added in v0.0.2
func (oi *OTelInterceptor) StartConsumerSpan(ctx context.Context, group string, msg *sarama.ConsumerMessage) (context.Context, trace.Span)
Click to show internal directories.
Click to hide internal directories.