v3.2.0
self-awaitingBin the Thread.sleep — KafkaTestLatch is here.
Highlights
- 01
KafkaTestLatch
A self-awaiting latch wrapper for listener-driven tests. No more passing CountDownLatch back into KafkaTestAwait.await(...).
Read the guide → - 02
Sensible factories
KafkaTestLatch.latch() and latch(int) for the default count-1 and explicit-count cases.
- 03
Instance await overloads
await(), await(description), await(timeout), and await(timeout, description) on the latch instance itself.
Full notes
Added
- KafkaTestLatch — a self-awaiting latch wrapper for listener-driven tests.
- KafkaTestLatch.latch() and KafkaTestLatch.latch(int) factory methods.
- Instance await overloads on KafkaTestLatch: await(), await(description), await(timeout), await(timeout, description).
Changed
- Bumped version to 3.2.0-SNAPSHOT.
- Updated dependency examples to io.gitlab.guisseppe:spring-kafka-test-utils:3.2.0.