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.