Re: EventTimeSessionWindow firing too soon

Posted by Rafi Aroch on
URL: http://deprecated-apache-flink-user-mailing-list-archive.369.s1.nabble.com/EventTimeSessionWindow-firing-too-soon-tp35959p35986.html

Hi Ori,

I guess you consume from Kafka from the earliest offset, so you consume historical data and Flink is catching-up.

Regarding: My event-time timestamps also do not have big gaps

Just to verify, if you do keyBy sessionId, do you check the gaps of events from the same session?

Rafi


On Tue, Jun 16, 2020 at 9:36 AM Ori Popowski <[hidden email]> wrote:
So why is it happening? I have no clue at the moment.
My event-time timestamps also do not have big gaps between them that would explain the window triggering.


On Mon, Jun 15, 2020 at 9:21 PM Robert Metzger <[hidden email]> wrote:
If you are using event time in Flink, it is disconnected from the real world wall clock time.
You can process historical data in a streaming program as if it was real-time data (potentially reading through (event time) years of data in a few (wall clock) minutes)

On Mon, Jun 15, 2020 at 4:58 PM Yichao Yang <[hidden email]> wrote:
Hi

I think it maybe you use the event time, and the timestamp between your event data is bigger than 30minutes, maybe you can check the source data timestamp.

Best,
Yichao Yang


发自我的iPhone


------------------ Original ------------------
From: Ori Popowski <[hidden email]>
Date: Mon,Jun 15,2020 10:50 PM
To: user <[hidden email]>
Subject: Re: EventTimeSessionWindow firing too soon