Enable the Kafka Producer
The Kafka Producer is disabled by default and can be enabled as follows.
First, log in to the Karaf shell of your Horizon instance and configure the Kafka client settings to point to your Kafka broker. See Producer Configs for a complete list of available options.
ssh -p 8101 admin@localhost
config:edit org.opennms.features.kafka.producer.client config:property-set bootstrap.servers kafka-broker-ip:9092 (1) config:update
|1||Set the Kafka broker IP by replacing the kafka-broker-ip and port you want to connect to.
Add multiple hosts in a comma-separated list, for example,
Next, install the
opennms-kafka-producer feature from that same shell using:
To ensure that the feature continues to be installed on subsequent restarts, add
opennms-kafka-producer to the
featuresBoot property in