GO-lang library for AWS Kinesis API.
Example you can find in folder examples
.
You can find a tool for interacting with kinesis from the command line in folder kinesis-cli
.
The tests require a local Kinesis server such as Kinesalite
to be running and reachable at http://127.0.0.1:4567
.
To make the tests complete faster, you might want to have Kinesalite perform stream creation and deletion faster than the default of 500ms, like so:
kinesalite --createStreamMs 5 --deleteStreamMs 5 &
The &
runs Kinesalite in the background, which is probably what you want.
Some of the tests are marked as safe to be run in parallel, so to speed up test execution you might
want to run go test
with the -parallel n
flag.