Vorschlag:2-suppressed chatgpt
authorKai Moritz <kai@juplo.de>
Mon, 8 Jul 2024 14:29:40 +0000 (16:29 +0200)
committerKai Moritz <kai@juplo.de>
Mon, 8 Jul 2024 14:29:40 +0000 (16:29 +0200)
src/test/java/de/juplo/kafka/wordcount/counter/AggregationTopologyTest.java

index 1b2b03d..7c0be99 100644 (file)
@@ -47,7 +47,8 @@ public class AggregationTopologyTest
         .windowedBy(slidingWindow)
         .count(Materialized.<String, Long, WindowStore<Bytes, byte[]>>as("aggregated-store")
             .withKeySerde(Serdes.String())
-            .withValueSerde(Serdes.Long()));
+            .withValueSerde(Serdes.Long()))
+        .suppress(Suppressed.untilWindowCloses(Suppressed.BufferConfig.unbounded()));
 
     aggregatedTable
         .toStream()