Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func KafkaDeadlineMiddleware ¶
func KafkaDeadlineMiddleware(fromPublish time.Duration) func(message.HandlerFunc) message.HandlerFunc
KafkaDeadlineMiddleware short-circuits message processing without an error, if message was in kafka for longer, then duration provided
func OpenTelemetryMiddleware ¶
func OpenTelemetryMiddleware(h message.HandlerFunc) message.HandlerFunc
OpenTelemetryMiddleware collects metrics and injects tracing data into context If trace propagation is configured will extract or inject tracing data into metadata for watermill to pass it on the wire, If metrics are enabled collects them
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.