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.pulsar.MessageDelayer

pyflink.datastream.connectors.pulsar.MessageDelayer#

class MessageDelayer(_j_message_delayer)[source]#

A delayer for Pulsar broker passing the sent message to the downstream consumer. This is only works in SubscriptionType.Shared subscription.

Read delayed message delivery https://pulsar.apache.org/docs/en/next/concepts-messaging/#delayed-message-delivery for better understanding this feature.

Methods

fixed(duration)

All the messages should be consumed in a fixed duration.

never()

All the messages should be consumed immediately.

previous

pyflink.datastream.connectors.pulsar.TopicRoutingMode

next

pyflink.datastream.connectors.pulsar.PulsarSink

On this page
  • MessageDelayer

This Page

  • Show Source

Created using Sphinx 7.4.7.

Built with the PyData Sphinx Theme 0.16.1.