gatling-kafka
gatling-kafka copied to clipboard
Gatling 3.4 compatibility
Hello.
Not sure if this project is still maintain but if anyone needs it, here is a patch for Gatling 3.4.2 compatibility : support_for_gatling_3_4.patch.txt
I'd have created a PR but I'm not allowed to create a branch.
These modifications are NOT tested thoroughly, I've just made modification so that the project compile against Gatling 3.4.2 and tested that sending a message to a kafka queue is working (check the BaseSimulation example)
In case anyone needs the sources, I've forked this repository and push the modification to a branch named gatling-3.4 : https://github.com/arthur25000/gatling-kafka/tree/gatling-3.4
Hey Arthur, thx for this message and your work. Built the project you changed, however the jar does not get generated. any clues ?
Hi. What command did you run ?
You have to run "package" phase to build the jar, not just the compile phase : "sbt compile package"
Hey Arthur,
Thanks for the response, I finally got it running by using the exact version you suggested (3.4.2) of gatling. When the jar was not generated I had scala 2.13 installed. With scala 2.12 the jar was generated(with sbt assembly) and by using gatling 3.4.2 messages reached Kafka. Thank you very much Arthur! :) It's a shame you can't open a branch here on mnogu for this change..
Best regards 👍
It's a shame you can't open a branch here on mnogu for this change..
@arthur25000 you'll have to create a fork of this repo, make your change in a new branch in your fork, and then raise a PR back to this repository. This workflow is quite common in open source repos.