kcmd

1.0.16 • Public • Published

kcmd: a simple kafka admin tool

tests audit publish

Installation:

Running on-demand:

Using npx you can run the script without installing it first:

npx kcmd

Globally via npm

npm i -g kcmd

This will install kcmd globally so that it may be run from the command line anywhere.

Usage:

  _                             _ 
 | | __   ___   _ __ ___     __| |
 | |/ /  / __| | '_ ` _ \   / _` |
 |   <  | (__  | | | | | | | (_| |
 |_|\_\  \___| |_| |_| |_|  \__,_|
                                   
Usage: kcmd [global options] command

Options:
  -v, --version         output the current version
  -t, --topic <topic>   override selected topic
  -g, --group <group>   override selected group
  -c, --cluster <name>  override selected cluster by name
  -h, --help            display help for command

Commands:
  ls <type>             List clusters/brokers/topics/groups/groupsByTopic/topicsByGroup
  set <type> [value]    Set a kafka cluster/topic/group
  put <name> <brokers>  Add/Replace a kafka cluster by name
  delete <name>         Delete a kafka cluster by name
  offsets <type>        Get topic/group offsets and lag
  consumer              Consume messages of selected topic
  show [section]        Show selected options clusters/config/selected
  config                Update config
  metadata <type>       Get metadata of topic/groups
  help [command]        display help for command

Readme

Keywords

none

Package Sidebar

Install

npm i kcmd

Weekly Downloads

0

Version

1.0.16

License

none

Unpacked Size

117 kB

Total Files

54

Last publish

Collaborators

  • cengler