Share this page

# LrKafkaConsumer.reconfigureConsumer

Reconfigures the KafkaConsumer initialized for the Vuser.

`public static void reconfigureConsumer(Properties propsToModify)`

## Arguments

Name | Description
--- | ---
propsToModify | Properties object that contains only those key-value pairs that will be modified, and/or new key-value pairs to add. The other configurations remain the same.

## Return values

This function does not return any values.

## General information

This function reconfigures the consumer. It closes the existing consumer, modifies the previously defined consumer properties with the specified values, and initializes another consumer.

After this function is called, the consumer must be re-subscribed to topics.

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: