Load Testing AWS MSK with Apache JMeter : Kafka Producer setup and KPI's
Amazon Managed Streaming for Apache Kafka (MSK) is a fully managed service that makes it easy to build and run applications that use Apache Kafka for real-time data streaming. In this guide, we’ll walk through how to use Apache JMeter — an open-source load testing tool — to test AWS MSK Kafka setup. We’ll cover: Required plugins and JAR files Configuration settings for Kafka producer/consumer samplers A sample JMeter script (JMX) for sending and reading messages from MSK Authentication (SASL/SCRAM, IAM) needed Plugins and JAR files : kafka-clients-3.3.1 guava-31.1-jre lz4-java-1.8.0 snappy-java-1.1.8.4 zstd-jni-1.5.2–1 These jar files will be installed when you will install “DI KafkaMeter ” from plugin manager Press enter or click to view image in full size Configuration settings for Kafka producer config and samplers : Add the Kafka producer config from Add > Config Element > Kafka Producer ...