Update apache-kafka-2/src/test/java/com/baeldung/kafka/message/ordering/SinglePartitionIntegrationTest.java
Co-authored-by: Liam Williams <liam.williams@zoho.com>
This commit is contained in:
parent
d0edfbc423
commit
83d6d89db5
@ -37,7 +37,7 @@ public class SinglePartitionIntegrationTest {
|
|||||||
private static KafkaProducer<Long, UserEvent> producer;
|
private static KafkaProducer<Long, UserEvent> producer;
|
||||||
private static KafkaConsumer<Long, UserEvent> consumer;
|
private static KafkaConsumer<Long, UserEvent> consumer;
|
||||||
|
|
||||||
private static final Duration TIMEOUT_WAIT_FOR_MESSAGES = Duration.ofMillis(5000);
|
private static final Duration TIMEOUT_WAIT_FOR_MESSAGES = Duration.ofSeconds(5);
|
||||||
|
|
||||||
@Container
|
@Container
|
||||||
private static final KafkaContainer KAFKA_CONTAINER = new KafkaContainer(DockerImageName.parse("confluentinc/cp-kafka:latest"));
|
private static final KafkaContainer KAFKA_CONTAINER = new KafkaContainer(DockerImageName.parse("confluentinc/cp-kafka:latest"));
|
||||||
|
Loading…
x
Reference in New Issue
Block a user