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`
16 lines
296 B
Markdown
16 lines
296 B
Markdown
# Consumer
|
|
|
|
Read records from the Kinesis stream
|
|
|
|
### Environment Variables
|
|
|
|
Export the required environment vars for connecting to the Kinesis stream:
|
|
|
|
```
|
|
export AWS_PROFILE=
|
|
export AWS_REGION=
|
|
```
|
|
|
|
### Run the consumer
|
|
|
|
$ go run main.go --app appName --stream streamName --table tableName
|