Share this page

# LrKafkaProducer.commitTransaction

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

`public static void commitTransaction() throws ProducerFencedException`

## Arguments

This function does not have any arguments.

## Return Values

This function does not return any values.

## General information

This function commits the ongoing transaction.

For more information about this function, see the Apache Kafka documentation.

Tips to improve your search results... VuGen Function Reference Version 26.1-26.3 Function Reference 26.1-26.3 All View Local Help Center View Online Help Center Version: