kinesis-consumer/examples/producer
Harlow Ward 4d6a85e901 Make the Checkpoint a required input for Consumer
The Checkpoint functionality is an important part of the library and
previously it wasn't obvious that the Consumer was defaulting to Redis
for this functionality.

* Add Checkpoint as required param for new consumer
2017-11-21 08:58:16 -08:00
..
main.go Make the Checkpoint a required input for Consumer 2017-11-21 08:58:16 -08:00
README.md Simplify the consumer experience (#35) 2017-11-20 08:21:40 -08:00

Producer

A prepopulated file with JSON users is available on S3 for seeing the stream:

https://s3.amazonaws.com/kinesis.test/users.txt

Environment Variables

Export the required environment vars for connecting to the Kinesis stream:

export AWS_ACCESS_KEY=
export AWS_REGION_NAME=
export AWS_SECRET_KEY=

Running the code

$ curl https://s3.amazonaws.com/kinesis.test/users.txt > /tmp/users.txt
$ go run main.go -s streamName