</parent>
<groupId>de.juplo.kafka.streams.demos</groupId>
- <artifactId>stream-stream--inner-join</artifactId>
+ <artifactId>stream-stream--left-join</artifactId>
<version>1.0.0-SNAPSHOT</version>
- <name>Outcome of an Inner Stream/Stream-Join</name>
+ <name>Outcome of a Left Stream/Stream-Join</name>
<properties>
<java.version>21</java.version>
KStream<String, String> right = builder.stream(RIGHT);
left
- .join(
+ .leftJoin(
right,
(valueLeft, valueRight) -> valueLeft + "-" + valueRight,
WINDOWS)
assertThatOutcomeIs();
sendLeftAt("F", 120);
- assertThatOutcomeIs();
+ assertThatOutcomeIs("E-null");
sendRightAt("f", 140);
- assertThatOutcomeIs();
+ assertThatOutcomeIs("F-null");
sendLeftAt("G", 160);
assertThatOutcomeIs();