tail -f command for Amazon Kinesis Data Streams.
$ brew install fujiwara/tap/kinesis-tailf
Required flags are below.
-stream
-region
orAWS_REGION
environment variable
Usage of kinesis-tailf:
-end string
end timestamp
-lf
append LF(\n) to each record
-region string
region (default AWS_REGION environment variable)
-shard-key string
shard key
-start string
start timestamp
-stream string
stream name
kinesis-tailf supports decoding packed records by Kinesis Producer Library (KPL).
cat command for putting data to Amazon Kinesis Data Streams or Kinesis Data Firehose.
Usage of kinesis-cat:
-firehose
put to Firehose delivery stream
-lf
append LF(\n) to each record
-partition-key string
partition key
-region string
region (default "ap-northeast-1")
-stream string
stream name
When -partition-key is not specified, partition key will be generated from sha256 digest of data.
MIT