kinesis-consumer/examples/producer
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
..
main.go Introduce ScanFunc signature and remove ScanStatus (#77) 2019-04-07 16:29:12 -07:00
README.md Use shard broker to monitor and process new shards (#85) 2019-04-09 22:03:12 -07:00
users.txt Add dummy users data for producing onto stream 2018-12-30 07:28:18 -08:00

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