This should be used in conjunction with the Spark Sink running in a Flume agent. See
the Spark Streaming programming guide for more details.
Usage: FlumePollingEventCount <host> <port>
host is the host on which the Spark Sink is running.
port is the port at which the Spark Sink is listening.
To run this example:
$ bin/run-example org.apache.spark.examples.streaming.FlumePollingEventCount [host] [port]
Produces a count of events received from Flume.
This should be used in conjunction with the Spark Sink running in a Flume agent. See the Spark Streaming programming guide for more details.
Usage: FlumePollingEventCount <host> <port>
host
is the host on which the Spark Sink is running.port
is the port at which the Spark Sink is listening.To run this example:
$ bin/run-example org.apache.spark.examples.streaming.FlumePollingEventCount [host] [port]