Send json to kafka topic

Hi,

I am newbie to Gatling and recently started looking through the tutorials and trying to use Gatling with kafka based on the github example. I was able to successfully post a message to kafka topic but not a json directly to kafka topic. This is the piece where am i stuck while i want to send entire json.

val scn = scenario(“Kafka Test”)

.feed(jsonFileFeeder)
.exec(kafka(“request”).send("${value}"))

setUp(scn.inject(constantUsersPerSec(1) during(5 seconds))).protocols(kafkaConf)

this json is feed from twitter.
Anyhelp or suggestions is appreciated.

Thanks,mpha

This plugin is a third party: https://github.com/mnogu/gatling-kafka

If the author doesn’t answer here, you should try your luck directly in his bug tracker.

Cheers,