2017-11-20 16:21:40 +00:00
|
|
|
# Producer
|
2015-05-23 22:22:58 +00:00
|
|
|
|
2019-04-07 23:33:47 +00:00
|
|
|
A prepopulated file with JSON users is available on S3 for seeing the stream.
|
2015-05-23 22:22:58 +00:00
|
|
|
|
|
|
|
|
### Environment Variables
|
|
|
|
|
|
|
|
|
|
Export the required environment vars for connecting to the Kinesis stream:
|
|
|
|
|
|
|
|
|
|
```
|
2019-04-10 05:03:12 +00:00
|
|
|
export AWS_PROFILE=
|
2019-06-03 00:46:28 +00:00
|
|
|
export AWS_REGION=
|
2015-05-23 22:22:58 +00:00
|
|
|
```
|
|
|
|
|
|
|
|
|
|
### Running the code
|
|
|
|
|
|
2017-11-23 01:52:41 +00:00
|
|
|
$ go run main.go --stream streamName
|