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
  • StreamExecutionEnvironment
  • pyflink.datastream.stream_execution_environment.StreamExecutionEnvironment.set_buffer_timeout

pyflink.datastream.stream_execution_environment.StreamExecutionEnvironment.set_buffer_timeout#

StreamExecutionEnvironment.set_buffer_timeout(timeout_millis: int) → StreamExecutionEnvironment[source]#

Sets the maximum time frequency (milliseconds) for the flushing of the output buffers. By default the output buffers flush frequently to provide low latency and to aid smooth developer experience. Setting the parameter can result in three logical modes:

  • A positive integer triggers flushing periodically by that integer

  • 0 triggers flushing after every record thus minimizing latency

  • -1 triggers flushing only when the output buffer is full thus maximizing throughput

Parameters:

timeout_millis – The maximum time between two output flushes.

Returns:

This object.

previous

pyflink.datastream.stream_execution_environment.StreamExecutionEnvironment.set_runtime_mode

next

pyflink.datastream.stream_execution_environment.StreamExecutionEnvironment.get_buffer_timeout

On this page
  • StreamExecutionEnvironment.set_buffer_timeout()

This Page

  • Show Source

Created using Sphinx 7.4.7.

Built with the PyData Sphinx Theme 0.16.1.