IConsumerMiddlewareContext interface
Provides access to the current consumer's middleware context.
public interface IConsumerMiddlewareContext
Members
name | description |
---|---|
Consumer { get; } | Gets the current consumer in the context. |
Worker { get; } | Gets the current worker in the context. This property only returns values when inside a middleware with Worker lifetime; otherwise, it will return null. |
See Also
- namespace KafkaFlow.Consumers