kinesis-consumer/examples/consumer/cp-postgres/README.md
2018-06-17 19:27:10 -07:00

17 lines
408 B
Markdown

# Consumer with postgres checkpoint
Read records from the Kinesis stream using postgres as checkpoint
## Environment Variables
Export the required environment vars for connecting to the Kinesis stream:
```shell
export AWS_ACCESS_KEY=
export AWS_REGION=
export AWS_SECRET_KEY=
```
## Run the consumer
go run main.go --app appName --stream streamName --table tableName --connection connectionString