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
  • Asynchronous I/O
  • pyflink.datastream.async_data_stream.AsyncDataStream.ordered_wait_with_retry

pyflink.datastream.async_data_stream.AsyncDataStream.ordered_wait_with_retry#

static AsyncDataStream.ordered_wait_with_retry(data_stream: DataStream, async_function: AsyncFunction, timeout: Time, async_retry_strategy: AsyncRetryStrategy, capacity: int = 100, output_type: TypeInformation | None = None) → DataStream[source]#

Adds an async function with an AsyncRetryStrategy to support retry of AsyncFunction to the data stream. The order to process input records is guaranteed to be the same as input ones.

Parameters:
  • data_stream – The input data stream.

  • async_function – The async function.

  • timeout – The timeout for the asynchronous operation to complete.

  • async_retry_strategy – The strategy of reattempt async i/o operation that can be triggered

  • capacity – The max number of async i/o operation that can be triggered.

  • output_type – The output data type.

Returns:

The transformed DataStream.

previous

pyflink.datastream.async_data_stream.AsyncDataStream.ordered_wait

next

pyflink.datastream.functions.AsyncFunction.async_invoke

On this page
  • AsyncDataStream.ordered_wait_with_retry()

This Page

  • Show Source

Created using Sphinx 7.4.7.

Built with the PyData Sphinx Theme 0.16.1.