Re: How to write junit testcases for KeyedBroadCastProcess Function

2020-07-17 Thread David Anderson
You could approach testing this in the same way that Flink has implemented its unit tests for KeyedBroadcastProcessFunctions, which is to use a KeyedTwoInputStreamOperatorTestHarness with a CoBroadcastWithKeyedOperator. To learn how to use Flink's test harnesses, see [1], and for an example of test

How to write junit testcases for KeyedBroadCastProcess Function

2020-07-15 Thread bujjirahul45
Hi, I am new to flink i am trying write junit test cases to test KeyedBroadCastProcessFunction. Below is my code ,i am currently calling the getDataStreamOutput method in TestUtils class and passing inputdata and patternrules to method once the input data is evaluated against list of pattern rules