kinesis-consumer/examples/producer/README.md
Harlow Ward 97fe4e66ff
Use shard broker to monitor and process new shards (#85)
* 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
2019-04-09 22:03:12 -07:00

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