LrKafkaProducer.partitionsFor

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

public static List<PartitionInfo> partitionsFor(String topic)

Arguments

NameDescription
topicName of the topic to request partition info for.

Return Values

Returns the partition metadata for a specific topic.

General information

This function retrieves the partition metadata for a topic.

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