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

public static void flush()


This function does not have any arguments.

Return Values

This function does not return any values.

General information

This function causes all buffered records to send immediately, and blocks until requests are completed.

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