Share this page

# LrKafkaConsumer.enforceRebalance

Calls the enforceRebalance method on the KafkaConsumer initialized for the Vuser.

`public static void enforceRebalance()`

## Arguments

This function does not have any arguments.

## Return values

This function does not return any values.

## General information

This function alerts the consumer to trigger a new rebalance by rejoining the group.

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: