microcks / microcks-testcontainers-java

Java lib for Testcontainers that enables embedding Microcks into your JUnit tests with lightweight, throwaway instance thanks to containers.
https://microcks.io
Apache License 2.0
18 stars 3 forks source link

Make tests more robust switching from Redpanda to vanilla Kafka #32

Closed lbroudoux closed 5 months ago

lbroudoux commented 5 months ago

Reason/Context

We observe some inconsistencies while using Redpanda broker as the 1st poll loop on consumer is sometime too long/longer than provided timeout. This makes the Microcks Async minion tests fail as they do not find any messages to consume.

Description

Replace the RedpandaContainer by KafkaContainer implementation in unit tests.

Implementation ideas

No response