kinesis-consumer/examples/consumer/cp-redis
Harlow Ward 7e72723168 Use shard broker to start processing new shards
The addition of a shard broker will allow the consumer to be notified
when new shards are added to the stream so it can consume them.

Fixes: https://github.com/harlow/kinesis-consumer/issues/36
2019-04-07 22:01:03 -07:00
..
main.go Use shard broker to start processing new shards 2019-04-07 22:01:03 -07:00
README.md Remove the client wrapper (#58) 2018-07-28 22:53:33 -07:00

Consumer

Read records from the Kinesis stream

Environment Variables

Export the required environment vars for connecting to the Kinesis stream and Redis for checkpoint:

export AWS_ACCESS_KEY=
export AWS_REGION=
export AWS_SECRET_KEY=
export REDIS_URL=

Run the consumer

$ go run main.go --app appName --stream streamName