public class FlinkTopology extends Object
FlinkTopology translates a TopologyBuilder to a Flink program.
CAUTION: StateSpouts are currently not supported.| Modifier and Type | Method and Description |
|---|---|
static FlinkTopology |
createTopology(backtype.storm.topology.TopologyBuilder stormBuilder)
Creates a Flink program that uses the specified spouts and bolts.
|
org.apache.flink.api.common.JobExecutionResult |
execute()
Directly executes the Storm topology based on the current context (local when in IDE and
remote when executed through ./bin/flink).
|
StreamExecutionEnvironment |
getExecutionEnvironment()
Returns the underlying Flink
StreamExecutionEnvironment for the Storm topology. |
backtype.storm.generated.StormTopology |
getStormTopology() |
public static FlinkTopology createTopology(backtype.storm.topology.TopologyBuilder stormBuilder)
stormBuilder - The Storm topology builder to use for creating the Flink topology.FlinkTopology which contains the translated Storm topology and may be executed.public StreamExecutionEnvironment getExecutionEnvironment()
StreamExecutionEnvironment for the Storm topology.public org.apache.flink.api.common.JobExecutionResult execute()
throws Exception
JobExecutionResult after the execution of the Storm topology.Exception - which occurs during execution of the translated Storm topology.public backtype.storm.generated.StormTopology getStormTopology()
Copyright © 2014–2016 The Apache Software Foundation. All rights reserved.