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

Flush if next record would make the request size too big #9

Closed
wants to merge 5 commits into from
Closed

Flush if next record would make the request size too big #9

wants to merge 5 commits into from

Conversation

phacops
Copy link

@phacops phacops commented Oct 7, 2016

Fixes #3 as an error is already thrown when we try to add a record which is max than the max record size.

kinesis.go Outdated
const (
maxRecordSize = 1 << 20 // 1MiB
maxRequestSize = 5 << 20 // 5MiB
MegaByte = 1 << 20
Copy link
Owner

Choose a reason for hiding this comment

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

I like the old way since it keeps them private

@phacops phacops closed this Sep 13, 2017
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.

2 participants