| Package | Description |
|---|---|
| org.apache.flink.connector.pulsar.source | |
| org.apache.flink.streaming.connectors.pulsar | |
| org.apache.flink.streaming.connectors.pulsar.internal |
| Modifier and Type | Method and Description |
|---|---|
TopicRange |
BrokerPartition.getTopicRange() |
| Modifier and Type | Method and Description |
|---|---|
void |
BrokerPartition.setTopicRange(TopicRange topicRange) |
| Constructor and Description |
|---|
BrokerPartition(TopicRange topicRange) |
| Modifier and Type | Method and Description |
|---|---|
Map<TopicRange,org.apache.pulsar.client.api.MessageId> |
FlinkPulsarSource.getOwnedTopicStarts() |
Map<TopicRange,org.apache.pulsar.client.api.MessageId> |
FlinkPulsarSource.offsetForEachTopic(Set<TopicRange> topics,
StartupMode mode,
Map<TopicRange,org.apache.pulsar.client.api.MessageId> specificStartupOffsets) |
| Modifier and Type | Method and Description |
|---|---|
protected PulsarFetcher<org.apache.flink.types.Row> |
FlinkPulsarRowSource.createFetcher(org.apache.flink.streaming.api.functions.source.SourceFunction.SourceContext sourceContext,
Map<TopicRange,org.apache.pulsar.client.api.MessageId> seedTopicsWithInitialOffsets,
org.apache.flink.util.SerializedValue<org.apache.flink.streaming.api.functions.AssignerWithPeriodicWatermarks<org.apache.flink.types.Row>> watermarksPeriodic,
org.apache.flink.util.SerializedValue<org.apache.flink.streaming.api.functions.AssignerWithPunctuatedWatermarks<org.apache.flink.types.Row>> watermarksPunctuated,
org.apache.flink.streaming.runtime.tasks.ProcessingTimeService processingTimeProvider,
long autoWatermarkInterval,
ClassLoader userCodeClassLoader,
org.apache.flink.streaming.api.operators.StreamingRuntimeContext streamingRuntime)
Deprecated.
|
protected PulsarFetcher<T> |
FlinkPulsarSource.createFetcher(org.apache.flink.streaming.api.functions.source.SourceFunction.SourceContext sourceContext,
Map<TopicRange,org.apache.pulsar.client.api.MessageId> seedTopicsWithInitialOffsets,
org.apache.flink.util.SerializedValue<org.apache.flink.streaming.api.functions.AssignerWithPeriodicWatermarks<T>> watermarksPeriodic,
org.apache.flink.util.SerializedValue<org.apache.flink.streaming.api.functions.AssignerWithPunctuatedWatermarks<T>> watermarksPunctuated,
org.apache.flink.streaming.runtime.tasks.ProcessingTimeService processingTimeProvider,
long autoWatermarkInterval,
ClassLoader userCodeClassLoader,
org.apache.flink.streaming.api.operators.StreamingRuntimeContext streamingRuntime) |
Map<TopicRange,org.apache.pulsar.client.api.MessageId> |
FlinkPulsarSource.offsetForEachTopic(Set<TopicRange> topics,
StartupMode mode,
Map<TopicRange,org.apache.pulsar.client.api.MessageId> specificStartupOffsets) |
Map<TopicRange,org.apache.pulsar.client.api.MessageId> |
FlinkPulsarSource.offsetForEachTopic(Set<TopicRange> topics,
StartupMode mode,
Map<TopicRange,org.apache.pulsar.client.api.MessageId> specificStartupOffsets) |
| Modifier and Type | Field and Description |
|---|---|
protected TopicRange |
ReaderThread.topicRange |
| Modifier and Type | Field and Description |
|---|---|
protected Map<TopicRange,org.apache.pulsar.client.api.MessageId> |
PulsarFetcher.seedTopicsWithInitialOffsets |
| Modifier and Type | Method and Description |
|---|---|
Map<TopicRange,ReaderThread> |
PulsarFetcher.createAndStartReaderThread(List<PulsarTopicState> states,
ExceptionProxy exceptionProxy) |
Set<TopicRange> |
PulsarMetadataReader.discoverTopicChanges() |
Set<TopicRange> |
PulsarMetadataReader.getTopicPartitions() |
Set<TopicRange> |
PulsarMetadataReader.getTopicPartitionsAll() |
List<TopicRange> |
PulsarMetadataReader.getTopics() |
org.apache.flink.api.java.typeutils.runtime.TupleSerializer<org.apache.flink.api.java.tuple.Tuple2<TopicRange,org.apache.pulsar.client.api.MessageId>> |
PulsarSourceStateSerializer.getV1Serializer() |
org.apache.flink.api.java.typeutils.runtime.TupleSerializer<org.apache.flink.api.java.tuple.Tuple3<TopicRange,org.apache.pulsar.client.api.MessageId,String>> |
PulsarSourceStateSerializer.getV2Serializer() |
Map<TopicRange,org.apache.pulsar.client.api.MessageId> |
PulsarFetcher.removeEarliestAndLatest(Map<TopicRange,org.apache.pulsar.client.api.MessageId> offset) |
Map<TopicRange,org.apache.pulsar.client.api.MessageId> |
PulsarFetcher.snapshotCurrentState()
Takes a snapshot of the partition offsets.
|
| Modifier and Type | Method and Description |
|---|---|
static boolean |
SourceSinkUtils.belongsTo(TopicRange topicRange,
int numParallelSubtasks,
int index) |
int |
TopicRange.compareTo(TopicRange o) |
| Modifier and Type | Method and Description |
|---|---|
void |
PulsarFetcher.addDiscoveredTopics(Set<TopicRange> newTopics) |
void |
PulsarMetadataReader.commitCursorToOffset(Map<TopicRange,org.apache.pulsar.client.api.MessageId> offset) |
void |
PulsarFetcher.commitOffsetToPulsar(Map<TopicRange,org.apache.pulsar.client.api.MessageId> offset,
PulsarCommitCallback offsetCommitCallback) |
void |
PulsarFetcher.doCommitOffsetToPulsar(Map<TopicRange,org.apache.pulsar.client.api.MessageId> offset,
PulsarCommitCallback offsetCommitCallback) |
void |
PulsarMetadataReader.removeCursor(Set<TopicRange> topics) |
Map<TopicRange,org.apache.pulsar.client.api.MessageId> |
PulsarFetcher.removeEarliestAndLatest(Map<TopicRange,org.apache.pulsar.client.api.MessageId> offset) |
void |
PulsarMetadataReader.setupCursor(Map<TopicRange,org.apache.pulsar.client.api.MessageId> offset) |
void |
PulsarMetadataReader.setupCursor(Map<TopicRange,org.apache.pulsar.client.api.MessageId> offset,
boolean failOnDataLoss) |
| Constructor and Description |
|---|
PulsarTopicState(TopicRange topicRange) |
PulsarTopicStateWithPeriodicWatermarks(TopicRange topicRange,
org.apache.flink.streaming.api.functions.AssignerWithPeriodicWatermarks<T> timestampsAndWatermarks) |
PulsarTopicStateWithPunctuatedWatermarks(TopicRange topicRange,
org.apache.flink.streaming.api.functions.AssignerWithPunctuatedWatermarks<T> timestampsAndWatermarks) |
| Constructor and Description |
|---|
PulsarFetcher(org.apache.flink.streaming.api.functions.source.SourceFunction.SourceContext<T> sourceContext,
Map<TopicRange,org.apache.pulsar.client.api.MessageId> seedTopicsWithInitialOffsets,
org.apache.flink.util.SerializedValue<org.apache.flink.streaming.api.functions.AssignerWithPeriodicWatermarks<T>> watermarksPeriodic,
org.apache.flink.util.SerializedValue<org.apache.flink.streaming.api.functions.AssignerWithPunctuatedWatermarks<T>> watermarksPunctuated,
org.apache.flink.streaming.runtime.tasks.ProcessingTimeService processingTimeProvider,
long autoWatermarkInterval,
ClassLoader userCodeClassLoader,
org.apache.flink.streaming.api.operators.StreamingRuntimeContext runtimeContext,
org.apache.pulsar.client.impl.conf.ClientConfigurationData clientConf,
Map<String,Object> readerConf,
int pollTimeoutMs,
int commitMaxRetries,
PulsarDeserializationSchema<T> deserializer,
PulsarMetadataReader metadataReader) |
PulsarFetcher(org.apache.flink.streaming.api.functions.source.SourceFunction.SourceContext<T> sourceContext,
Map<TopicRange,org.apache.pulsar.client.api.MessageId> seedTopicsWithInitialOffsets,
org.apache.flink.util.SerializedValue<org.apache.flink.streaming.api.functions.AssignerWithPeriodicWatermarks<T>> watermarksPeriodic,
org.apache.flink.util.SerializedValue<org.apache.flink.streaming.api.functions.AssignerWithPunctuatedWatermarks<T>> watermarksPunctuated,
org.apache.flink.streaming.runtime.tasks.ProcessingTimeService processingTimeProvider,
long autoWatermarkInterval,
ClassLoader userCodeClassLoader,
org.apache.flink.streaming.api.operators.StreamingRuntimeContext runtimeContext,
org.apache.pulsar.client.impl.conf.ClientConfigurationData clientConf,
Map<String,Object> readerConf,
int pollTimeoutMs,
PulsarDeserializationSchema<T> deserializer,
PulsarMetadataReader metadataReader) |
PulsarRowFetcher(org.apache.flink.streaming.api.functions.source.SourceFunction.SourceContext<org.apache.flink.types.Row> sourceContext,
Map<TopicRange,org.apache.pulsar.client.api.MessageId> seedTopicsWithInitialOffsets,
org.apache.flink.util.SerializedValue<org.apache.flink.streaming.api.functions.AssignerWithPeriodicWatermarks<org.apache.flink.types.Row>> watermarksPeriodic,
org.apache.flink.util.SerializedValue<org.apache.flink.streaming.api.functions.AssignerWithPunctuatedWatermarks<org.apache.flink.types.Row>> watermarksPunctuated,
org.apache.flink.streaming.runtime.tasks.ProcessingTimeService processingTimeProvider,
long autoWatermarkInterval,
ClassLoader userCodeClassLoader,
org.apache.flink.streaming.api.operators.StreamingRuntimeContext runtimeContext,
org.apache.pulsar.client.impl.conf.ClientConfigurationData clientConf,
Map<String,Object> readerConf,
int pollTimeoutMs,
PulsarDeserializationSchema<org.apache.flink.types.Row> deserializer,
PulsarMetadataReader metadataReader,
boolean useExtendField,
boolean usePulsarDeser)
Deprecated.
|
Copyright © 2019–2021 The Apache Software Foundation. All rights reserved.