public interface SparkStreamingModuleExecutor<I,P extends SparkStreamingSupport>
SparkMessageSender
.Modifier and Type | Method and Description |
---|---|
void |
execute(I input,
P processor,
SparkMessageSender sender)
The execute method that runs the computation on input by invoking the underlying
processor's process method and make the output available for
$
SparkMessageSender if needed. |
void execute(I input, P processor, SparkMessageSender sender)
SparkMessageSender
if needed.input
- the input received by the spark streaming receiverprocessor
- the underlying processor implementation (java or scala based)sender
- the message sender