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.KeyedStream.add_sink

pyflink.datastream.data_stream.KeyedStream.add_sink#

KeyedStream.add_sink(sink_func: SinkFunction) → DataStreamSink[source]#

Adds the given sink to this DataStream. Only streams with sinks added will be executed once the StreamExecutionEnvironment.execute() method is called.

Parameters:

sink_func – The SinkFunction object.

Returns:

The closed DataStream.

previous

pyflink.datastream.data_stream.KeyedStream.max_by

next

pyflink.datastream.data_stream.KeyedStream.key_by

On this page
  • KeyedStream.add_sink()

This Page

  • Show Source

Created using Sphinx 7.4.7.

Built with the PyData Sphinx Theme 0.16.1.