1KCAT(1)                   BSD General Commands Manual                  KCAT(1)
2

NAME

4     kcat — generic producer and consumer for Apache Kafka
5

SYNOPSIS

7     kcat -C | -P | -L -t topic [-p partition] -b brokers [, ...] [-D delim]
8          [-K delim] [-c cnt] [-X list] [-X prop=val] [-X dump]
9          [-d dbg [, ...]] [-q] [-v] [-Z] [specific options]
10     kcat -C [generic options] [-o offset] [-e] [-O] [-u] [-J] [-f fmtstr]
11     kcat -P [generic options] [-z snappy | gzip] [-p -1] [file [...]]
12     kcat -L [generic options] [-t topic]
13

DESCRIPTION

15     kcat is a generic non-JVM producer and consumer for Apache Kafka 0.8,
16     think of it as a netcat for Kafka.
17
18     In producer mode ( -P ), kcat reads messages from stdin, delimited with a
19     configurable delimeter and produces them to the provided Kafka cluster,
20     topic and partition. In consumer mode ( -C ), kcat reads messages from a
21     topic and partition and prints them to stdout using the configured mes‐
22     sage delimiter.
23
24     If neither -P or -C are specified kcat attempts to figure out the mode
25     automatically based on stdin/stdout tty types.
26
27     kcat also features a metadata list mode ( -L ), to display the current
28     state of the Kafka cluster and its topics and partitions.
29

SEE ALSO

31     For a more extensive help and some simple examples, run kcat with -h
32     flag.
33
34BSD                            December 09, 2014                           BSD
Impressum