As we move towards consumer groups we'll need to support the current "consume all shards" strategy, and setup the codebase for the anticipated "consume balanced shards." |
||
|---|---|---|
| .. | ||
| 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