IProducerAccessor.GetProducer method (1 of 2)
Gets a producer by its name
public IMessageProducer GetProducer(string name)
parameter | description |
---|---|
name | The name defined in the producer configuration |
See Also
- interface IMessageProducer
- interface IProducerAccessor
- namespace KafkaFlow.Producers
IProducerAccessor.GetProducer<TProducer> method (2 of 2)
Gets a producer by its type
public IMessageProducer GetProducer<TProducer>()
parameter | description |
---|---|
TProducer | The type defined in the configuration |
See Also
- interface IMessageProducer
- interface IProducerAccessor
- namespace KafkaFlow.Producers