Update apache-kafka-2/src/test/java/com/baeldung/kafka/message/ordering/MultiplePartitionIntegrationTest.java
Co-authored-by: Liam Williams <liam.williams@zoho.com>
This commit is contained in:
parent
83d6d89db5
commit
bfa7c53b54
|
@ -34,7 +34,7 @@ public class MultiplePartitionIntegrationTest {
|
||||||
private static Admin admin;
|
private static Admin admin;
|
||||||
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…
Reference in New Issue