Ctrl+K
Logo image Logo image

Site Navigation

  • API Reference
  • Examples

Site Navigation

  • API Reference
  • Examples

Section Navigation

  • PyFlink Table
  • PyFlink DataStream
    • StreamExecutionEnvironment
    • DataStream
    • Functions
    • State
    • Timer
    • Window
    • Checkpoint
    • Side Outputs
    • Connectors
    • Formats
  • PyFlink Common

pyflink.datastream.connectors.pulsar.StopCursor#

class StopCursor(_j_stop_cursor)[source]#

A factory class for users to specify the stop position of a pulsar subscription. Since it would be serialized into split. The implementation for this interface should be well considered. I don’t recommend adding extra internal state for this implementation.

Methods

after_event_time(timestamp)

Stop consuming when message eventTime is greater than the specified timestamp.

after_message_id(message_id)

Stop consuming when the messageId is greater than the specified messageId.

after_publish_time(timestamp)

Stop consuming when message publishTime is greater than the specified timestamp.

at_event_time(timestamp)

Stop consuming when message eventTime is greater than or equals the specified timestamp.

at_message_id(message_id)

Stop consuming when the messageId is equal or greater than the specified messageId.

at_publish_time(timestamp)

Stop consuming when message publishTime is greater than or equals the specified timestamp.

default_stop_cursor()

latest()

never()

previous

pyflink.datastream.connectors.pulsar.StartCursor

next

pyflink.datastream.connectors.pulsar.PulsarSource

On this page
  • StopCursor
Show Source

Created using Sphinx 5.3.0.