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

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

                Author: ASF GitHub Bot
            Created on: 25/Aug/20 14:19
            Start Date: 25/Aug/20 14:19
    Worklog Time Spent: 10m 
      Work Description: kamilwu commented on a change in pull request #12435:
URL: https://github.com/apache/beam/pull/12435#discussion_r476485871



##########
File path: sdks/python/apache_beam/testing/load_tests/pardo_test.py
##########
@@ -125,7 +125,9 @@ def process(self, element, state=state_param):
             state.add(1)
         yield element
 
-    if self.get_option_or_default('streaming', False):
+    if self.get_option_or_default(
+        'streaming',
+        False) and self.pipeline.get_option('runner') == "PortableRunner":

Review comment:
       Actually, `StatefulLoadGenerator` is no longer required to enable 
streaming for Flink (please do note I'm using `Flink` instead of 
`PortableRunner`. `PortableRunner` can run pipelines on any engine that 
supports portability, Flink included). SyntheticSource executes as SDF 
(Splittable DoFn). Since Python SDK supports streaming SDF 
(https://issues.apache.org/jira/browse/BEAM-3742), SyntheticSource should work 
on Flink.
   
   @mxm We'd love to hear your opinion. Should streaming ParDo tests for Flink 
still use `StatefulLoadGenerator`?




----------------------------------------------------------------
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: 474343)
    Time Spent: 5h 40m  (was: 5.5h)

> Create Streaming ParDo Python Load Test Jenkins Job
> ---------------------------------------------------
>
>                 Key: BEAM-10616
>                 URL: https://issues.apache.org/jira/browse/BEAM-10616
>             Project: Beam
>          Issue Type: Sub-task
>          Components: testing
>            Reporter: Kasia Kucharczyk
>            Assignee: Kasia Kucharczyk
>            Priority: P2
>          Time Spent: 5h 40m
>  Remaining Estimate: 0h
>
> ParDo core operation load tests for streaming with 4 tests cases that loads 
> data from SyntheticSources and runs on Dataflow.



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

Reply via email to