consumer

package
v0.0.0-...-dc7611c Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Apr 6, 2024 License: MIT Imports: 13 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func FinishConsumerSpan

func FinishConsumerSpan(span trace.Span, err error) error

func StartConsumerSpan

func StartConsumerSpan(
	ctx context.Context,
	meta *metadata.Metadata,
	payload string,
	consumerTracingOptions *ConsumerTracingOptions,
) (context.Context, trace.Span)

Types

type ConsumerTracingOptions

type ConsumerTracingOptions struct {
	MessagingSystem string
	DestinationKind string
	Destination     string
	OtherAttributes []attribute.KeyValue
}

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL