-
Notifications
You must be signed in to change notification settings - Fork 1.7k
Flush never occurs in high frequency events when starts_when and ends_when are not defined #16145
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
Comments
Fixes flush not occuring when events arrive in high frequency (in rate faster then `expire_after` between events). Fixes vectordotdev#16145.
This sounds like the expected behavior of |
Fixes flush not occuring when events arrive in high frequency (in rate faster then `expire_after` between events). Fixes vectordotdev#16145.
@davidhuie-dd, please read the issue description I just edited. It contains reproduction information. The |
Yep, I agree with your assessment, and I reproduced the issue (thanks!). |
Fixes flush not occuring when events arrive in high frequency (in rate faster then `expire_after` between events). Fixes vectordotdev#16145.
Fixes flush not occuring when events arrive in high frequency (in rate faster then `expire_after` between events). Fixes vectordotdev#16145.
Fixes flush not occuring when events arrive in high frequency (in rate faster then `expire_after` between events). Fixes vectordotdev#16145.
Fixes flush not occuring when events arrive in high frequency (in rate faster then `expire_after` between events). Fixes vectordotdev#16145.
A note for the community
Problem
I current reduce transform, in case both
starts_when
andends_when
are not defined, aggregation continues on and on, without flushing as long as events arrive in rate that is faster than the rate of expire_ms between events.For example, if we want to group by user, but keep getting events in rate faster than 1/minute, then flush will never occur.
Configuration
Version
0.27.0
Reproduction:
Create a configuration file
/tmp/vector.toml
:Create log generation script,
gen_log.py
:Run the Vector docker:
chmod +x gen_log.py ./gen_log.py | docker run --rm -i -v /tmp/vector.toml:/etc/vector/vector.toml timberio/vector:latest-alpine
Expected behavior
The generated log lines should appear in a reduced manner ever 10 seconds.
Observed behavior
The generated log lines never appear.
The text was updated successfully, but these errors were encountered: