-
Notifications
You must be signed in to change notification settings - Fork 4.9k
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
Update default value for flush.timeout and flush.min_events #7192
Conversation
Checking the code, it seems the default `flush.timeout` is `1s` - https://github.com/elastic/beats/blob/v6.2.4/libbeat/publisher/queue/memqueue/config.go#L14-L18 - instead of `0s` . Change needs some dev review to confirm!
libbeat/docs/queueconfig.asciidoc
Outdated
@@ -74,5 +74,5 @@ The default value is 0. | |||
Maximum wait time for `flush.min_events` to be fulfilled. If set to 0s, events | |||
will be immediately available for consumption. | |||
|
|||
The default values is 0s. | |||
The default values is 1s. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
flush.min_events
should default to 2048 as well.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
roger that @urso , changed that as well and corrected a typo (and the title of the issue)
flush.min_events setting the default to 2048
The default `values` is 1s. -> The default `value` is 1s.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
…7192) * Update default value for flush.timeout Checking the code, it seems the default `flush.timeout` is `1s` - https://github.com/elastic/beats/blob/v6.2.4/libbeat/publisher/queue/memqueue/config.go#L14-L18 - instead of `0s` . Change needs some dev review to confirm! * Updated default value for flush.min_events flush.min_events setting the default to 2048 * Corrected typo The default `values` is 1s. -> The default `value` is 1s. (cherry picked from commit dca6ad8)
Thank you for the doc fix! I did prepare the backport for 6.3. |
* Update default value for flush.timeout Checking the code, it seems the default `flush.timeout` is `1s` - https://github.com/elastic/beats/blob/v6.2.4/libbeat/publisher/queue/memqueue/config.go#L14-L18 - instead of `0s` . Change needs some dev review to confirm! * Updated default value for flush.min_events flush.min_events setting the default to 2048 * Corrected typo The default `values` is 1s. -> The default `value` is 1s. (cherry picked from commit dca6ad8)
…7192) * Update default value for flush.timeout Checking the code, it seems the default `flush.timeout` is `1s` - https://github.com/elastic/beats/blob/v6.2.4/libbeat/publisher/queue/memqueue/config.go#L14-L18 - instead of `0s` . Change needs some dev review to confirm! * Updated default value for flush.min_events flush.min_events setting the default to 2048 * Corrected typo The default `values` is 1s. -> The default `value` is 1s. (cherry picked from commit c617edb)
Checking the code, it seems the default
flush.timeout
is1s
- https://github.com/elastic/beats/blob/v6.2.4/libbeat/publisher/queue/memqueue/config.go#L14-L18 - instead of0s
. Change needs some dev review to confirm!