提交 4f8d01fb 编写于 作者: B Bowen Li 提交者: Aljoscha Krettek

[doc] Add ProcessWindowFunction to side output doc

上级 39682c45
......@@ -55,9 +55,15 @@ val outputTag = OutputTag[String]("side-output")
Notice how the `OutputTag` is typed according to the type of elements that the side output stream
contains.
Emitting data to a side output is only possible from within a
[ProcessFunction]({{ site.baseurl }}/dev/stream/operators/process_function.html). You can use the `Context` parameter
to emit data to a side output identified by an `OutputTag`:
Emitting data to a side output is possible from the following functions:
- [ProcessFunction]({{ site.baseurl }}/dev/stream/operators/process_function.html)
- [ProcessWindowFunction]({{ site.baseurl }}/dev/windows.html#processwindowfunction)
- ProcessAllWindowFunction
You can use the `Context` parameter, which is exposed to users in the above functions, to emit
data to a side output identified by an `OutputTag`. Here is an example of emitting side output
data from a `ProcessFunction`:
<div class="codetabs" markdown="1">
<div data-lang="java" markdown="1">
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册