kinesis-consumer/examples/consumer
Harlow Ward 64cdf69249
Add interval flush for DDB checkpoint (#40)
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
2017-12-30 20:21:10 -08:00
..
main.go Add interval flush for DDB checkpoint (#40) 2017-12-30 20:21:10 -08:00
README.md Add logs for start scan and checkpoints 2017-11-22 17:52:41 -08:00

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