A toy application to learn about the Kinesis API and provide functional examples for when I inevitably forget how any of this works.
This application:
- writes a simple payload to a Kinesis stream
- manages a dynamic pool of shard reader goroutines, keeping track of what shards have been previously seen.
export KDEMO_REGION="us-west-2"
export KDEMO_STREAM_NAME="kinesistest"
./kinesisdemo
Uses dep
for dependency management.
Docs for aws-sdk Kinesis package: https://docs.aws.amazon.com/sdk-for-go/api/service/kinesis