public abstract class AbstractStreamPlugin extends AbstractMessageBusBinderPlugin
AbstractMessageBusBinderPlugin
and has common implementation methods related to
stream plugins.JOB_CHANNEL_PREFIX, messageBus, MODULE_INPUT_CHANNEL, MODULE_OUTPUT_CHANNEL, TAP_CHANNEL_PREFIX, TOPIC_CHANNEL_PREFIX
logger, PLUGIN_CONTEXT_CONFIG_ROOT
Constructor and Description |
---|
AbstractStreamPlugin(MessageBus messageBus) |
AbstractStreamPlugin(MessageBus messageBus,
ZooKeeperConnection zkConnection) |
Modifier and Type | Method and Description |
---|---|
protected java.lang.String |
buildTapChannelName(Module module) |
protected java.lang.String |
getInputChannelName(Module module) |
protected java.lang.String |
getOutputChannelName(Module module) |
boolean |
supports(Module module)
Check if the module is supported by the plugin.
|
beforeShutdown, bindConsumerAndProducers, extractConsumerProducerProperties, getOrder, removeModule, unbindConsumer, unbindProducers
getApplicationContext, postProcessModule, preProcessModule, setApplicationContext
public AbstractStreamPlugin(MessageBus messageBus)
public AbstractStreamPlugin(MessageBus messageBus, ZooKeeperConnection zkConnection)
protected java.lang.String getInputChannelName(Module module)
getInputChannelName
in class AbstractMessageBusBinderPlugin
protected java.lang.String getOutputChannelName(Module module)
getOutputChannelName
in class AbstractMessageBusBinderPlugin
protected java.lang.String buildTapChannelName(Module module)
buildTapChannelName
in class AbstractMessageBusBinderPlugin