kinesis-consumer/examples/producer
2016-05-07 18:10:31 -07:00
..
main.go Add required fields to Config 2016-05-07 18:10:31 -07:00
README.md Use TJ's Kinesis producer library 2016-05-01 16:54:47 -07:00

Populate the Stream with data

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