Package | Description |
---|---|
org.apache.flink.connector.pulsar.source.enumerator.cursor | |
org.apache.flink.connector.pulsar.source.enumerator.cursor.stop |
Modifier and Type | Method and Description |
---|---|
static StopCursor.StopCondition |
StopCursor.StopCondition.compare(long desired,
long current,
boolean inclusive)
Common methods for comparing the message time.
|
static StopCursor.StopCondition |
StopCursor.StopCondition.compare(org.apache.pulsar.client.api.MessageId desired,
org.apache.pulsar.client.api.MessageId current,
boolean inclusive)
Common methods for comparing the message id.
|
StopCursor.StopCondition |
StopCursor.shouldStop(org.apache.pulsar.client.api.Message<?> message)
Determine whether to pause consumption on the current message by the returned enum.
|
static StopCursor.StopCondition |
StopCursor.StopCondition.valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static StopCursor.StopCondition[] |
StopCursor.StopCondition.values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
Modifier and Type | Method and Description |
---|---|
StopCursor.StopCondition |
MessageIdStopCursor.shouldStop(org.apache.pulsar.client.api.Message<?> message) |
StopCursor.StopCondition |
PublishTimestampStopCursor.shouldStop(org.apache.pulsar.client.api.Message<?> message) |
StopCursor.StopCondition |
NeverStopCursor.shouldStop(org.apache.pulsar.client.api.Message<?> message) |
StopCursor.StopCondition |
EventTimestampStopCursor.shouldStop(org.apache.pulsar.client.api.Message<?> message) |
StopCursor.StopCondition |
LatestMessageStopCursor.shouldStop(org.apache.pulsar.client.api.Message<?> message) |
Copyright © 2014–2022 The Apache Software Foundation. All rights reserved.