1

I'm doing a windowed leftJoin in Kafka Streams.

I would like the join would to wait for the duration of the window before emiting result with null right side.

Is there a way to achieve it?

sumek
  • 26,495
  • 13
  • 56
  • 75
  • 3
    Not at the moment. You could add a stateful `transform()` after the join, and buffer `` results to see if they join later, and emit `` after a "timeout" using punctuations. – Matthias J. Sax Feb 20 '19 at 18:52
  • 2
    Is it the approach you descibe in more detail here? https://stackoverflow.com/questions/48196450/end-of-window-outer-join-with-kafkastreams – sumek Feb 20 '19 at 19:14
  • 1
    Thanks @sumek for pointing out the duplicate! Yes, it's the same thing. – Matthias J. Sax Feb 20 '19 at 21:58
  • 1
    It was useful for me and might be for others as I couldn't find the original question without using `transform` and `punctuation` as additional keywords. Thanks for the answer(s)! – sumek Feb 20 '19 at 23:37

0 Answers0