Thursday, October 17, 2019

Apache Flink java example

 Run D:\apps\flink-1.9.0>.\bin\flink.bat run .\examples\batch\WordCount.jar


 
Also find the source in github.
Clone the flink examples https://github.com/apache/flink.git to local d:\apps\dvp\flink

Also able to run the streaming example :
D:\apps\flink-1.9.0>.\bin\flink.bat run .\examples\streaming\SocketWindowWordCount.jar --port 9000

I have ubuntu installed in my windows subsystem.
So in the following screen, the left side show the linux command line.
The right side is java output from console.




No comments: