[
https://issues.apache.org/jira/browse/BEAM-11022?focusedWorklogId=496079&page=com.atlassian.jira.plugin.system.issuetabpanels:worklog-tabpanel#worklog-496079
]
ASF GitHub Bot logged work on BEAM-11022:
-----------------------------------------
Author: ASF GitHub Bot
Created on: 06/Oct/20 18:08
Start Date: 06/Oct/20 18:08
Worklog Time Spent: 10m
Work Description: boyuanzz commented on a change in pull request #12952:
URL: https://github.com/apache/beam/pull/12952#discussion_r500496949
##########
File path: sdks/python/apache_beam/runners/portability/flink_runner_test.py
##########
@@ -427,11 +427,29 @@ def test_sql(self):
class FlinkRunnerTestStreaming(FlinkRunnerTest):
+ def __init__(self, *args, **kwargs):
+ super(FlinkRunnerTestStreaming, self).__init__(*args, **kwargs)
+ self.enable_commit = False
+
+ def setUp(self):
+ self.enable_commit = False
+
def create_options(self):
options = super(FlinkRunnerTestStreaming, self).create_options()
options.view_as(StandardOptions).streaming = True
+ if self.enable_commit:
+ options._all_options['checkpointing_interval'] = 3000
+ options._all_options['shutdown_sources_after_idle_ms'] = 60000
return options
+ def test_callbacks_with_exception(self):
+ self.enable_commit = True
+ super(FlinkRunnerTest, self).test_callbacks_with_exception()
+
+ def test_register_finalizations(self):
+ self.enable_commit = True
+ super(FlinkRunnerTest, self).test_register_finalizations()
Review comment:
If we can have bundle finalization not rely on checkpoint, that would be
really good. I'm curious does it only require changes in Beam or it also
requires some updates on Flink side like the batch support we need mentioned in
https://lists.apache.org/thread.html/r89c74f4020cd15d3c1a4b84ef78d7da4f67824e1b5e2210f4c5c1f40%40%3Cdev.flink.apache.org%3E.
----------------------------------------------------------------
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: 496079)
Time Spent: 50m (was: 40m)
> Portable Flink runner support bundle finalization in Streaming
> --------------------------------------------------------------
>
> Key: BEAM-11022
> URL: https://issues.apache.org/jira/browse/BEAM-11022
> Project: Beam
> Issue Type: Sub-task
> Components: runner-flink
> Reporter: Boyuan Zhang
> Priority: P2
> Time Spent: 50m
> Remaining Estimate: 0h
>
--
This message was sent by Atlassian Jira
(v8.3.4#803005)