[ 
https://issues.apache.org/jira/browse/FLINK-8667?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16380348#comment-16380348
 ] 

ASF GitHub Bot commented on FLINK-8667:
---------------------------------------

Github user kl0u commented on a diff in the pull request:

    https://github.com/apache/flink/pull/5500#discussion_r171252385
  
    --- Diff: 
flink-streaming-java/src/main/java/org/apache/flink/streaming/api/functions/co/KeyedBroadcastProcessFunction.java
 ---
    @@ -163,12 +163,16 @@ public void onTimer(final long timestamp, final 
OnTimerContext ctx, final Collec
        /**
         * Information available in an invocation of {@link #onTimer(long, 
OnTimerContext, Collector)}.
         */
    -   public abstract class OnTimerContext extends KeyedReadOnlyContext {
    +   public abstract class OnTimerContext<KS> extends KeyedReadOnlyContext {
    --- End diff --
    
    You can remove the `<KS>` as done in 
https://github.com/apache/flink/pull/5481 


> expose key in KeyedBroadcastProcessFunction#onTimer()
> -----------------------------------------------------
>
>                 Key: FLINK-8667
>                 URL: https://issues.apache.org/jira/browse/FLINK-8667
>             Project: Flink
>          Issue Type: Improvement
>    Affects Versions: 1.5.0
>            Reporter: Bowen Li
>            Assignee: Bowen Li
>            Priority: Major
>             Fix For: 1.5.0
>
>
> [~aljoscha] [~pnowojski]  
> Since KeyedBroadcastProcessFunction is about to get out of the door, I think 
> it will be great to expose the timer's key in KeyedBroadcastProcessFunction 
> too. If we don't do it now, it will be much more difficult to add the feature 
> on later because of user app compatibility issue.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

Reply via email to