Re: How to use EventTimeSessionWindows.withDynamicGap()

2020-11-20 Thread Aljoscha Krettek
Sure, my pleasure! Aljoscha On 19.11.20 16:12, Simone Cavallarin wrote: Many thanks for the Help!! Simone From: Aljoscha Krettek Sent: 19 November 2020 11:46 To: user@flink.apache.org Subject: Re: How to use EventTimeSessionWindows.withDynamicGap() On

Re: How to use EventTimeSessionWindows.withDynamicGap()

2020-11-19 Thread Simone Cavallarin
Many thanks for the Help!! Simone From: Aljoscha Krettek Sent: 19 November 2020 11:46 To: user@flink.apache.org Subject: Re: How to use EventTimeSessionWindows.withDynamicGap() On 17.11.20 17:37, Simone Cavallarin wrote: > Hi, > > I have been worki

Re: How to use EventTimeSessionWindows.withDynamicGap()

2020-11-19 Thread Aljoscha Krettek
On 17.11.20 17:37, Simone Cavallarin wrote: Hi, I have been working on the suggestion that you gave me, thanks! The first part is to add to the message the gap. 1)I receive the event, 2)I take that event and I map it using StatefulsessionCalculator, that is where I put together "The message",

Re: How to use EventTimeSessionWindows.withDynamicGap()

2020-11-17 Thread Simone Cavallarin
be easier at this point to just use a stateful ProcessFunction", you meant a completely different approach, would be better? many thanks for the help. s From: Aljoscha Krettek Sent: 16 November 2020 16:22 To: user@flink.apache.org Subject: Re: How to use Ev

Re: How to use EventTimeSessionWindows.withDynamicGap()

2020-11-16 Thread Aljoscha Krettek
(m.. okay now complitely lost...) Thanks s From: Simone Cavallarin Sent: 13 November 2020 16:55 To: Aljoscha Krettek Cc: user Subject: Re: How to use EventTimeSessionWindows.withDynamicGap() +user@ From: Simone Cavallarin Sent: 13 November 2020 16:4

Re: How to use EventTimeSessionWindows.withDynamicGap()

2020-11-14 Thread Simone Cavallarin
back on point 1 and be used on the windowing process) * (m.. okay now complitely lost...) Thanks s From: Simone Cavallarin Sent: 13 November 2020 16:55 To: Aljoscha Krettek Cc: user Subject: Re: How to use EventTimeSessionWindows.

Re: How to use EventTimeSessionWindows.withDynamicGap()

2020-11-13 Thread Simone Cavallarin
+user@ From: Simone Cavallarin Sent: 13 November 2020 16:46 To: Aljoscha Krettek Subject: Re: How to use EventTimeSessionWindows.withDynamicGap() Hi Aljoscha, When you said: You could use a stateful operation (like a ProcessFunction) to put a dynamic &quo

Re: How to use EventTimeSessionWindows.withDynamicGap()

2020-11-13 Thread Aljoscha Krettek
Many thanks for the help! Best Simon From: Aljoscha Krettek Sent: 12 November 2020 16:34 To: user@flink.apache.org Subject: Re: How to use EventTimeSessionWindows.withDynamicGap() Hi, I'm not sure that what you want is possible. You say you want more windows

Re: How to use EventTimeSessionWindows.withDynamicGap()

2020-11-12 Thread Simone Cavallarin
1 min? Many thanks for the help! Best Simon From: Aljoscha Krettek Sent: 12 November 2020 16:34 To: user@flink.apache.org Subject: Re: How to use EventTimeSessionWindows.withDynamicGap() Hi, I'm not sure that what you want is possible. You say you want mo

Re: How to use EventTimeSessionWindows.withDynamicGap()

2020-11-12 Thread Aljoscha Krettek
Hi, I'm not sure that what you want is possible. You say you want more windows when there are more events for a given time frame? That is when the events are more dense in time? Also, using the event timestamp as the gap doesn't look correct. The gap basically specifies the timeout for a ses

How to use EventTimeSessionWindows.withDynamicGap()

2020-11-12 Thread Simone Cavallarin
Hi All, I'm trying to use EventTimeSessionWindows.withDynamicGap in my application. I have understood that the gap is computed dynamically by a function on each element. What I should be able to obtain is a Flink application that can automatically manage the windows based on the frequency of th