Issue fixes

This commit is contained in:
Amol Gote 2023-11-02 19:47:05 -04:00
parent bfa7c53b54
commit 1ab4017ad6

@ -35,11 +35,11 @@ public class ExtSeqWithTimeWindowIntegrationTest {
private static KafkaProducer<Long, UserEvent> producer;
private static KafkaConsumer<Long, UserEvent> consumer;
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
@Container
private static final long BUFFER_PERIOD_NS = Duration.ofSeconds(5).toNanos();
@Container
private static final KafkaContainer KAFKA_CONTAINER = new KafkaContainer(DockerImageName.parse("confluentinc/cp-kafka:latest"));
@BeforeAll
static void setup() throws ExecutionException, InterruptedException {
KAFKA_CONTAINER.addExposedPort(9092);