kinesis-consumer/examples/seed-stream
Harlow Ward 0d5e9b7b02 Use AWS SDK for S3 Emitter
* Handle retries for S3 Emitter
* Update Pipeline to use AWS backoff
* Leverage aws error kit in recoverable error helpers
2015-08-16 17:52:10 -07:00
..
main.go Use AWS SDK for S3 Emitter 2015-08-16 17:52:10 -07:00
README.md Use go-kit Log interface 2015-05-25 22:40:40 -07:00

Seed the Stream

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 > users.txt
$ go run main.go