Hello Diana,

How can I include this implementation in my code, in terms of start this
task together the NetworkWordCount.

In my case, I have a directory with several files.

Then,
I include this line:
  StreamingDataGenerator.streamingGenerator(NetPort, BytesSecond, DirFiles)

But the program stays in my loop of files.
And after returning to NetworkWordCount.

Can you suggest me something to start these tasks in parallel?
Thanks!



--
View this message in context: 
http://apache-spark-user-list.1001560.n3.nabble.com/streaming-code-to-simulate-a-network-socket-data-source-tp3431p13814.html
Sent from the Apache Spark User List mailing list archive at Nabble.com.

---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscr...@spark.apache.org
For additional commands, e-mail: user-h...@spark.apache.org

Reply via email to