[ https://issues.apache.org/jira/browse/FLINK-14950?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16984853#comment-16984853 ]
Biao Liu commented on FLINK-14950: ---------------------------------- Hi [~wind_ljy], thanks for explanation. I'm not sure I have fully understood your requirement. I guess there are a lot of other details in your scenario. Anyway regardless others, it seems that you want a periodic checking for each key (chatting room) in window operator. I'm wondering it's general enough. For example, what if someone else wants a periodic checking based on other fields (not the key)? It's a bit customized from my perspective. > Support getKey in WindowOperator.Context > ---------------------------------------- > > Key: FLINK-14950 > URL: https://issues.apache.org/jira/browse/FLINK-14950 > Project: Flink > Issue Type: Improvement > Components: API / DataStream > Affects Versions: 1.9.1 > Reporter: Jiayi Liao > Priority: Major > > In our scenario, user needs to access the key of {{WindowOperator.Context}} > to determine how to deal with the window. > I think it's reasonable to support {{getKey()}} method in > {{WindowOperator.Context}}. > cc [~aljoscha] -- This message was sent by Atlassian Jira (v8.3.4#803005)