Major changes: ```go type ScanFunc func(r *Record) error ``` * Simplify the callback func signature by removing `ScanStatus` * Leverage context for cancellation * Add custom error `SkipCheckpoint` for special cases when we don't want to checkpoint Minor changes: * Use kinesis package constants for shard iterator types * Move optional config to new file See conversation on #75 for more details
1.1 KiB
1.1 KiB
Change Log
All notable changes to this project will be documented in this file.
Unreleased (master)
Major changes:
- Remove the concept of
ScanStatusto simplify the scanning interface
For more context on this change see: https://github.com/harlow/kinesis-consumer/issues/75
v0.3.0 - 2018-12-28
Major changes:
- Remove concept of
Clientit was confusing as it wasn't a direct standin for a Kinesis client. - Rename
ScanErrortoScanStatusas it's not always an error.
Minor changes:
- Update tests to use Kinesis mock
v0.2.0 - 2018-07-28
This is the last stable release from which there is a separate Client. It has caused confusion and will be removed going forward.
https://github.com/harlow/kinesis-consumer/releases/tag/v0.2.0
v0.1.0 - 2017-11-20
This is the last stable release of the consumer which aggregated records in batch before calling the callback func.
https://github.com/harlow/kinesis-consumer/releases/tag/v0.1.0