Add interval flush for DDB checkpoint * Allow checkpointing on a specified interval * Add shutdown method to checkpoint to force flush Minor changes: * Swap order of input params for checkpoint (app, table) Addresses: https://github.com/harlow/kinesis-consumer/issues/39 |
||
|---|---|---|
| .. | ||
| main.go | ||
| README.md | ||
Consumer
Read records from the Kinesis stream
Environment Variables
Export the required environment vars for connecting to the Kinesis stream:
export AWS_ACCESS_KEY=
export AWS_REGION_NAME=
export AWS_SECRET_KEY=
Run the consumer
$ go run main.go --app appName --stream streamName