HI Folks,
- CurrentProcessing time - is this is the Event Time ? i.e the time when the Event Occured ? (or) when the flink window got the message ?. - timeStamp - is this the time the record is persisted in to the sync ?. (or) the aggregated data timestamp ?. Say if I have 100 records in my time window - which time comes in to affect. - CurrentWaterMark - which time is this - the time the even occured - what will this value be - when there are 1000 records in my time window PS - We want to use some ID ( timestamp ) and associate with all the records that are persisted (aggregated) in a given time window - i.e if there are 1000 records aggregated - and they resulted in 10 aggregated records - we want to give these 10 aggregated records the same ID and we want to use one of the above time stamp Thanks much. |
Hi Durga, 1. currentProcessingTime: refers to this operator(SinkFunction)'s system time at the moment of invoke 1a. the time you are referring to as "flink window got the message" is the currentProcessingTime() invoked at the window operator (which provided by the WindowContext similar to this one [1]) 2 currentWatermark: refers to the current watermark [2] received by this operator(SinkFunction) 3. timestamp: is actually the input record's event-time (this "input" is referring to the input to the SinkFunction, not to the entire Flink topology) Hope these help. -- Rong On Thu, Feb 21, 2019 at 4:59 PM Durga Durga <[hidden email]> wrote:
|
Excellent ! Thanks Rong.. On Thu, Feb 21, 2019 at 7:26 PM Rong Rong <[hidden email]> wrote:
_Durga Deep
|
Free forum by Nabble | Edit this page |