* Use shard broker to start processing new shards The addition of a shard broker will allow the consumer to be notified when new shards are added to the stream so it can consume them. Fixes: https://github.com/harlow/kinesis-consumer/issues/36
16 lines
310 B
Markdown
16 lines
310 B
Markdown
# Producer
|
|
|
|
A prepopulated file with JSON users is available on S3 for seeing the stream.
|
|
|
|
### Environment Variables
|
|
|
|
Export the required environment vars for connecting to the Kinesis stream:
|
|
|
|
```
|
|
export AWS_PROFILE=
|
|
export AWS_REGION_NAME=
|
|
```
|
|
|
|
### Running the code
|
|
|
|
$ go run main.go --stream streamName
|