public class TMSAlertPublisher extends AlertPublisher
| Modifier and Type | Class and Description |
|---|---|
static class |
TMSAlertPublisher.Conf
Plugin conf.
|
| Modifier and Type | Field and Description |
|---|---|
static String |
NAME |
static PluginClass |
PLUGIN_CLASS |
PLUGIN_TYPE| Constructor and Description |
|---|
TMSAlertPublisher(TMSAlertPublisher.Conf conf) |
| Modifier and Type | Method and Description |
|---|---|
static ETLPlugin |
getPlugin(String topic,
String namespace) |
void |
initialize(AlertPublisherContext context) |
void |
publish(Iterator<Alert> alerts) |
configurePipeline, destroy, getContextpublic static final PluginClass PLUGIN_CLASS
public static final String NAME
public TMSAlertPublisher(TMSAlertPublisher.Conf conf)
public void initialize(AlertPublisherContext context) throws Exception
initialize in interface StageLifecycle<AlertPublisherContext>initialize in class AlertPublisherExceptionpublic void publish(Iterator<Alert> alerts) throws Exception
publish in class AlertPublisherExceptionCopyright © 2017 Cask Data, Inc. Licensed under the Apache License, Version 2.0.