Big Data_Flink_Java Edition_Data Processing_Window_API(3)_Counting Window Test---Flink Working Note 0048

You can see the trigger here, which has been touched. He can define when the window is closed, trigger the calculation and output the result.

Then this .evictor is to remove some data that does not meet the requirements in the data flowing in.

First, let's take a look at and this, how to use trigger, you can see, it is .trigger, and then new Trigger, right?

Then look at the .evictor remover here, you can see that it is also a new Evictor, so you can use it, right?

Take a look at these two for yourself, they are generally not used much.

Guess you like

Origin blog.csdn.net/lidew521/article/details/123346181