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

Added Writer & BatchWriter #7

Open
wants to merge 3 commits into
base: master
Choose a base branch
from
Open

Added Writer & BatchWriter #7

wants to merge 3 commits into from

Conversation

cvanderschuere
Copy link
Contributor

Added the ability to write to a stream either synchronously or in asynchronous batches.

Writer:

  • Sync write
  • Writes to Kinesis stream with exponential back off

BatchWriter:

  • Allows for async write.
  • Writes with exponential back off when the batch size exceeded or a time interval has passed.

return err
}

eb := backoff.NewExponentialBackOff()
Copy link
Contributor

Choose a reason for hiding this comment

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

cool

@rhettg
Copy link
Contributor

rhettg commented Jan 8, 2016

Tests are failling

@rhettg
Copy link
Contributor

rhettg commented Jan 8, 2016

@bickfordb should take a look at this.

@cvanderschuere
Copy link
Contributor Author

tests pass locally

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