Kafka Producer Functions

Producers are client applications that publish events to Kafka. Kafka protocol includes the following producer functions:

LrKafkaProducer.beginTransactionCalls the beginTransaction method on the KafkaProducer initialized for the Vuser.
LrKafkaProducer.closeProducerCalls the close method on KafkaProducer initialized for the Vuser and uninitializes it.

LrKafkaProducer.<K, V>initProducer

Initializes a KafkaProducer instance for the current Vuser.
LrKafkaProducer.initTransactionsCalls the initTransactions method on the KafkaProducer initialized for the Vuser.

LrKafkaProducer.send

Calls the send method on the KafkaProducer initialized for the Vuser.