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` |
||
|---|---|---|
| .. | ||
| main.go | ||
| README.md | ||
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