Skip to content

Commit

Permalink
Clarify where DataStream.print() and printToErr() print to
Browse files Browse the repository at this point in the history
  • Loading branch information
aljoscha committed Apr 17, 2018
1 parent b005ea3 commit 518adb0
Showing 1 changed file with 6 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -932,6 +932,9 @@ public SingleOutputStreamOperator<T> assignTimestampsAndWatermarks(
*
* <p>For each element of the DataStream the result of {@link Object#toString()} is written.
*
* <p>NOTE: This will print to stdout on the machine where the code is executed, i.e. the Flink
* worker.
*
* @return The closed DataStream.
*/
@PublicEvolving
Expand All @@ -945,6 +948,9 @@ public DataStreamSink<T> print() {
*
* <p>For each element of the DataStream the result of {@link Object#toString()} is written.
*
* <p>NOTE: This will print to stderr on the machine where the code is executed, i.e. the Flink
* worker.
*
* @return The closed DataStream.
*/
@PublicEvolving
Expand Down

0 comments on commit 518adb0

Please sign in to comment.