Skip to main content
Version: 3.x

BatchProduceItem constructor

Initializes a new instance of the BatchProduceItem class.

public BatchProduceItem(string topic, object messageKey, object messageValue, 
IMessageHeaders headers)
parameterdescription
topicThe destination topic
messageKeyThe message partition key
messageValueThe message content
headersThe message headers

See Also