posted 4 years ago
Sorry - ignore that previous post. I didn't notice that you mentioned Flink in the subject of your post.
I have never looked a Flink before, but I was able to compile your code without errors. Since you don't have a data sink in your example, your function won't be executed when the application is run, so it not obvious what issue you might be finding.