Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

TimeExpiry and LengthExpiry windows to Siddhi #1054

Closed
suhothayan opened this issue Feb 22, 2019 · 3 comments
Closed

TimeExpiry and LengthExpiry windows to Siddhi #1054

suhothayan opened this issue Feb 22, 2019 · 3 comments

Comments

@suhothayan
Copy link
Contributor

suhothayan commented Feb 22, 2019

Description:
At times we need windows updates immediately but we need to rest the window aggregations time to time. Such that the window count() will gradually increase and resets to zero on a periodic time or length interval.
Unfortunately, the current Siddhi windows ( (Sliding)Time, (Sliding) Length, Time Batch and Length Batch windows) do not support this requirement.

Therefore I'm proposing TimeExpiry and LengthExpiry windows to Siddhi to support this feature.

Affected Siddhi Version:
4.4.8

@suhothayan suhothayan added this to the 5.0.0 milestone Feb 22, 2019
@suhothayan suhothayan changed the title TimeExpiry and BatchExpiry windows to Siddhi TimeExpiry and LengthExpiry windows to Siddhi Feb 22, 2019
@mohanvive
Copy link
Contributor

Shall we improve the existing window implementations by adding a new flag as "isStreamingCurrentEvents" to achieve above?

@suhothayan
Copy link
Contributor Author

I'll improve the timeBatch and lengthBatch windows with a bool parameter "stream.current.event".

@suhothayan
Copy link
Contributor Author

The feature for this is added via #1057. Hence closing this issue

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants