Flink problem

classic Classic list List threaded Threaded
3 messages Options
Reply | Threaded
Open this post in threaded view
|

Flink problem

ゞ野蠻遊戲χ
hi all

     For example, if A user message A (uerId: 001) is reported, and no record is reported again by userId: 001 within 10 minutes, record A will be sent out. How can this be achieved in Flink?

Thanks
Jiazhi

Reply | Threaded
Open this post in threaded view
|

Re: Flink problem

Xintong Song
What you're looking for might be Session Window[1].

Thank you~

Xintong Song



On Fri, Feb 19, 2021 at 7:35 PM ゞ野蠻遊戲χ <[hidden email]> wrote:
hi all

     For example, if A user message A (uerId: 001) is reported, and no record is reported again by userId: 001 within 10 minutes, record A will be sent out. How can this be achieved in Flink?

Thanks
Jiazhi


发自我的iPhone
Reply | Threaded
Open this post in threaded view
|

Re: Flink problem

张光辉
In reply to this post by ゞ野蠻遊戲χ
Can you tell what to do when the record is reported again by userId:001 within 10 minutes, for example buffer it or keep the only one ?

ゞ野蠻遊戲χ <[hidden email]> 于2021年2月19日周五 下午7:35写道:
hi all

     For example, if A user message A (uerId: 001) is reported, and no record is reported again by userId: 001 within 10 minutes, record A will be sent out. How can this be achieved in Flink?

Thanks
Jiazhi


发自我的iPhone