Class OpenNMSKafkaConsumer
- java.lang.Object
-
- org.opennms.features.kafka.consumer.OpenNMSKafkaConsumer
-
public class OpenNMSKafkaConsumer extends Object
-
-
Field Summary
Fields Modifier and Type Field Description static String
KAFKA_CLIENT_PID
-
Constructor Summary
Constructors Constructor Description OpenNMSKafkaConsumer(org.osgi.service.cm.ConfigurationAdmin configAdmin, EventForwarder eventForwarder)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
init()
void
setEventsTopic(String eventsTopic)
void
shutdown()
-
-
-
Field Detail
-
KAFKA_CLIENT_PID
public static final String KAFKA_CLIENT_PID
- See Also:
- Constant Field Values
-
-
Constructor Detail
-
OpenNMSKafkaConsumer
public OpenNMSKafkaConsumer(org.osgi.service.cm.ConfigurationAdmin configAdmin, EventForwarder eventForwarder)
-
-
Method Detail
-
init
public void init() throws IOException
- Throws:
IOException
-
shutdown
public void shutdown()
-
setEventsTopic
public void setEventsTopic(String eventsTopic)
-
-