je-ik commented on code in PR #41519:
URL: https://github.com/apache/beam/pull/41519#discussion_r4693462464


##########
runners/flink/src/main/java/org/apache/beam/runners/flink/translation/wrappers/streaming/stableinput/BufferingDoFnRunner.java:
##########
@@ -163,7 +202,8 @@ private BufferingDoFnRunner(
       @Nullable KeyedStateBackend keyedStateBackend,
       @Nullable Supplier<Locker> locker,
       @Nullable Function<InputT, Object> keySelector,
-      @Nullable Runnable finishBundleCallback)
+      @Nullable Runnable finishBundleCallback,
+      @Nullable Supplier<?> timerKeySupplier)

Review Comment:
   Seems this would logically belong below keySelector. But is it the case that 
we actually pass only `(keyedStateBackend != null ? keyedStateBackend.getKey() 
: null)` to this? Can we just check it inside the place where we call the 
`timerKeySupplier`?



-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to