kinesis-consumer/examples/consumer/cp-redis
Harlow Ward c72f561abd
Replace Checkpoint with Store interface (#90)
As we work towards introducing consumer groups to the repository we need a more generic name for the persistence layer for storing checkpoints and leases for given shards. 

* Rename `checkpoint` to `store`
2019-07-28 21:18:40 -07:00
..
main.go Replace Checkpoint with Store interface (#90) 2019-07-28 21:18:40 -07:00
README.md Use shard broker to monitor and process new shards (#85) 2019-04-09 22:03:12 -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_PROFILE=
export AWS_REGION=
export REDIS_URL=

Run the consumer

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