HungUnicorn / flink-test-udf-example

show how to test flink udf including stateful and stateless

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

flink-test-UDF-example

Isn't the example org.apache.flink.streaming.runtime.operators.windowing.WindowOperatorTest documented in offcial flink very complicated? Althought it's very comprehensive and covers most of the cases, this test aims to provide simple and direct example so you get the point spending less time!

Getting started

Run the project in IDE and execute unit tests, including:

For more information, please check https://ci.apache.org/projects/flink/flink-docs-stable/dev/stream/testing.html#unit-testing-stateful-or-timely-udfs--custom-operators to see required dependencies. You can also check pom.xml of this project.

About

show how to test flink udf including stateful and stateless

License:MIT License


Languages

Language:Java 100.0%