类 PulsarSource<T>
java.lang.Object
org.apache.pulsar.functions.source.PulsarSource<T>
- 所有已实现的接口:
AutoCloseable,org.apache.pulsar.io.core.Source<T>
-
字段概要
字段修饰符和类型字段说明protected final ClassLoaderprotected final org.apache.pulsar.client.api.PulsarClientprotected final PulsarSourceConfigprotected final TopicSchema -
构造器概要
构造器限定符构造器说明protectedPulsarSource(org.apache.pulsar.client.api.PulsarClient pulsarClient, PulsarSourceConfig pulsarSourceConfig, Map<String, String> properties, ClassLoader functionClassLoader) -
方法概要
修饰符和类型方法说明protected org.apache.pulsar.functions.source.PulsarSourceConsumerConfig<T>buildPulsarSourceConsumerConfig(String topic, org.apache.pulsar.common.functions.ConsumerConfig conf, Class<?> typeArg) protected org.apache.pulsar.functions.api.Record<T>buildRecord(org.apache.pulsar.client.api.Consumer<T> consumer, org.apache.pulsar.client.api.Message<T> message) protected org.apache.pulsar.client.api.ConsumerBuilder<T>createConsumeBuilder(String topic, org.apache.pulsar.functions.source.PulsarSourceConsumerConfig conf) 从类继承的方法 java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait从接口继承的方法 java.lang.AutoCloseable
close从接口继承的方法 org.apache.pulsar.io.core.Source
open, read
-
字段详细资料
-
pulsarClient
protected final org.apache.pulsar.client.api.PulsarClient pulsarClient -
pulsarSourceConfig
-
properties
-
functionClassLoader
-
topicSchema
-
-
构造器详细资料
-
PulsarSource
protected PulsarSource(org.apache.pulsar.client.api.PulsarClient pulsarClient, PulsarSourceConfig pulsarSourceConfig, Map<String, String> properties, ClassLoader functionClassLoader)
-
-
方法详细资料
-
getInputConsumers
-
createConsumeBuilder
-
buildRecord
-
buildPulsarSourceConsumerConfig
-