Share this page

# LrKafkaConsumer.assign

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

`public static void assign(Collection<TopicPartition> partitions)`

## Arguments

Name | Description
--- | ---
partitions | Collection of partitions to be assigned to the consumer

## Return values

This function does not return any values.

## General information

This function manually assigns a list of partitions to the consumer.

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: