@optum/knack-cli
v1.4.1
Published
A cli for working with Apache Kafka development.
Downloads
29
Keywords
Readme
Usage
first things first...
$ npm i -g @optum/knack-cli
Help Menu
$ knack --help
A cli for working with Apache Kafka development.
_ __ _ _ ___ _____ _ __
| | / /| \ | | / _ \ / __ \| | / /
| |/ / | \| |/ /_\ \| / \/| |/ /
| \ | . ` || _ || | | \
| |\ \| |\ || | | || \__/\| |\ \
\_| \_/\_| \_/\_| |_/ \____/\_| \_/
command register-avro-schema
options
--avsc alias --a string avro schema input
--topic alias --t [string]
--type alias --ty string subject type (i.e. key or value)
command verify-avro-schema
options
--avsc alias --a string avro schema input
--data alias --d string path to json file containing data
--show alias --s [string] show data after encode -> decode
command convert-avsc
convert an avsc to other formats
options
--avsc alias --a string avro schema input
--format alias --f string target format: es (elastic mapping), json (json schema)
--output alias --o string file output path
command convert-json
convert a json schema to avro
options
--json alias --j string json schema input
--output alias --o string file output path
command consume
options
--consumerConfig alias --cc [string] path to json file containing librd consumer settings
--topicConfig alias --tc [string] path to json file containing librd topic settings
command produce
options
--producerConfig alias --pc [string] path to json file containing librd producer settings
--topic alias --t [string]
--key alias --k [string] path to json file containing key data
--value alias --v string path to json file containing value data
--count alias --c [string] number of times to run the action
command check-kafka
options
--brokers alias --b [string] comma separated list of brokers