类 SingleConsumerPulsarSource<T>
java.lang.Object
org.apache.pulsar.functions.source.PulsarSource<T>
org.apache.pulsar.functions.source.SingleConsumerPulsarSource<T>
- 所有已实现的接口:
AutoCloseable,org.apache.pulsar.io.core.Source<T>
-
构造器概要
构造器构造器说明SingleConsumerPulsarSource(org.apache.pulsar.client.api.PulsarClient pulsarClient, SingleConsumerPulsarSourceConfig pulsarSourceConfig, Map<String, String> properties, ClassLoader functionClassLoader) -
方法概要
从类继承的方法 org.apache.pulsar.functions.source.PulsarSource
buildPulsarSourceConsumerConfig, buildRecord, createConsumeBuilder
-
构造器详细资料
-
SingleConsumerPulsarSource
public SingleConsumerPulsarSource(org.apache.pulsar.client.api.PulsarClient pulsarClient, SingleConsumerPulsarSourceConfig pulsarSourceConfig, Map<String, String> properties, ClassLoader functionClassLoader)
-
-
方法详细资料
-
open
public void open(Map<String, Object> config, org.apache.pulsar.io.core.SourceContext sourceContext) throws Exception- 抛出:
Exception
-
read
- 抛出:
Exception
-
getInputConsumers
- 指定者:
getInputConsumers在类中PulsarSource<T>
-
close
- 抛出:
Exception
-