I would like to produce messages to kafka using jmeter. I did find below recommendation to integrate with jmeter: Develop Apache Kafka producer and load testing using JMeter
I also found https://github.com/corunet/kloadgen which integrates with confluent schema and let you write avro messages to kafka topic.
I am trying to write below schema message to kafka using jmeter:
{"type":"record","name":"TestAvro","namespace":"com.test.abcd","fields":[{"name":"name","type":{"type":"string","avro.java.string":"String"}},{"name":"value","type":{"type":"array","items":{"type":"map","values":{"type":"string","avro.java.string":"String"},"avro.java.string":"String"}}}]}
Its an array of map. I have not found libraries that can write this to kafka in jmeter.
Is there any other way to write above message out to kafka topic?