Skip to content

Commit

Permalink
Add a readme
Browse files Browse the repository at this point in the history
  • Loading branch information
mouminoux committed Apr 5, 2019
1 parent 1c9d0a3 commit 534bb58
Show file tree
Hide file tree
Showing 2 changed files with 18 additions and 1 deletion.
17 changes: 17 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
# Kafkacli

Kafkacli is a consumer and producer client for Apache Kafka.

### Usage:
```
kafkacli [-b] -t... [--from-beginning] [-g] [-m] [-h...]
Options:
-b, --broker brokers (default "localhost:9092")
-t, --topic topic
--from-beginning start with the earliest message
-g, --consumer-group consumer group id
-m, --message message message
-h, --header message header <key=value>
```
2 changes: 1 addition & 1 deletion kafkacli.go
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ import (
)

func main() {
app := cli.App("kafkacli", "Kafka consumer")
app := cli.App("kafkacli", "Kafkacli")
app.Spec = "[-b] -t... [--from-beginning] [-g] [-m] [-h...]"
var (
bootstrapServers = app.StringOpt("b broker brokers", "localhost:9092", "brokers")
Expand Down

0 comments on commit 534bb58

Please sign in to comment.