public class WordCountRemoteBySubmitter extends Object
StormTopology
and submitted to Flink for execution in the
same way as to a Storm cluster similar to StormSubmitter
. The Flink cluster can be local or remote.
This example shows how to submit the program via Java as well as Flink's command line client (ie, bin/flink).
The input is a plain text file with lines separated by newline characters.
Usage: WordCountRemoteBySubmitter <text path> <result path>
If no parameters are provided, the program is run with default data from WordCountData
.
This example shows how to:
Modifier and Type | Field and Description |
---|---|
static String |
topologyId |
Constructor and Description |
---|
WordCountRemoteBySubmitter() |
public static final String topologyId
Copyright © 2014–2017 The Apache Software Foundation. All rights reserved.