Skip to main content
Ctrl+K
PyFlink 1.20+vvr.11.7.dev0 documentation - Home PyFlink 1.20+vvr.11.7.dev0 documentation - Home
  • API Reference
  • Examples
  • API Reference
  • Examples

Section Navigation

  • PyFlink Table
  • PyFlink DataStream
    • StreamExecutionEnvironment
    • DataStream
    • Functions
    • State
    • Timer
    • Window
    • Checkpoint
    • Side Outputs
    • Asynchronous I/O
    • Connectors
    • Formats
  • PyFlink DataFrame
  • PyFlink Common
  • API Reference
  • PyFlink DataStream
  • DataStream
  • pyflink.datastream.data_stream.DataStream.print

pyflink.datastream.data_stream.DataStream.print#

DataStream.print(sink_identifier: str | None = None) → DataStreamSink[source]#

Writes a DataStream to the standard output stream (stdout). For each element of the DataStream the object string is written.

NOTE: This will print to stdout on the machine where the code is executed, i.e. the Flink worker, and is not fault tolerant.

Parameters:

sink_identifier – The string to prefix the output with.

Returns:

The closed DataStream.

previous

pyflink.datastream.data_stream.DataStream.execute_and_collect

next

pyflink.datastream.data_stream.DataStream.get_side_output

On this page
  • DataStream.print()

This Page

  • Show Source

Created using Sphinx 7.4.7.

Built with the PyData Sphinx Theme 0.16.1.