Forced emidiate emitt of join-results
authorKai Moritz <kai@juplo.de>
Fri, 5 Jul 2024 22:25:17 +0000 (00:25 +0200)
committerKai Moritz <kai@juplo.de>
Sat, 6 Jul 2024 07:26:13 +0000 (09:26 +0200)
src/test/java/de/juplo/kafka/wordcount/counter/StreamStreamJoinTopologyTest.java

index d17dcde..1d39a00 100644 (file)
@@ -44,6 +44,7 @@ public class StreamStreamJoinTopologyTest
     Properties properties = new Properties();
     properties.put(StreamsConfig.DEFAULT_KEY_SERDE_CLASS_CONFIG, Serdes.StringSerde.class);
     properties.put(StreamsConfig.DEFAULT_VALUE_SERDE_CLASS_CONFIG, Serdes.StringSerde.class);
+    properties.put(StreamsConfig.InternalConfig.EMIT_INTERVAL_MS_KSTREAMS_OUTER_JOIN_SPURIOUS_RESULTS_FIX, 0l);
 
     TopologyTestDriver testDriver = new TopologyTestDriver(topology, properties);