IConsumerMiddlewareContext.Worker property
Gets the current worker in the context. This property only returns values when inside a middleware with Worker lifetime; otherwise, it will return null.
public IWorker Worker \{ get; }
See Also
- interface IConsumerMiddlewareContext
- namespace KafkaFlow.Consumers