Version 2.1.0 of Kafka for JUnit has been released. It increases all Kafka dependencies to 2.1.0 and fixes a couple of minor issues.

Thanks to all contributors: * Benjamin Buick

Changelog

See the changelog on GitHub.

Features

Bugfixes

Get it

You can obtain the binaries from Maven central or include the dependency using the following Maven coordinates in your build.

Bugfixes are also available for 1.0.x (as 1.0.1) as well as 2.0.x (as 2.0.1). Please use these bugfix releases if you do not want to upgrade to Kafka for JUnit 2.1.0 just yet.

Maven

<dependency>
  <groupId>net.mguenther.kafka</groupId>
  <artifactId>kafka-junit</artifactId>
  <version>2.1.0</version>
</dependency>

Gradle

compile 'net.mguenther.kafka:kafka-junit:2.1.0'