public class SparkStreamingPlugin extends AbstractStreamPlugin
MessageBus
to receive/send messages.JOB_CHANNEL_PREFIX, messageBus, MODULE_INPUT_CHANNEL, MODULE_OUTPUT_CHANNEL
PLUGIN_CONTEXT_CONFIG_ROOT
Constructor and Description |
---|
SparkStreamingPlugin(MessageBus messageBus) |
Modifier and Type | Method and Description |
---|---|
void |
beforeShutdown(Module module)
Perform any cleanup necessary prior to module shutdown
|
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
bindConsumerAndProducers, extractConsumerProducerProperties, extractHistoryProperties, getOrder, removeModule, unbindConsumer, unbindProducers
getApplicationContext, preProcessModule, setApplicationContext
@Autowired public SparkStreamingPlugin(MessageBus messageBus)
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-processpublic void beforeShutdown(Module module)
Plugin
beforeShutdown
in interface Plugin
beforeShutdown
in class AbstractMessageBusBinderPlugin
module
- the module to cleanup