Skip to content

Commit

Permalink
Version 3.4
Browse files Browse the repository at this point in the history
  • Loading branch information
Amerousful committed Aug 2, 2024
1 parent 3e0cbde commit fc79add
Show file tree
Hide file tree
Showing 5 changed files with 7 additions and 5 deletions.
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ Add to your `pom.xml`
<dependency>
<groupId>io.github.amerousful</groupId>
<artifactId>gatling-kafka</artifactId>
<version>3.3</version>
<version>3.4</version>
</dependency>
```

Expand All @@ -20,7 +20,7 @@ Add to your `pom.xml`
Add to your `build.sbt`

```scala
libraryDependencies += "io.github.amerousful" % "gatling-kafka" % "3.3"
libraryDependencies += "io.github.amerousful" % "gatling-kafka" % "3.4"
```

Import:
Expand Down
2 changes: 1 addition & 1 deletion build.sbt
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
name := "gatling-kafka"

version := "3.3"
version := "3.4"

scalaVersion := "2.13.12"

Expand Down
4 changes: 4 additions & 0 deletions changelog.txt
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
Changelog 3.4 (02-08-2024)
----------------------------
* Fix. Remove `seekToEnd` after rebalancing

Changelog 3.3 (01-08-2024)
----------------------------
* Add the ability to override the `auto.offset.reset` and `enable.auto.commit` values in the TrackerPoll
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,6 @@ import io.gatling.core.util.NameGen
import io.github.amerousful.kafka.action.KafkaLogging
import io.github.amerousful.kafka.protocol.KafkaMatcher
import io.github.amerousful.kafka.request.KafkaAttributes
import org.apache.kafka.clients.producer.ProducerRecord
import org.apache.kafka.common.serialization.StringDeserializer

import java.util.concurrent.{ConcurrentHashMap, CountDownLatch}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,6 @@ case class WaitRebalancing(consumerName: String, callback: () => Unit) extends P

override def onAssign(assignedTps: Set[TopicPartition], consumer: RestrictedConsumer): Unit = {
logger.debug(s"Partitions [${assignedTps.mkString(", ")}] have been assigned for consumer [$consumerName]")
consumer.seekToEnd(assignedTps.asJava)
callback()
}

Expand Down

0 comments on commit fc79add

Please sign in to comment.