kafcmd

command module
v1.0.5 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Feb 14, 2024 License: CC0-1.0 Imports: 7 Imported by: 0

README

#+TITLE: Kafka CLI Tool

This is a simple command-line interface (CLI) tool for managing Kafka topics.

* Installation

* Usage

** List All Topics

#+begin_src bash
kafcmd -brokers "localhost:9092" -list 
#+end_src

** Create Topic

Without replicationFactor and partitions by default both are 1

#+begin_src bash
kafcmd -brokers "localhost:9092" -create dumy2
#+end_src>

With replicationFactor and paritions

#+begin_src bash
kafcmd -brokers "locatlhost:9092" -brokers "localhost:9092" -create dumy4 -partitions 3 -replication 1
#+end_src>

** Delete Topic

 To delete topic

 #+begin_src bash
 brokers "localhost:9092" -delete dumy1
 #+end_src>

Documentation

The Go Gopher

There is no documentation for this package.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL