kinesis-consumer/examples/consumer/cp-mysql/README.md

21 lines
457 B
Markdown
Raw Normal View History

# 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:
```shell
2019-07-29 04:13:48 +00:00
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
2019-07-29 04:13:48 +00:00
user:password@/dbname