BatchProduceItem constructor
Initializes a new instance of the BatchProduceItem
class.
public BatchProduceItem(string topic, object messageKey, object messageValue,
IMessageHeaders headers)
parameter | description |
---|---|
topic | The destination topic |
messageKey | The message partition key |
messageValue | The message content |
headers | The message headers |
See Also
- class BatchProduceItem
- namespace KafkaFlow.Producers