gatling-kafka-plugin icon indicating copy to clipboard operation
gatling-kafka-plugin copied to clipboard

Double nested Classes are not compatible with Java

Open mmartin-paxos opened this issue 2 years ago • 4 comments

With the current Implementation, the plugin is not compatible with Java even though Gatling provides multiple compatibilities with Scala/Java/Kotlin. Therefore to make it Java compatible it is needed to apply a minor refactor at KafkaRequestBuilderBase.scala to remove the double nested class definition for def replyTopic(outputTopic: Expression[String], headerIdentifier:Option[String] = None) and def requestTopic(rt: Expression[String]): RRInTopicStep = RRInTopicStep(rt)

I will propose a solution to this issue in a feature/branch

mmartin-paxos avatar Oct 13 '22 13:10 mmartin-paxos

we are planning to add java/kotlin compatibility in this quarter

jigarkhwar avatar Oct 13 '22 15:10 jigarkhwar

Good to know, we will be waiting for this feature. Thanks!

mmartin-paxos avatar Oct 14 '22 10:10 mmartin-paxos

We have added Java and Kotlin support in #125

3alster avatar Feb 06 '23 14:02 3alster

https://github.com/Tinkoff/gatling-kafka-plugin/releases/tag/v0.11.0

jigarkhwar avatar Feb 10 '23 08:02 jigarkhwar