public class SparkStreamingPlugin extends AbstractStreamPlugin
MessageBus
to receive/send messages.JOB_CHANNEL_PREFIX, messageBus, MODULE_INPUT_CHANNEL, MODULE_OUTPUT_CHANNEL, TAP_CHANNEL_PREFIX, TOPIC_CHANNEL_PREFIX
logger, PLUGIN_CONTEXT_CONFIG_ROOT
Constructor and Description |
---|
SparkStreamingPlugin(MessageBus messageBus,
ZooKeeperConnection zkConnection) |
Modifier and Type | Method and Description |
---|---|
void |
postProcessModule(Module module)
Apply changes to the module after it is initialized i.e. after its context is refreshed, but before it is
started.
|
boolean |
supports(Module module)
Check if the module is supported by the plugin.
|
buildTapChannelName, getInputChannelName, getOutputChannelName
beforeShutdown, bindConsumerAndProducers, extractConsumerProducerProperties, extractHistoryProperties, getOrder, removeModule, unbindConsumer, unbindProducers
getApplicationContext, preProcessModule, setApplicationContext
@Autowired public SparkStreamingPlugin(MessageBus messageBus, ZooKeeperConnection zkConnection)
public boolean supports(Module module)
Plugin
supports
in interface Plugin
supports
in class AbstractStreamPlugin
module
- the module to check for supportpublic void postProcessModule(Module module)
Plugin
postProcessModule
in interface Plugin
postProcessModule
in class AbstractPlugin
module
- the module to post-process