public abstract class FlinkRuntime<B extends org.streampipes.wrapper.params.binding.BindingParams<I>,I extends org.streampipes.model.base.InvocableStreamPipesEntity> extends DistributedRuntime<B,I> implements Runnable, Serializable
| Modifier and Type | Field and Description |
|---|---|
protected FlinkDeploymentConfig |
config |
protected org.apache.flink.streaming.api.TimeCharacteristic |
streamTimeCharacteristic |
bindingParams, params| Constructor and Description |
|---|
FlinkRuntime(B bindingParams)
Deprecated.
Use
FlinkRuntime(BindingParams, boolean) instead |
FlinkRuntime(B bindingParams,
boolean debug) |
FlinkRuntime(B bindingParams,
FlinkDeploymentConfig config)
Deprecated.
Use
FlinkRuntime(BindingParams, boolean) instead |
| Modifier and Type | Method and Description |
|---|---|
void |
appendEnvironmentConfig(org.apache.flink.streaming.api.environment.StreamExecutionEnvironment env)
This method can be called in case additional environment settings should be applied to the runtime.
|
protected abstract void |
appendExecutionConfig(org.apache.flink.streaming.api.datastream.DataStream<Map<String,Object>>... convertedStream) |
void |
bindRuntime() |
void |
discardRuntime() |
protected abstract FlinkDeploymentConfig |
getDeploymentConfig() |
void |
postDiscard() |
void |
prepareRuntime() |
void |
run() |
void |
setStreamTimeCharacteristic(org.apache.flink.streaming.api.TimeCharacteristic streamTimeCharacteristic) |
getGraph, getJmsProtocol, getKafkaUrl, getProperties, getTopic, isKafkaProtocol, protocol, replaceWildcardWithPatternFormatprotected org.apache.flink.streaming.api.TimeCharacteristic streamTimeCharacteristic
protected FlinkDeploymentConfig config
@Deprecated public FlinkRuntime(B bindingParams)
FlinkRuntime(BindingParams, boolean) instead@Deprecated public FlinkRuntime(B bindingParams, FlinkDeploymentConfig config)
FlinkRuntime(BindingParams, boolean) insteadpublic FlinkRuntime(B bindingParams, boolean debug)
protected abstract FlinkDeploymentConfig getDeploymentConfig()
protected abstract void appendExecutionConfig(org.apache.flink.streaming.api.datastream.DataStream<Map<String,Object>>... convertedStream)
public void setStreamTimeCharacteristic(org.apache.flink.streaming.api.TimeCharacteristic streamTimeCharacteristic)
public void prepareRuntime()
throws org.streampipes.commons.exceptions.SpRuntimeException
prepareRuntime in class org.streampipes.wrapper.runtime.PipelineElementRuntimeorg.streampipes.commons.exceptions.SpRuntimeExceptionpublic void postDiscard()
throws org.streampipes.commons.exceptions.SpRuntimeException
postDiscard in class org.streampipes.wrapper.runtime.PipelineElementRuntimeorg.streampipes.commons.exceptions.SpRuntimeExceptionpublic void bindRuntime()
throws org.streampipes.commons.exceptions.SpRuntimeException
bindRuntime in class org.streampipes.wrapper.runtime.PipelineElementRuntimeorg.streampipes.commons.exceptions.SpRuntimeExceptionpublic void discardRuntime()
throws org.streampipes.commons.exceptions.SpRuntimeException
discardRuntime in class org.streampipes.wrapper.runtime.PipelineElementRuntimeorg.streampipes.commons.exceptions.SpRuntimeExceptionpublic void appendEnvironmentConfig(org.apache.flink.streaming.api.environment.StreamExecutionEnvironment env)
env - The Stream Execution environmentCopyright © 2018. All rights reserved.