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
enhancement(config): Refactor the batching configuration #1154
Conversation
Signed-off-by: Bruce Guenter <bruce@untroubled.org>
Signed-off-by: Bruce Guenter <bruce@untroubled.org>
Signed-off-by: Bruce Guenter <bruce@untroubled.org>
1. The batch age meets or exceeds the configured `batch_timeout` (default: `<%= component.options.batch_timeout.human_default %>`). | ||
2. The batch size meets or exceeds the configured `batch_size` (default: `<%= component.options.batch_size.human_default %>`). |
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.
Noting: I asked Bruce to remove this until I can fix an issue accessing sub-options through the metadata objects.
Signed-off-by: Bruce Guenter <bruce@untroubled.org>
👍 on this. Just a reminder, I'd like to wait to merge this since it is a breaking change. We'll be treating https://github.com/timberio/vector/milestone/25 as it's own release. |
Since the configuration and settings are separate in this, and thanks to |
Signed-off-by: Bruce Guenter <bruce@untroubled.org>
This is ready for re-review. |
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.
Nice!
Thanks. It's a small detail, but what do you think about renaming |
Logically you can think of it as an |
This is the first step at issue #1090, with more to come later. This consolidates the batching configuration into a common structure.