public class WordCountRemoteByClient extends Object
StormTopology
and submitted to Flink for execution in the
same way as to a Storm cluster similar to NimbusClient
. The Flink cluster can be local or remote.
This example shows how to submit the program via Java, thus it cannot be used to submit a StormTopology
via
Flink command line clients (ie, bin/flink).
The input is a plain text file with lines separated by newline characters.
Usage: WordCountRemoteByClient <text path> <result path>
If no parameters are provided, the program is run with default data from WordCountData
.
This example shows how to:
Constructor and Description |
---|
WordCountRemoteByClient() |
public static void main(String[] args) throws org.apache.storm.generated.AlreadyAliveException, org.apache.storm.generated.InvalidTopologyException, org.apache.storm.generated.NotAliveException
org.apache.storm.generated.AlreadyAliveException
org.apache.storm.generated.InvalidTopologyException
org.apache.storm.generated.NotAliveException
Copyright © 2014–2018 The Apache Software Foundation. All rights reserved.