A command line tool to print data from an AWS Kinesis stream.
▶ kinesis-follow --help
Usage of kinesis-follow:
-region string
AWS region the stream exists in (default "eu-west-1")
-sleep int
How long to sleep between polling for new messages in ms (default 1000)
-stream string
Name of the string you want to follow
Assuming you have golang installed and setup correctly:
go get github.com/uswitch/kinesis-follow
go install github.com/uswitch/kinesis-follow
It is assumed that you will have credentials for AWS setup as you would to ordinarily use the AWS SDK - https://github.com/aws/aws-sdk-go#configuring-credentials
- Get a shard iterator with options other than
LATEST
- Don't quit on keypress