Firstly, we are trying to send the Kafka messages using this JMeter for sasl_ssl enabled Kafka. So, For that purpose we have created a thread group(https://i.stack.imgur.com/N9wzj.png) in that we have added pepper-box plain-text config(https://i.stack.imgur.com/RhtTu.png), Pepper-box serialized config(https://i.stack.imgur.com/lnKkI.png) and java request(https://i.stack.imgur.com/xyEN4.png)(https://i.stack.imgur.com/TDR7B.png)(https://i.stack.imgur.com/Cn8X3.png).
- Now, we have added the message that we want to send to the consumer in plain-text config.
- I have loaded the class in serialized config
- Java request I have added the necessary parameters like bootstrap servers, Kafka topic name, Jaas config and all 4.Now when we are running the JMeter we are getting the issue like could not find a 'Kafka Client' entry in JAAS Configuration
We were trying to send the Kafka message using JMeter for sasl_ssl enabled Kafka, but it was giving an error called Could not find a 'Kafka Client' entry in the JAAS configuration. We were expecting to get the message in consumer part. (https://i.stack.imgur.com/Gchrr.png)
Although we have a Kafka client entry in jaas.config we got the same error for your reference I have attached file as shown in below image (https://i.stack.imgur.com/4FjBY.png).
You need to have a
Kafka Client
entry in yourjaas.conf
file, it should look like:or ask your application/network developers/administrators for the proper entry.
More information: