[ 
https://issues.apache.org/jira/browse/BEAM-9562?focusedWorklogId=412789&page=com.atlassian.jira.plugin.system.issuetabpanels:worklog-tabpanel#worklog-412789
 ]

ASF GitHub Bot logged work on BEAM-9562:
----------------------------------------

                Author: ASF GitHub Bot
            Created on: 31/Mar/20 02:37
            Start Date: 31/Mar/20 02:37
    Worklog Time Spent: 10m 
      Work Description: boyuanzz commented on pull request #11199: 
[BEAM-9562][WIP] Update Timer encoding with respect of dynamic timers
URL: https://github.com/apache/beam/pull/11199#discussion_r400607853
 
 

 ##########
 File path: 
runners/core-construction-java/src/main/java/org/apache/beam/runners/core/construction/Timer.java
 ##########
 @@ -40,14 +49,26 @@
 @AutoValue
 public abstract class Timer<T> {
 
-  /** Returns a timer for the given timestamp with a {@code null} payload. */
-  public static Timer<Void> of(Instant time) {
-    return of(time, (Void) null);
+  /**
+   * Returns a timer for the given timestamp with a user specified payload.
+   *
+   * @return
+   */
+  // TODO(BEAM-9562): Plumb through actual Timer fields.
+  public static <T> Timer<T> of(
 
 Review comment:
   Thanks for you suggestion! I really like this idea. I planned to refine the 
signature when moving to data channel, but I can do it in this PR.
 
----------------------------------------------------------------
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.
 
For queries about this service, please contact Infrastructure at:
[email protected]


Issue Time Tracking
-------------------

    Worklog Id:     (was: 412789)
    Time Spent: 7h 40m  (was: 7.5h)

> Remove timer from PCollection and treat timers as Elements 
> -----------------------------------------------------------
>
>                 Key: BEAM-9562
>                 URL: https://issues.apache.org/jira/browse/BEAM-9562
>             Project: Beam
>          Issue Type: New Feature
>          Components: sdk-py-harness
>            Reporter: Boyuan Zhang
>            Assignee: Boyuan Zhang
>            Priority: Major
>          Time Spent: 7h 40m
>  Remaining Estimate: 0h
>




--
This message was sent by Atlassian Jira
(v8.3.4#803005)

Reply via email to