On Flink 1.11 DataStream API page, there is a WindowWordCount program which uses keyBy(), however, this method is deprecated, I couldn't find any examples as to how to rewrite it without using keyBy(). Any suggestions will be much appreciated.
I use Intellij; it warns keyBy() is deprecated. This is the only link I could find.