Skip to content

Commit 9f1891f

Browse files
committed
Updated README and increased memory for Travis builds.
1 parent 993926f commit 9f1891f

File tree

2 files changed

+4
-3
lines changed

2 files changed

+4
-3
lines changed

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ Inspired by https://github.com/chbatey/kafka-unit
1717

1818
scalatest-embedded-kafka is available on Bintray and Maven Central, compiled for both Scala 2.10 and 2.11
1919

20-
* In your `build.sbt` file add the following dependency: `"net.manub" %% "scalatest-embedded-kafka" % "0.8.1" % "test"`
20+
* In your `build.sbt` file add the following dependency: `"net.manub" %% "scalatest-embedded-kafka" % "0.9.0" % "test"`
2121
* Have your `Spec` extend the `EmbeddedKafka` trait.
2222
* Enclose the code that needs a running instance of Kafka within the `withRunningKafka` closure.
2323

@@ -126,7 +126,7 @@ It takes care of instantiating and starting your streams as well as closing them
126126

127127
## How to use
128128

129-
* In your `build.sbt` file add the following dependency: `"net.manub" %% "scalatest-embedded-kafka-streams" % "0.8.1" % "test"`
129+
* In your `build.sbt` file add the following dependency: `"net.manub" %% "scalatest-embedded-kafka-streams" % "0.9.0" % "test"`
130130
* Have a look at the [example test](kafka-streams/src/test/scala/net/manub/embeddedkafka/streams/ExampleKafkaStreamsSpec.scala)
131131
* 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.
132132
* If you only want to use the streams management without the test consumers just have the `Spec` extend the `EmbeddedKafkaStreams` trait.

build.sbt

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,8 @@ lazy val commonSettings = Seq(
1414
homepage := Some(url("https://github.com/manub/scalatest-embedded-kafka")),
1515
parallelExecution in Test := false,
1616
logBuffered in Test := false,
17-
fork in Test := true
17+
fork in Test := true,
18+
javaOptions += "-Xmx1G"
1819
)
1920

2021

0 commit comments

Comments
 (0)