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

Skip empty batches #125

Merged
merged 1 commit into from
Sep 20, 2017
Merged

Skip empty batches #125

merged 1 commit into from
Sep 20, 2017

Conversation

AKoetsier
Copy link
Contributor

@AKoetsier AKoetsier commented Aug 15, 2017

A ValidationException is thrown by Kinesis when fluentd receives log messages that are all more than 1MB in size. The reason is that all messages will be skipped and an empty batch is send to Kinesis which will throw the validation exception. This will cause the batch to fail and all messages will stay in the buffer causing it to fill up. This patch will skip any empty batches.

@riywo riywo merged commit b848de1 into awslabs:master Sep 20, 2017
@riywo
Copy link
Contributor

riywo commented Sep 20, 2017

Hi @AKoetsier ,

Thank you so much. I've never realized this issue and the way to fix it is awesome. I'll release this merge in the next v1 release.

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.

None yet

2 participants