Hi Miguel,
> Is there a way to force the behavior I need, meaning... using left join
and
a JoinWindows output only one message (A,B) or (A, null)
I think you can try to achieve it by using *KStream-GlobalKTable left join*,
where the GlobalKTable should read all records at the right topic, and then
doing the left join operation. This should then output either (A,B), or (A,
null).
Thank you.
Luke
On Tue, Nov 30, 2021 at 1:23 AM Miguel González < miguel.gonzalez@klar.mx >
wrote:
> Hello
>
> I have been developing a Kafka Streams app that takes as input two topics
> as KStreams, processes them in some way and joins them and sends the
> combined message to an output topic.
>
> Here's some code,
>
> final StreamJoined<String, TransactionEvent, BalanceEvent> joinParams =
> StreamJoined.with(
> STRING_SERDE,
> StreamSerdeConstants.TRANSACTION_EVENT_SERDE,
> StreamSerdeConst...