diff --git a/examples/consumer/cp-redis/README.md b/examples/consumer/cp-redis/README.md index a16d189..b6d30b3 100644 --- a/examples/consumer/cp-redis/README.md +++ b/examples/consumer/cp-redis/README.md @@ -7,12 +7,11 @@ Read records from the Kinesis stream Export the required environment vars for connecting to the Kinesis stream and Redis for checkpoint: ``` -export AWS_ACCESS_KEY= +export AWS_PROFILE= export AWS_REGION= -export AWS_SECRET_KEY= export REDIS_URL= ``` ### Run the consumer - $ go run main.go --app appName --stream streamName + $ go run main.go --app appName --stream streamName diff --git a/examples/producer/README.md b/examples/producer/README.md index d89b959..a620e95 100644 --- a/examples/producer/README.md +++ b/examples/producer/README.md @@ -7,9 +7,8 @@ A prepopulated file with JSON users is available on S3 for seeing the stream. Export the required environment vars for connecting to the Kinesis stream: ``` -export AWS_ACCESS_KEY= +export AWS_PROFILE= export AWS_REGION_NAME= -export AWS_SECRET_KEY= ``` ### Running the code