Ctrl+K
Logo image Logo image

Site Navigation

  • API Reference
  • Examples

Site Navigation

  • API Reference
  • Examples

Section Navigation

  • PyFlink Table
  • PyFlink DataStream
    • StreamExecutionEnvironment
    • DataStream
    • Functions
    • State
    • Timer
    • Window
    • Checkpoint
    • Side Outputs
    • Connectors
    • Formats
  • PyFlink Common

pyflink.datastream.data_stream.DataStream.print#

DataStream.print(sink_identifier: Optional[str] = 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()
Show Source

Created using Sphinx 5.3.0.