change examples to use AWS_PROFILE
This commit is contained in:
parent
85b200f768
commit
ef4daf97d1
2 changed files with 3 additions and 5 deletions
|
|
@ -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
|
||||
|
|
|
|||
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Reference in a new issue