Aligning Tumbling Window Aggregations to Full Hours #2824
-
I am using eKuiper to process streaming data from MQTT with the following payload format:
Data is emitted every 15 seconds, and I am aggregating the sums of the val field over 1-hour tumbling windows based on the |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 1 reply
-
@kriskonina Sounds like you want to use event time. When creating stream, specify the timestamp field for it. Example like
In your rule, need to set its option isEventTime to true
|
Beta Was this translation helpful? Give feedback.
-
Appreciate your help, @ngjaying! It seems that setting |
Beta Was this translation helpful? Give feedback.
@kriskonina Sounds like you want to use event time.
When creating stream, specify the timestamp field for it. Example like
In your rule, need to set its option isEventTime to true