Generates streaming events to simulate page views on a website.
This should be used in tandem with PageViewStream.scala. Example:
$ ./bin/run-example org.apache.spark.streaming.examples.clickstream.PageViewGenerator 44444 10
$ ./bin/run-example org.apache.spark.streaming.examples.clickstream.PageViewStream errorRatePerZipCode localhost 44444
When running this, you may want to set the root logging level to ERROR in
conf/log4j.properties to reduce the verbosity of the output.
Generates streaming events to simulate page views on a website.
This should be used in tandem with PageViewStream.scala. Example: $ ./bin/run-example org.apache.spark.streaming.examples.clickstream.PageViewGenerator 44444 10 $ ./bin/run-example org.apache.spark.streaming.examples.clickstream.PageViewStream errorRatePerZipCode localhost 44444
When running this, you may want to set the root logging level to ERROR in conf/log4j.properties to reduce the verbosity of the output.