Skip to content

Remove concept of client from consumer library

Compare
Choose a tag to compare
@harlow harlow released this 28 Dec 18:52
· 66 commits to master since this release

Having an additional Client has added some confusion (#45) on how to provide a
custom kinesis client. Allowing WithClient to accept a Kinesis client
it cleans up the interface.

Major changes:

  • Remove the Client wrapper; prefer using kinesis client directly
  • Change ScanError to ScanStatus as the return value isn't necessarily an error

Minor changes:

  • Additional test coverage