All Methods Static Methods Instance Methods Concrete Methods
| Modifier and Type |
Method and Description |
void |
close() |
CompletableFuture<Void> |
closeAsync() |
protected <T> CompletableFuture<Reader<T>> |
createMultiTopicReaderAsync(ReaderConfigurationData<T> conf,
Schema<T> schema) |
CompletableFuture<Producer<byte[]>> |
createProducerAsync(ProducerConfigurationData conf) |
<T> CompletableFuture<Producer<T>> |
createProducerAsync(ProducerConfigurationData conf,
Schema<T> schema) |
<T> CompletableFuture<Producer<T>> |
createProducerAsync(ProducerConfigurationData conf,
Schema<T> schema,
ProducerInterceptors interceptors) |
CompletableFuture<Reader<byte[]>> |
createReaderAsync(ReaderConfigurationData<byte[]> conf) |
<T> CompletableFuture<Reader<T>> |
createReaderAsync(ReaderConfigurationData<T> conf,
Schema<T> schema) |
protected <T> CompletableFuture<Reader<T>> |
createSingleTopicReaderAsync(ReaderConfigurationData<T> conf,
Schema<T> schema) |
io.netty.channel.EventLoopGroup |
eventLoopGroup() |
ExecutorProvider |
externalExecutorProvider() |
Clock |
getClientClock() |
ConnectionPool |
getCnxPool() |
ClientConfigurationData |
getConfiguration() |
CompletableFuture<ClientCnx> |
getConnection(String topic) |
ExecutorService |
getInternalExecutorService() |
LookupService |
getLookup() |
MemoryLimitController |
getMemoryLimitController() |
CompletableFuture<Integer> |
getNumberOfPartitions(String topic) |
CompletableFuture<PartitionedTopicMetadata> |
getPartitionedTopicMetadata(String topic) |
CompletableFuture<List<String>> |
getPartitionsForTopic(String topic) |
CompletableFuture<Optional<SchemaInfo>> |
getSchema(String topic)
Read the schema information for a given topic.
|
protected com.google.common.cache.LoadingCache<String,SchemaInfoProvider> |
getSchemaProviderLoadingCache() |
AtomicReference<PulsarClientImpl.State> |
getState() |
boolean |
isClosed() |
ConsumerBuilder<byte[]> |
newConsumer() |
<T> ConsumerBuilder<T> |
newConsumer(Schema<T> schema) |
protected <T> PartitionedProducerImpl<T> |
newPartitionedProducerImpl(String topic,
ProducerConfigurationData conf,
Schema<T> schema,
ProducerInterceptors interceptors,
CompletableFuture<Producer<T>> producerCreatedFuture,
PartitionedTopicMetadata metadata)
Factory method for creating PartitionedProducerImpl instance.
|
ProducerBuilder<byte[]> |
newProducer() |
<T> ProducerBuilder<T> |
newProducer(Schema<T> schema) |
protected <T> ProducerImpl<T> |
newProducerImpl(String topic,
int partitionIndex,
ProducerConfigurationData conf,
Schema<T> schema,
ProducerInterceptors interceptors,
CompletableFuture<Producer<T>> producerCreatedFuture)
Factory method for creating ProducerImpl instance.
|
ReaderBuilder<byte[]> |
newReader() |
<T> ReaderBuilder<T> |
newReader(Schema<T> schema) |
long |
newRequestId() |
TransactionBuilder |
newTransaction() |
CompletableFuture<Consumer<byte[]>> |
patternTopicSubscribeAsync(ConsumerConfigurationData<byte[]> conf) |
protected <T> CompletableFuture<Schema<T>> |
preProcessSchemaBeforeSubscribe(PulsarClientImpl pulsarClientImpl,
Schema<T> schema,
String topicName) |
void |
reloadLookUp() |
void |
shutdown() |
CompletableFuture<Consumer<byte[]>> |
subscribeAsync(ConsumerConfigurationData<byte[]> conf) |
<T> CompletableFuture<Consumer<T>> |
subscribeAsync(ConsumerConfigurationData<T> conf,
Schema<T> schema,
ConsumerInterceptors<T> interceptors) |
io.netty.util.Timer |
timer()
visible for pulsar-functions
|
static List<String> |
topicsPatternFilter(List<String> original,
Pattern topicsPattern) |
void |
updateServiceUrl(String serviceUrl) |