Update apache-kafka-2/src/test/java/com/baeldung/kafka/message/ordering/ExtSeqWithTimeWindowIntegrationTest.java
Co-authored-by: Liam Williams <liam.williams@zoho.com>
This commit is contained in:
parent
667620821b
commit
d0edfbc423
|
@ -34,7 +34,7 @@ public class ExtSeqWithTimeWindowIntegrationTest {
|
||||||
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);
|
||||||
|
|
||||||
private static final long BUFFER_PERIOD_NS = 5000L * 1000000; // 5000 milliseconds converted to nanoseconds
|
private static final long BUFFER_PERIOD_NS = 5000L * 1000000; // 5000 milliseconds converted to nanoseconds
|
||||||
@Container
|
@Container
|
||||||
|
|
Loading…
Reference in New Issue