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”)
setUp(scn.inject(constantUsersPerSec(1) during(5 seconds))).protocols(kafkaConf)
this json is feed from twitter.
Anyhelp or suggestions is appreciated.