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.StartCursor

pyflink.datastream.connectors.pulsar.StartCursor#

class StartCursor(_j_start_cursor)[source]#

A factory class for users to specify the start 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.

This class would be used only for SubscriptionType.Exclusive and SubscriptionType.Failover.

Methods

default_start_cursor()

earliest()

from_message_id(message_id[, inclusive])

Find the available message id and start consuming from it.

from_publish_time(timestamp)

Seek the start position by using message publish time.

latest()

previous

pyflink.datastream.connectors.kinesis.KinesisFirehoseSinkBuilder

next

pyflink.datastream.connectors.pulsar.StopCursor

On this page
  • StartCursor

This Page

  • Show Source

Created using Sphinx 7.4.7.

Built with the PyData Sphinx Theme 0.16.1.