kinesis-consumer/examples/consumer/cp-postgres
Harlow Ward bd42663013 Introduce Group interface and AllGroup
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."
2019-06-02 17:25:44 -07:00
..
main.go Introduce Group interface and AllGroup 2019-06-02 17:25:44 -07:00
README.md Add postgres checkpoint implementation (#55) 2018-06-17 19:27:10 -07:00

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:

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