HuangXingBo commented on a change in pull request #16672:
URL: https://github.com/apache/flink/pull/16672#discussion_r681410880
##########
File path: flink-python/pyflink/datastream/functions.py
##########
@@ -722,6 +722,83 @@ def on_timer(self, timestamp: int, ctx:
'KeyedProcessFunction.OnTimerContext'):
pass
+class CoProcessFunction(Function):
+ """
+ A function that processes elements of two streams and produces a single
output one.
+
+ The function will be called for every element in the input streams and can
produce zero or
+ more output elements. Contrary to the {@link CoFlatMapFunction}, this
function can also query
+ the time (both event and processing) and set timers, through the provided
{@link Context}. When
Review comment:
ditto
##########
File path: flink-python/pyflink/datastream/functions.py
##########
@@ -722,6 +722,83 @@ def on_timer(self, timestamp: int, ctx:
'KeyedProcessFunction.OnTimerContext'):
pass
+class CoProcessFunction(Function):
+ """
+ A function that processes elements of two streams and produces a single
output one.
+
+ The function will be called for every element in the input streams and can
produce zero or
+ more output elements. Contrary to the {@link CoFlatMapFunction}, this
function can also query
Review comment:
{@link CoFlatMapFunction} -> :class:\`CoFlatMapFunction\`
--
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.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]