Share this page

# Kafka protocol

VuGen's Kafka protocol enables you to create a Vuser script to monitor the health of your Kafka deployment. You can run Kafka scripts in OpenText Professional Performance Engineering to collect Kafka-specific metrics, including producer and consumer metrics.

VuGen's Kafka protocol supports scripting in Java, using standard Java conventions.

All standard Java methods are supported in Kafka scripts. In addition, VuGen provides Kafka-specific functions for Kafka scripts. These functions are all static methods of the LrKafkaProducer and LrKafkaConsumer classes, which must be initialized for each Vuser. For details, see Kafka Functions in the Function Reference.

When you create a new Kafka script, the import lrapi.lr class is already inserted into the script template.

## See also

- Record a Kafka script
- Manually create and edit a Kafka script
- Kafka consumer and producer properties
- Kafka monitoring

https://admhelp.microfocus.com VuGen,Professional Performance Engineering,Performance Engineering for Developers 8942
Tips to improve your search results... OpenText™ Virtual User Generator Help Center OpenText™ VuGen Help 26.1-26.3 All View Local Help Center View Online Help Center Version: