Skip to content
This repository has been archived by the owner on May 30, 2024. It is now read-only.

Commit

Permalink
Add listTopics
Browse files Browse the repository at this point in the history
  • Loading branch information
Mick Staugaard committed Jun 11, 2020
1 parent dd26cb7 commit 9a0d5c5
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,12 +3,16 @@
The CLI tools that ship with Kafka are super slow, so I thought I'd implement
a subset of it in GO.

Currently only topic creation and deletion is supported.
Currently only topic creation, deletion and listing is supported.

```
kafkaCLI createTopic --bootstrap-server kafka:9092 --partitions 4 --replication-factor 1 --config message.format.version=2.0 --if-not-exists topic1 topic2
```

```
kafkaCLI deleteTopic --bootstrap-server kafka:9092 topic1 topic2
```

```
kafkaCLI listTopics --bootstrap-server kafka:9092
```

0 comments on commit 9a0d5c5

Please sign in to comment.