diff --git a/docs/content/cdc-ingestion/pulsar-cdc.md b/docs/content/cdc-ingestion/pulsar-cdc.md index b65d68e406c8..b8915135868d 100644 --- a/docs/content/cdc-ingestion/pulsar-cdc.md +++ b/docs/content/cdc-ingestion/pulsar-cdc.md @@ -228,3 +228,94 @@ Synchronization from multiple Pulsar topics to Paimon database. --table_conf changelog-producer=input \ --table_conf sink.parallelism=4 ``` + +## Additional pulsar_config + +There are some useful options to build Flink Pulsar Source, but they are not provided by flink-pulsar-connector document. They are: + +
Key | +Default | +Type | +Description | +
---|---|---|---|
value.format | +(none) | +String | +Defines the format identifier for encoding value data. | +
topic | +(none) | +String | +Topic name(s) from which the data is read. It also supports topic list by separating topic by semicolon + like 'topic-1;topic-2'. Note, only one of "topic-pattern" and "topic" can be specified. + | +
pulsar.startCursor.fromMessageId | +EARLIEST | +Sting | +Using a unique identifier of a single message to seek the start position. The common format is a triple + '<long>ledgerId,<long>entryId,<int>partitionIndex'. Specially, you can set it to + EARLIEST (-1, -1, -1) or LATEST (Long.MAX_VALUE, Long.MAX_VALUE, -1). + | +
pulsar.startCursor.fromPublishTime | +(none) | +Long | +Using the message publish time to seek the start position. | +
pulsar.startCursor.fromMessageIdInclusive | +true | +Boolean | +Whether to include the given message id. This option only works when the message id is not EARLIEST or LATEST. | +
pulsar.stopCursor.atMessageId | +(none) | +String | +Stop consuming when the message id is equal or greater than the specified message id. Message that is equal + to the specified message id will not be consumed. The common format is a triple '<long>ledgerId,<long>entryId,<int>partitionIndex'. + Specially, you can set it to LATEST (Long.MAX_VALUE, Long.MAX_VALUE, -1). + |
pulsar.stopCursor.afterMessageId | +(none) | +String | +Stop consuming when the message id is greater than the specified message id. Message that is equal to the + specified message id will be consumed. The common format is a triple '<long>ledgerId,<long>entryId,<int>partitionIndex'. + Specially, you can set it to LATEST (Long.MAX_VALUE, Long.MAX_VALUE, -1). + | +
pulsar.stopCursor.atEventTime | +(none) | +Long | +Stop consuming when message event time is greater than or equals the specified timestamp. + Message that even time is equal to the specified timestamp will not be consumed. + | +
pulsar.stopCursor.afterEventTime | +(none) | +Long | +Stop consuming when message event time is greater than the specified timestamp. + Message that even time is equal to the specified timestamp will be consumed. + | +
pulsar.source.unbounded | +true | +Boolean | +To specify the boundedness of a stream. | +