Share this page

# LrKafkaProducer.beginTransaction

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

`public static void beginTransaction() throws ProducerFencedException`

## Arguments

This function has no arguments.

## Return Values

This function does not return any values.

## General information

This function must be called at the start of each new transaction.

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

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