How to use Flink Java API to count distinct in a DataStream

Viewed 1551

I met with the same problem as How to count unique words in a stream? in Flink programming. However, the answer used Scala API to solve the problem. Does Flink Java API support filterWithState transform ? Can Java API solve the problem?

1 Answers
Related