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

Actually set maxBatchSize on EventProcessor #52

Merged
merged 3 commits into from
Feb 28, 2020

Conversation

robbavey
Copy link
Contributor

The max_batch_size option was being ignored when creating the
event processor, leading to a default batch size of 10, instead of
the intended 125, and not allowing users to change their batch size.

The `max_batch_size` option was being ignored when creating the
event processor, leading to a default batch size of 10, instead of
the intended 125, and not allowing users to change their batch size.

This caused the potential for much more frequent checkpointing of
completed event batches, potentially causing performance issues.
CHANGELOG.md Outdated Show resolved Hide resolved
Co-Authored-By: João Duarte <jsvd@users.noreply.github.com>
Copy link
Member

@jsvd jsvd left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM, I left a small suggestion for rewording the change log entry

@jsvd
Copy link
Member

jsvd commented Feb 28, 2020

Great catch @robbavey :)

@robbavey robbavey merged commit 69d7b9e into logstash-plugins:master Feb 28, 2020
@yaauie
Copy link
Contributor

yaauie commented Feb 28, 2020

Post-merge LGTM 👍

Good work on adding clarity to the logs, too.

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

Successfully merging this pull request may close these issues.

3 participants