Skip to content

Commit ad79ccf

Browse files
kciesielskimanub
authored andcommitted
Switch to Kafka 0.10.1.0 (#40)
1 parent 138f55a commit ad79ccf

File tree

2 files changed

+10
-3
lines changed

2 files changed

+10
-3
lines changed

README.md

Lines changed: 9 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,14 @@
11
# scalatest-embedded-kafka
2-
A library that provides an in-memory Kafka broker to run your ScalaTest specs against. It uses Kafka 0.10.0.1 and ZooKeeper 3.4.9.
2+
A library that provides an in-memory Kafka broker to run your ScalaTest specs against. It uses Kafka 0.10.1.0 and ZooKeeper 3.4.9.
33

4-
The version supporting Kafka 0.8.x can be found [here](https://github.com/manub/scalatest-embedded-kafka/tree/kafka-0.8) - *this is no longer actively supported, although I'll be happy to accept PRs and produce releases.*
4+
The version supporting Kafka 0.8.x can be found [here](https://github.com/manub/scalatest-embedded-kafka/tree/kafka-0.8) - *this is no longer actively supported, although I'll be happy to accept PRs and produce releases.*
5+
6+
For Kafka 0.10.0.x support, override `org.apache.kafka % kafka` dependency with older version:
7+
8+
libraryDependencies += "org.apache.kafka" % "kafka" % "0.10.0.1" % test
9+
dependencyOverrides += "org.apache.kafka" % "kafka" % "0.10.0.1"
10+
11+
This override is required because Kafka Broker 0.10.1.0 doesn't support older clients.
512

613
Inspired by https://github.com/chbatey/kafka-unit
714

build.sbt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ import sbtrelease.Version
22

33
parallelExecution in ThisBuild := false
44

5-
val kafkaVersion = "0.10.0.1"
5+
val kafkaVersion = "0.10.1.0"
66

77
val slf4jLog4jOrg = "org.slf4j"
88
val slf4jLog4jArtifact = "slf4j-log4j12"

0 commit comments

Comments
 (0)