Hi all, I have observed behavior joining two keyed streams together, where events are never emitted. The source of each stream is a different kafka topic. I am curious to know if this expected and if there’s a way
to work around it. I am using a tumbling event window. All records across the two kafka topics occurred within the same 5 second window of time. Each kafka topic has a single partition. For each kafka topic, I configured the
flink kafka consumer like so: consumer.assignTimestampsAndWatermarks( WatermarkStrategy .<CustomersUnion>forBoundedOutOfOrderness(Duration.ofSeconds(10)) .withIdleness(Duration.ofSeconds(10)) ); The tumbling window has a duration of 60 seconds. Now it happens to be the case that there is only a single event when joining on a key. If I use Tumbling Process window then events are emitted as expected.
If I actually ensure there are multiple events for a key then the events are also emitted. However, if it’s a single event per key in a tumbling event window then no events are emitted. Is this expected and if it how do you handle this use case? Thanks, Joe |
- Records Are Never Emitted in a Tumbling Event Window When... Joseph Lorenzini
- Re: Records Are Never Emitted in a Tumbling Event Wi... Arvid Heise
- Re: Records Are Never Emitted in a Tumbling Even... Joseph Lorenzini
- Re: Records Are Never Emitted in a Tumbling Even... Joseph Lorenzini
- Re: Records Are Never Emitted in a Tumbling ... Arvid Heise