Kafka¶
Submit structured messages to Apache Kafka.
$ sudo napalm-logs --publisher kafka
Available options:
bootstrap_servers
¶
host[:port]
string (or list of host[:port]
strings) that the consumer
should contact to bootstrap initial cluster metadata. This does not have to be
the full node list. It just needs to have at least one broker that will respond
to a Metadata API Request.
Example:
publisher:
kafka:
bootstrap_servers:
- kk1.brokers.example.org
- kk1.brokers.example.org:1234
- 192.168.0.1
- 192.168.0.2:5678
topic
: napalm-logs
¶
The Kafka topic to use when publishing messages.
Example:
publisher:
kafka:
topic: napalm-logs-out