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

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

                Author: ASF GitHub Bot
            Created on: 15/Oct/18 13:07
            Start Date: 15/Oct/18 13:07
    Worklog Time Spent: 10m 
      Work Description: mxm commented on a change in pull request #6637: 
[BEAM-5707] Add a periodic, streaming impulse source for Flink portable 
pipelines
URL: https://github.com/apache/beam/pull/6637#discussion_r225158157
 
 

 ##########
 File path: sdks/python/apache_beam/examples/flink/flink_streaming_impulse.py
 ##########
 @@ -0,0 +1,78 @@
+#
+# Licensed to the Apache Software Foundation (ASF) under one or more
+# contributor license agreements.  See the NOTICE file distributed with
+# this work for additional information regarding copyright ownership.
+# The ASF licenses this file to You under the Apache License, Version 2.0
+# (the "License"); you may not use this file except in compliance with
+# the License.  You may obtain a copy of the License at
+#
+#    http://www.apache.org/licenses/LICENSE-2.0
+#
+# Unless required by applicable law or agreed to in writing, software
+# distributed under the License is distributed on an "AS IS" BASIS,
+# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+# See the License for the specific language governing permissions and
+# limitations under the License.
+#
+
+"""A streaming workflow that uses a synthetic streaming source.
+
+This can only be used with the Flink portable runner.
 
 Review comment:
   I wonder how meaningful this example is here? It would be nice to convert 
this into a streaming test case as part of the portable runner tests, e.g. add 
tests to `flink_runner_test.py`.

----------------------------------------------------------------
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:
us...@infra.apache.org


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

    Worklog Id:     (was: 154284)
    Time Spent: 2.5h  (was: 2h 20m)

> Add a portable Flink streaming synthetic source for testing
> -----------------------------------------------------------
>
>                 Key: BEAM-5707
>                 URL: https://issues.apache.org/jira/browse/BEAM-5707
>             Project: Beam
>          Issue Type: Improvement
>          Components: runner-flink
>            Reporter: Micah Wylde
>            Assignee: Aljoscha Krettek
>            Priority: Minor
>          Time Spent: 2.5h
>  Remaining Estimate: 0h
>
> Currently there are no built-in streaming sources for portable pipelines. 
> This makes it hard to test streaming functionality in the Python SDK.
> It would be very useful to add a periodic impulse source that (with some 
> configurable frequency) outputs an empty byte array, which can then be 
> transformed as desired inside the python pipeline. More context in this 
> [mailing list 
> discussion|https://lists.apache.org/thread.html/b44a648ab1d0cb200d8bfe4b280e9dad6368209c4725609cbfbbe410@%3Cdev.beam.apache.org%3E].



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

Reply via email to