Version 0.3.0 of Kafka for JUnit has been released. It features a couple of small improvements to the code and introduces metadata acquisition as well as seek-semantics when reading or observing topics.
Changelog
See the changelog on GitHub.
Features
- #14: Reduce the log output of Kafka producers and consumers
- #15: Provide the possibility to skip to a partition-offset when reading or observing
- #16: Optionally include record metadata when reading or observing
- #17: Update dependencies
- #19: Remove classes and components that have been deprecated since 0.2.x
Bugfixes
Get it
You can obtain the binaries from Maven central or include the dependency using the following Maven coordinates in your build.
Maven
<dependency>
<groupId>net.mguenther.kafka</groupId>
<artifactId>kafka-junit</artifactId>
<version>0.3.0</version>
</dependency>
Gradle
compile 'net.mguenther.kafka:kafka-junit:0.3.0'