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
  • Connectors
  • pyflink.datastream.connectors.file_system.DefaultRollingPolicy

pyflink.datastream.connectors.file_system.DefaultRollingPolicy#

class DefaultRollingPolicy(j_rolling_policy)[source]#

The default implementation of the RollingPolicy.

This policy rolls a part file if:

  • there is no open part file,

  • the current file has reached the maximum bucket size (by default 128MB),

  • the current file is older than the roll over interval (by default 60 sec), or

  • the current file has not been written to for more than the allowed inactivityTime (by default 60 sec).

Methods

default_rolling_policy([part_size, ...])

Returns the default implementation of the RollingPolicy.

get_java_object()

on_checkpoint_rolling_policy()

Returns a RollingPolicy which rolls (ONLY) on every checkpoint.

previous

pyflink.datastream.connectors.file_system.RollingPolicy

next

pyflink.datastream.connectors.file_system.OnCheckpointRollingPolicy

On this page
  • DefaultRollingPolicy

This Page

  • Show Source

Created using Sphinx 7.4.7.

Built with the PyData Sphinx Theme 0.16.1.