kinesis-consumer/examples/consumer/cp-mysql
2019-07-28 21:33:19 -07:00
..
main.go Update examples to use Store interface 2019-07-28 21:33:19 -07:00
README.md Replace Checkpoint with Store interface (#90) 2019-07-28 21:18:40 -07:00

Consumer with mysl checkpoint

Read records from the Kinesis stream using mysql as checkpoint

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> --connection <connectionString>

Connection string should look something like

 user:password@/dbname