[
https://issues.apache.org/jira/browse/BEAM-4681?focusedWorklogId=167268&page=com.atlassian.jira.plugin.system.issuetabpanels:worklog-tabpanel#worklog-167268
]
ASF GitHub Bot logged work on BEAM-4681:
----------------------------------------
Author: ASF GitHub Bot
Created on: 18/Nov/18 22:13
Start Date: 18/Nov/18 22:13
Worklog Time Spent: 10m
Work Description: tweise commented on a change in pull request #7008:
[BEAM-4681] Add support for portable timers in Flink batch mode
URL: https://github.com/apache/beam/pull/7008#discussion_r234464322
##########
File path:
runners/flink/src/main/java/org/apache/beam/runners/flink/translation/wrappers/streaming/DoFnOperator.java
##########
@@ -918,6 +922,16 @@ public TimerInternals timerInternals() {
class FlinkTimerInternals implements TimerInternals {
+ /** Pending timers which are necessary for supporting removal of existing
timers. */
+ private final MapState<String, TimerData> pendingTimersById;
+
+ private FlinkTimerInternals() {
+ MapStateDescriptor<String, TimerData> pendingTimersByIdStateDescriptor =
+ new MapStateDescriptor<>(
+ "timer-dedup", new StringSerializer(), new
CoderTypeSerializer<>(timerCoder));
Review comment:
"timer-dedup" => "pending-timers" ?
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on 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: 167268)
Time Spent: 22h 10m (was: 22h)
> Integrate support for timers using the portability APIs into Flink
> ------------------------------------------------------------------
>
> Key: BEAM-4681
> URL: https://issues.apache.org/jira/browse/BEAM-4681
> Project: Beam
> Issue Type: Sub-task
> Components: runner-flink
> Reporter: Luke Cwik
> Assignee: Maximilian Michels
> Priority: Major
> Labels: portability, portability-flink
> Fix For: 2.9.0
>
> Time Spent: 22h 10m
> Remaining Estimate: 0h
>
> Consider using the code produced in BEAM-4658 to support timers.
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)