SYNOPSIS
kafka_producer.pl [options] [file...]
DESCRIPTION
The script reads messages from the files or stdin and publishes them to Kafka. Each line is considered as a separate message and may contain also a key separated by TAB.
OPTIONS
- topic
-
topic into which produce messages
- brokers
-
comma separated list of brokers. For example:
broker1.mydomain:9092,broker2.mydomain:9092
. - ca-cert
-
path to CA certificate. If not specified then plaintext protocol is used to connect to broker.
- username
- password
-
username and password for authentication if required
- debug
-
print additional debugging information