Skip to content

Commit aebc8e2

Browse files
authored
Update README.md
1 parent 863f54e commit aebc8e2

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

README.md

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -21,10 +21,12 @@ scalatest-embedded-kafka is available on Bintray and Maven Central, compiled for
2121
* Scala 2.12 is supported from `0.11.0`.
2222

2323
Versions match the version of Kafka they're built against.
24+
25+
*If you're using Kafka 1.1.0, please use version `1.1.0-kafka-1.1`*
2426

2527
### How to use
2628

27-
* In your `build.sbt` file add the following dependency: `"net.manub" %% "scalatest-embedded-kafka" % "1.1.0" % "test"`
29+
* In your `build.sbt` file add the following dependency: `"net.manub" %% "scalatest-embedded-kafka" % "1.1.0-kafka1.1" % "test"`
2830
* Have your `Spec` extend the `EmbeddedKafka` trait.
2931
* Enclose the code that needs a running instance of Kafka within the `withRunningKafka` closure.
3032

@@ -229,7 +231,7 @@ It takes care of instantiating and starting your streams as well as closing them
229231

230232
### How to use
231233

232-
* In your `build.sbt` file add the following dependency: `"net.manub" %% "scalatest-embedded-kafka-streams" % "1.1.0" % "test"`
234+
* In your `build.sbt` file add the following dependency: `"net.manub" %% "scalatest-embedded-kafka-streams" % "1.1.0-kafka1.1" % "test"`
233235
* Have a look at the [example test](kafka-streams/src/test/scala/net/manub/embeddedkafka/streams/ExampleKafkaStreamsSpec.scala)
234236
* For most of the cases have your `Spec` extend the `EmbeddedKafkaStreamsAllInOne` trait. This offers both streams management and easy creation of consumers for asserting resulting messages in output/sink topics.
235237
* If you only want to use the streams management without the test consumers just have the `Spec` extend the `EmbeddedKafkaStreams` trait.

0 commit comments

Comments
 (0)