change examples to use AWS_PROFILE

This commit is contained in:
Harlow Ward 2019-04-08 21:24:09 -07:00
parent 85b200f768
commit ef4daf97d1
2 changed files with 3 additions and 5 deletions

View file

@ -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 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_REGION=
export AWS_SECRET_KEY=
export REDIS_URL= export REDIS_URL=
``` ```
### Run the consumer ### Run the consumer
$ go run main.go --app appName --stream streamName $ go run main.go --app appName --stream streamName

View file

@ -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 the required environment vars for connecting to the Kinesis stream:
``` ```
export AWS_ACCESS_KEY= export AWS_PROFILE=
export AWS_REGION_NAME= export AWS_REGION_NAME=
export AWS_SECRET_KEY=
``` ```
### Running the code ### Running the code