Kafka Alert Publisher

Plugin version: 3.2.0

Kafka Alert Publisher that allows you to publish alerts to Kafka as JSON objects. The plugin internally uses Kafka producer APIs to publish alerts. The plugin allows to specify Kafka topic to use for publishing and other additional Kafka producer properties. This plugin uses Kafka 0.10.2 java APIs.

Configuration

Property

Macro Enabled?

Description

Property

Macro Enabled?

Description

Kafka Brokers

Yes

Required. List of Kafka brokers specified in host1:port1,host2:port2 form.

Kafka Topic

Yes

Required. The Kafka topic to write to. This topic should already exist in Kafka.

Additional Kafka Producer Properties

No

Optional. Specifies additional Kafka producer properties like acks, client.id as key and value pair.

Kerberos Principal

Yes

Optional. The kerberos principal used for the source when kerberos security is enabled for Kafka.

Keytab Location

Yes

Optional. The keytab location for the kerberos principal when kerberos security is enabled for Kafka.

Example

This example publishes alerts to already existing Kafka topic alarm as json objects. The Kafka broker is running at localhost and port 9092. Additional Kafka producer properties are like acks and client.id are specified as well.

Property

Value

Property

Value

Kafka Brokers

localhost:9092

Kafka Topic

alarm

Additional Kafka Producer Properties

acks:2,client.id:myclient

 

Created in 2020 by Google Inc.