From ef4daf97d15bb9ad25cc594a2b864d7dcad57106 Mon Sep 17 00:00:00 2001 From: Harlow Ward Date: Mon, 8 Apr 2019 21:24:09 -0700 Subject: [PATCH] change examples to use AWS_PROFILE --- examples/consumer/cp-redis/README.md | 5 ++--- examples/producer/README.md | 3 +-- 2 files changed, 3 insertions(+), 5 deletions(-) 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