Skip to content

fujiwara/kinesis-tailf

Repository files navigation

kinesis-tailf

tail -f command for Amazon Kinesis Data Streams.

Install

Homebrew

$ brew install fujiwara/tap/kinesis-tailf

Binary packages

Releases.

Usage

Required flags are below.

  • -stream
  • -region or AWS_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).

kinesis-cat

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.

Licence

MIT