Index

A B C D F G H I J M O P R S U V 
All Classes and Interfaces|All Packages|Serialized Form

A

acknowledge(Message<?>) - Method in interface org.apache.pulsar.client.api.Consumer
Acknowledge the consumption of a single message.
acknowledge(Message<?>) - Method in class org.apache.pulsar.client.impl.v1.ConsumerV1Impl
 
acknowledge(MessageId) - Method in interface org.apache.pulsar.client.api.Consumer
Acknowledge the consumption of a single message, identified by its MessageId.
acknowledge(MessageId) - Method in class org.apache.pulsar.client.impl.v1.ConsumerV1Impl
 
acknowledgeAsync(Message<?>) - Method in interface org.apache.pulsar.client.api.Consumer
Asynchronously acknowledge the consumption of a single message.
acknowledgeAsync(Message<?>) - Method in class org.apache.pulsar.client.impl.v1.ConsumerV1Impl
 
acknowledgeAsync(MessageId) - Method in interface org.apache.pulsar.client.api.Consumer
Asynchronously acknowledge the consumption of a single message.
acknowledgeAsync(MessageId) - Method in class org.apache.pulsar.client.impl.v1.ConsumerV1Impl
 
acknowledgeCumulative(Message<?>) - Method in interface org.apache.pulsar.client.api.Consumer
Acknowledge the reception of all the messages in the stream up to (and including) the provided message.
acknowledgeCumulative(Message<?>) - Method in class org.apache.pulsar.client.impl.v1.ConsumerV1Impl
 
acknowledgeCumulative(MessageId) - Method in interface org.apache.pulsar.client.api.Consumer
Acknowledge the reception of all the messages in the stream up to (and including) the provided message.
acknowledgeCumulative(MessageId) - Method in class org.apache.pulsar.client.impl.v1.ConsumerV1Impl
 
acknowledgeCumulativeAsync(Message<?>) - Method in interface org.apache.pulsar.client.api.Consumer
Asynchronously Acknowledge the reception of all the messages in the stream up to (and including) the provided message.
acknowledgeCumulativeAsync(Message<?>) - Method in class org.apache.pulsar.client.impl.v1.ConsumerV1Impl
 
acknowledgeCumulativeAsync(MessageId) - Method in interface org.apache.pulsar.client.api.Consumer
Asynchronously Acknowledge the reception of all the messages in the stream up to (and including) the provided message.
acknowledgeCumulativeAsync(MessageId) - Method in class org.apache.pulsar.client.impl.v1.ConsumerV1Impl
 
addEncryptionKey(String) - Method in class org.apache.pulsar.client.api.ProducerConfiguration
Deprecated.
Add public encryption key, used by producer to encrypt the data key.

B

build() - Method in interface org.apache.pulsar.client.api.MessageBuilder
Deprecated.
Finalize the immutable message.
build() - Method in class org.apache.pulsar.client.impl.MessageBuilderImpl
 

C

ClientConfiguration - Class in org.apache.pulsar.client.api
Deprecated.
Use PulsarClient#builder() to construct and configure a new PulsarClient instance
ClientConfiguration() - Constructor for class org.apache.pulsar.client.api.ClientConfiguration
Deprecated.
 
close() - Method in interface org.apache.pulsar.client.api.Consumer
Close the consumer and stop the broker to push more messages.
close() - Method in interface org.apache.pulsar.client.api.Producer
Close the producer and releases resources allocated.
close() - Method in interface org.apache.pulsar.client.api.PulsarClient
Close the PulsarClient and release all the resources.
close() - Method in class org.apache.pulsar.client.impl.v1.ConsumerV1Impl
 
close() - Method in class org.apache.pulsar.client.impl.v1.ProducerV1Impl
 
close() - Method in class org.apache.pulsar.client.impl.v1.PulsarClientV1Impl
 
close() - Method in class org.apache.pulsar.client.impl.v1.ReaderV1Impl
 
closeAsync() - Method in interface org.apache.pulsar.client.api.Consumer
Asynchronously close the consumer and stop the broker to push more messages.
closeAsync() - Method in interface org.apache.pulsar.client.api.Producer
Close the producer and releases resources allocated.
closeAsync() - Method in interface org.apache.pulsar.client.api.PulsarClient
Asynchronously close the PulsarClient and release all the resources.
closeAsync() - Method in interface org.apache.pulsar.client.api.Reader
Asynchronously close the reader and stop the broker to push more messages.
closeAsync() - Method in class org.apache.pulsar.client.impl.v1.ConsumerV1Impl
 
closeAsync() - Method in class org.apache.pulsar.client.impl.v1.ProducerV1Impl
 
closeAsync() - Method in class org.apache.pulsar.client.impl.v1.PulsarClientV1Impl
 
closeAsync() - Method in class org.apache.pulsar.client.impl.v1.ReaderV1Impl
 
Consumer - Interface in org.apache.pulsar.client.api
An interface that abstracts behavior of Pulsar's consumer.
ConsumerConfiguration - Class in org.apache.pulsar.client.api
Deprecated.
Use PulsarClient#newConsumer to build and configure a Consumer instance
ConsumerConfiguration() - Constructor for class org.apache.pulsar.client.api.ConsumerConfiguration
Deprecated.
 
ConsumerV1Impl - Class in org.apache.pulsar.client.impl.v1
 
ConsumerV1Impl(Consumer<byte[]>) - Constructor for class org.apache.pulsar.client.impl.v1.ConsumerV1Impl
 
create() - Static method in interface org.apache.pulsar.client.api.MessageBuilder
Deprecated.
 
create(String) - Static method in interface org.apache.pulsar.client.api.PulsarClient
Deprecated.
use #builder() to construct a client instance
create(String, ClientConfiguration) - Static method in interface org.apache.pulsar.client.api.PulsarClient
Deprecated.
use #builder() to construct a client instance
createProducer(String) - Method in interface org.apache.pulsar.client.api.PulsarClient
Deprecated.
use #newProducer() to build a new producer
createProducer(String) - Method in class org.apache.pulsar.client.impl.v1.PulsarClientV1Impl
 
createProducer(String, ProducerConfiguration) - Method in interface org.apache.pulsar.client.api.PulsarClient
Deprecated.
use #newProducer() to build a new producer
createProducer(String, ProducerConfiguration) - Method in class org.apache.pulsar.client.impl.v1.PulsarClientV1Impl
 
createProducerAsync(String) - Method in interface org.apache.pulsar.client.api.PulsarClient
Deprecated.
use #newProducer() to build a new producer
createProducerAsync(String) - Method in class org.apache.pulsar.client.impl.v1.PulsarClientV1Impl
 
createProducerAsync(String, ProducerConfiguration) - Method in interface org.apache.pulsar.client.api.PulsarClient
Deprecated.
use #newProducer() to build a new producer
createProducerAsync(String, ProducerConfiguration) - Method in class org.apache.pulsar.client.impl.v1.PulsarClientV1Impl
 
createReader(String, MessageId, ReaderConfiguration) - Method in interface org.apache.pulsar.client.api.PulsarClient
Deprecated.
Use #newReader() to build a new reader
createReader(String, MessageId, ReaderConfiguration) - Method in class org.apache.pulsar.client.impl.v1.PulsarClientV1Impl
 
createReaderAsync(String, MessageId, ReaderConfiguration) - Method in interface org.apache.pulsar.client.api.PulsarClient
Deprecated.
Use #newReader() to build a new reader
createReaderAsync(String, MessageId, ReaderConfiguration) - Method in class org.apache.pulsar.client.impl.v1.PulsarClientV1Impl
 
CustomPartition - Enum constant in enum class org.apache.pulsar.client.api.ProducerConfiguration.MessageRoutingMode
Deprecated.
 

D

disableReplication() - Method in interface org.apache.pulsar.client.api.MessageBuilder
Deprecated.
Disable replication for this message.
disableReplication() - Method in class org.apache.pulsar.client.impl.MessageBuilderImpl
 

F

flush() - Method in interface org.apache.pulsar.client.api.Producer
Flush all the messages buffered in the client and wait until all messages have been successfully persisted.
flush() - Method in class org.apache.pulsar.client.impl.v1.ProducerV1Impl
 
flushAsync() - Method in interface org.apache.pulsar.client.api.Producer
Flush all the messages buffered in the client asynchronously.
flushAsync() - Method in class org.apache.pulsar.client.impl.v1.ProducerV1Impl
 

G

getAckTimeoutMillis() - Method in class org.apache.pulsar.client.api.ConsumerConfiguration
Deprecated.
 
getAckTimeoutRedeliveryBackoff() - Method in class org.apache.pulsar.client.api.ConsumerConfiguration
Deprecated.
 
getAuthentication() - Method in class org.apache.pulsar.client.api.ClientConfiguration
Deprecated.
 
getBatchingEnabled() - Method in class org.apache.pulsar.client.api.ProducerConfiguration
Deprecated.
Return the flag whether automatic message batching is enabled or not.
getBatchingMaxMessages() - Method in class org.apache.pulsar.client.api.ProducerConfiguration
Deprecated.
 
getBatchingMaxPublishDelayMs() - Method in class org.apache.pulsar.client.api.ProducerConfiguration
Deprecated.
 
getBlockIfQueueFull() - Method in class org.apache.pulsar.client.api.ProducerConfiguration
Deprecated.
 
getCompressionType() - Method in class org.apache.pulsar.client.api.ProducerConfiguration
Deprecated.
 
getConcurrentLookupRequest() - Method in class org.apache.pulsar.client.api.ClientConfiguration
Deprecated.
Get configured total allowed concurrent lookup-request.
getConfigurationData() - Method in class org.apache.pulsar.client.api.ClientConfiguration
Deprecated.
 
getConfigurationData() - Method in class org.apache.pulsar.client.api.ConsumerConfiguration
Deprecated.
 
getConnectionsPerBroker() - Method in class org.apache.pulsar.client.api.ClientConfiguration
Deprecated.
 
getConnectionTimeoutMs() - Method in class org.apache.pulsar.client.api.ClientConfiguration
Deprecated.
Get the duration of time for which the client will wait for a connection to a broker to be established before giving up.
getConsumerEventListener() - Method in class org.apache.pulsar.client.api.ConsumerConfiguration
Deprecated.
 
getConsumerName() - Method in interface org.apache.pulsar.client.api.Consumer
Get the name of consumer.
getConsumerName() - Method in class org.apache.pulsar.client.api.ConsumerConfiguration
Deprecated.
 
getConsumerName() - Method in class org.apache.pulsar.client.impl.v1.ConsumerV1Impl
 
getCryptoFailureAction() - Method in class org.apache.pulsar.client.api.ConsumerConfiguration
Deprecated.
 
getCryptoFailureAction() - Method in class org.apache.pulsar.client.api.ProducerConfiguration
Deprecated.
 
getCryptoFailureAction() - Method in class org.apache.pulsar.client.api.ReaderConfiguration
Deprecated.
 
getCryptoKeyReader() - Method in class org.apache.pulsar.client.api.ConsumerConfiguration
Deprecated.
 
getCryptoKeyReader() - Method in class org.apache.pulsar.client.api.ProducerConfiguration
Deprecated.
 
getCryptoKeyReader() - Method in class org.apache.pulsar.client.api.ReaderConfiguration
Deprecated.
 
getEncryptionKeys() - Method in class org.apache.pulsar.client.api.ProducerConfiguration
Deprecated.
 
getHashingScheme() - Method in class org.apache.pulsar.client.api.ProducerConfiguration
Deprecated.
 
getInitialSequenceId() - Method in class org.apache.pulsar.client.api.ProducerConfiguration
Deprecated.
 
getIoThreads() - Method in class org.apache.pulsar.client.api.ClientConfiguration
Deprecated.
 
getLastMessageId() - Method in class org.apache.pulsar.client.impl.v1.ConsumerV1Impl
 
getLastMessageIdAsync() - Method in class org.apache.pulsar.client.impl.v1.ConsumerV1Impl
 
getLastSequenceId() - Method in interface org.apache.pulsar.client.api.Producer
Get the last sequence id that was published by this producer.
getLastSequenceId() - Method in class org.apache.pulsar.client.impl.v1.ProducerV1Impl
 
getListenerThreads() - Method in class org.apache.pulsar.client.api.ClientConfiguration
Deprecated.
 
getMaxNumberOfRejectedRequestPerConnection() - Method in class org.apache.pulsar.client.api.ClientConfiguration
Deprecated.
Get configured max number of reject-request in a time-frame (60 seconds) after which connection will be closed.
getMaxPendingMessages() - Method in class org.apache.pulsar.client.api.ProducerConfiguration
Deprecated.
 
getMaxPendingMessagesAcrossPartitions() - Method in class org.apache.pulsar.client.api.ProducerConfiguration
Deprecated.
 
getMaxTotalReceiverQueueSizeAcrossPartitions() - Method in class org.apache.pulsar.client.api.ConsumerConfiguration
Deprecated.
 
getMessageListener() - Method in class org.apache.pulsar.client.api.ConsumerConfiguration
Deprecated.
 
getMessageRouter() - Method in class org.apache.pulsar.client.api.ProducerConfiguration
Deprecated.
getMessageRouter(int) - Method in class org.apache.pulsar.client.api.ProducerConfiguration
Deprecated.
since 1.22.0-incubating. numPartitions is already passed as parameter in MessageRouter.choosePartition(Message, TopicMetadata).
getMessageRoutingMode() - Method in class org.apache.pulsar.client.api.ProducerConfiguration
Deprecated.
Get the message routing mode for the partitioned producer.
getNegativeAckRedeliveryBackoff() - Method in class org.apache.pulsar.client.api.ConsumerConfiguration
Deprecated.
 
getOperationTimeoutMs() - Method in class org.apache.pulsar.client.api.ClientConfiguration
Deprecated.
 
getPriorityLevel() - Method in class org.apache.pulsar.client.api.ConsumerConfiguration
Deprecated.
 
getProducerConfigurationData() - Method in class org.apache.pulsar.client.api.ProducerConfiguration
Deprecated.
 
getProducerName() - Method in interface org.apache.pulsar.client.api.Producer
 
getProducerName() - Method in class org.apache.pulsar.client.api.ProducerConfiguration
Deprecated.
 
getProducerName() - Method in class org.apache.pulsar.client.impl.v1.ProducerV1Impl
 
getProperties() - Method in class org.apache.pulsar.client.api.ConsumerConfiguration
Deprecated.
 
getProperties() - Method in class org.apache.pulsar.client.api.ProducerConfiguration
Deprecated.
 
getReadCompacted() - Method in class org.apache.pulsar.client.api.ConsumerConfiguration
Deprecated.
 
getReaderConfigurationData() - Method in class org.apache.pulsar.client.api.ReaderConfiguration
Deprecated.
 
getReaderListener() - Method in class org.apache.pulsar.client.api.ReaderConfiguration
Deprecated.
 
getReaderName() - Method in class org.apache.pulsar.client.api.ReaderConfiguration
Deprecated.
 
getReceiverQueueSize() - Method in class org.apache.pulsar.client.api.ConsumerConfiguration
Deprecated.
 
getReceiverQueueSize() - Method in class org.apache.pulsar.client.api.ReaderConfiguration
Deprecated.
 
getSendTimeoutMs() - Method in class org.apache.pulsar.client.api.ProducerConfiguration
Deprecated.
 
getStats() - Method in interface org.apache.pulsar.client.api.Consumer
Get statistics for the consumer.
getStats() - Method in interface org.apache.pulsar.client.api.Producer
Get statistics for the producer.
getStats() - Method in class org.apache.pulsar.client.impl.v1.ConsumerV1Impl
 
getStats() - Method in class org.apache.pulsar.client.impl.v1.ProducerV1Impl
 
getStatsIntervalSeconds() - Method in class org.apache.pulsar.client.api.ClientConfiguration
Deprecated.
Stats will be activated with positive statsIntervalSeconds.
getSubscription() - Method in interface org.apache.pulsar.client.api.Consumer
Get a subscription for the consumer.
getSubscription() - Method in class org.apache.pulsar.client.impl.v1.ConsumerV1Impl
 
getSubscriptionInitialPosition() - Method in class org.apache.pulsar.client.api.ConsumerConfiguration
Deprecated.
 
getSubscriptionRolePrefix() - Method in class org.apache.pulsar.client.api.ReaderConfiguration
Deprecated.
 
getSubscriptionType() - Method in class org.apache.pulsar.client.api.ConsumerConfiguration
Deprecated.
 
getTlsTrustCertsFilePath() - Method in class org.apache.pulsar.client.api.ClientConfiguration
Deprecated.
 
getTopic() - Method in interface org.apache.pulsar.client.api.Consumer
Get a topic for the consumer.
getTopic() - Method in interface org.apache.pulsar.client.api.Producer
 
getTopic() - Method in interface org.apache.pulsar.client.api.Reader
 
getTopic() - Method in class org.apache.pulsar.client.impl.v1.ConsumerV1Impl
 
getTopic() - Method in class org.apache.pulsar.client.impl.v1.ProducerV1Impl
 
getTopic() - Method in class org.apache.pulsar.client.impl.v1.ReaderV1Impl
 

H

hasMessageAvailable() - Method in interface org.apache.pulsar.client.api.Reader
Check if there is any message available to read from the current position.
hasMessageAvailable() - Method in class org.apache.pulsar.client.impl.v1.ReaderV1Impl
 
hasMessageAvailableAsync() - Method in interface org.apache.pulsar.client.api.Reader
Asynchronously Check if there is message that has been published successfully to the broker in the topic.
hasMessageAvailableAsync() - Method in class org.apache.pulsar.client.impl.v1.ReaderV1Impl
 
hasReachedEndOfTopic() - Method in interface org.apache.pulsar.client.api.Consumer
Return true if the topic was terminated and this consumer has already consumed all the messages in the topic.
hasReachedEndOfTopic() - Method in interface org.apache.pulsar.client.api.Reader
Return true if the topic was terminated and this reader has reached the end of the topic.
hasReachedEndOfTopic() - Method in class org.apache.pulsar.client.impl.v1.ConsumerV1Impl
 
hasReachedEndOfTopic() - Method in class org.apache.pulsar.client.impl.v1.ReaderV1Impl
 

I

isConnected() - Method in interface org.apache.pulsar.client.api.Consumer
 
isConnected() - Method in interface org.apache.pulsar.client.api.Producer
 
isConnected() - Method in interface org.apache.pulsar.client.api.Reader
 
isConnected() - Method in class org.apache.pulsar.client.impl.v1.ConsumerV1Impl
 
isConnected() - Method in class org.apache.pulsar.client.impl.v1.ProducerV1Impl
 
isConnected() - Method in class org.apache.pulsar.client.impl.v1.ReaderV1Impl
 
isEncryptionEnabled() - Method in class org.apache.pulsar.client.api.ProducerConfiguration
Deprecated.
Returns true if encryption keys are added.
isTlsAllowInsecureConnection() - Method in class org.apache.pulsar.client.api.ClientConfiguration
Deprecated.
 
isTlsHostnameVerificationEnable() - Method in class org.apache.pulsar.client.api.ClientConfiguration
Deprecated.
 
isUseTcpNoDelay() - Method in class org.apache.pulsar.client.api.ClientConfiguration
Deprecated.
 
isUseTls() - Method in class org.apache.pulsar.client.api.ClientConfiguration
Deprecated.
 

J

JavaStringHash - Enum constant in enum class org.apache.pulsar.client.api.ProducerConfiguration.HashingScheme
Deprecated.
 

M

MessageBuilder - Interface in org.apache.pulsar.client.api
Deprecated.
since 2.0. Use TypedMessageBuilder as returned by Producer#newMessage() to create a new message builder.
MessageBuilderImpl - Class in org.apache.pulsar.client.impl
 
MessageBuilderImpl() - Constructor for class org.apache.pulsar.client.impl.MessageBuilderImpl
 
MessageListener<T> - Interface in org.apache.pulsar.client.api
A listener that will be called in order for every message received.
Murmur3_32Hash - Enum constant in enum class org.apache.pulsar.client.api.ProducerConfiguration.HashingScheme
Deprecated.
 

O

org.apache.pulsar.client.api - package org.apache.pulsar.client.api
Pulsar Client API.
org.apache.pulsar.client.impl - package org.apache.pulsar.client.impl
Pulsar Client API.
org.apache.pulsar.client.impl.v1 - package org.apache.pulsar.client.impl.v1
Pulsar Client API.

P

pause() - Method in interface org.apache.pulsar.client.api.Consumer
Stop requesting new messages from the broker until Consumer.resume() is called.
pause() - Method in class org.apache.pulsar.client.impl.v1.ConsumerV1Impl
 
Producer - Interface in org.apache.pulsar.client.api
Producer object.
ProducerConfiguration - Class in org.apache.pulsar.client.api
Deprecated.
use PulsarClient#newProducer() to construct and configure a Producer instance
ProducerConfiguration() - Constructor for class org.apache.pulsar.client.api.ProducerConfiguration
Deprecated.
 
ProducerConfiguration.HashingScheme - Enum Class in org.apache.pulsar.client.api
Deprecated.
ProducerConfiguration.MessageRoutingMode - Enum Class in org.apache.pulsar.client.api
Deprecated.
ProducerV1Impl - Class in org.apache.pulsar.client.impl.v1
 
ProducerV1Impl(ProducerImpl<byte[]>) - Constructor for class org.apache.pulsar.client.impl.v1.ProducerV1Impl
 
PulsarClient - Interface in org.apache.pulsar.client.api
Class that provides a client interface to Pulsar.
PulsarClientV1Impl - Class in org.apache.pulsar.client.impl.v1
 
PulsarClientV1Impl(String, ClientConfiguration) - Constructor for class org.apache.pulsar.client.impl.v1.PulsarClientV1Impl
 

R

reachedEndOfTopic(Consumer) - Method in interface org.apache.pulsar.client.api.MessageListener
Get the notification when a topic is terminated.
reachedEndOfTopic(Reader) - Method in interface org.apache.pulsar.client.api.ReaderListener
Get the notification when a topic is terminated.
Reader - Interface in org.apache.pulsar.client.api
A Reader can be used to scan through all the messages currently available in a topic.
ReaderConfiguration - Class in org.apache.pulsar.client.api
Deprecated.
Use PulsarClient#newReader() to construct and configure a Reader instance
ReaderConfiguration() - Constructor for class org.apache.pulsar.client.api.ReaderConfiguration
Deprecated.
 
ReaderListener<T> - Interface in org.apache.pulsar.client.api
A listener that will be called in order for every message received.
ReaderV1Impl - Class in org.apache.pulsar.client.impl.v1
 
ReaderV1Impl(Reader<byte[]>) - Constructor for class org.apache.pulsar.client.impl.v1.ReaderV1Impl
 
readNext() - Method in interface org.apache.pulsar.client.api.Reader
Read the next message in the topic.
readNext() - Method in class org.apache.pulsar.client.impl.v1.ReaderV1Impl
 
readNext(int, TimeUnit) - Method in interface org.apache.pulsar.client.api.Reader
Read the next message in the topic waiting for a maximum of timeout time units.
readNext(int, TimeUnit) - Method in class org.apache.pulsar.client.impl.v1.ReaderV1Impl
 
readNextAsync() - Method in interface org.apache.pulsar.client.api.Reader
 
readNextAsync() - Method in class org.apache.pulsar.client.impl.v1.ReaderV1Impl
 
receive() - Method in interface org.apache.pulsar.client.api.Consumer
Receives a single message.
receive() - Method in class org.apache.pulsar.client.impl.v1.ConsumerV1Impl
 
receive(int, TimeUnit) - Method in interface org.apache.pulsar.client.api.Consumer
Receive a single message
receive(int, TimeUnit) - Method in class org.apache.pulsar.client.impl.v1.ConsumerV1Impl
 
receiveAsync() - Method in interface org.apache.pulsar.client.api.Consumer
Receive a single message
receiveAsync() - Method in class org.apache.pulsar.client.impl.v1.ConsumerV1Impl
 
received(Consumer, Message<T>) - Method in interface org.apache.pulsar.client.api.MessageListener
This method is called whenever a new message is received.
received(Reader, Message<T>) - Method in interface org.apache.pulsar.client.api.ReaderListener
This method is called whenever a new message is received.
redeliverUnacknowledgedMessages() - Method in interface org.apache.pulsar.client.api.Consumer
Redelivers all the unacknowledged messages.
redeliverUnacknowledgedMessages() - Method in class org.apache.pulsar.client.impl.v1.ConsumerV1Impl
 
removeEncryptionKey(String) - Method in class org.apache.pulsar.client.api.ProducerConfiguration
Deprecated.
 
resume() - Method in interface org.apache.pulsar.client.api.Consumer
Resume requesting messages from the broker.
resume() - Method in class org.apache.pulsar.client.impl.v1.ConsumerV1Impl
 
RoundRobinPartition - Enum constant in enum class org.apache.pulsar.client.api.ProducerConfiguration.MessageRoutingMode
Deprecated.
 

S

seek(long) - Method in interface org.apache.pulsar.client.api.Consumer
Reset the subscription associated with this consumer to a specific message publish time.
seek(long) - Method in class org.apache.pulsar.client.impl.v1.ConsumerV1Impl
 
seek(Function<String, Object>) - Method in class org.apache.pulsar.client.impl.v1.ConsumerV1Impl
 
seek(MessageId) - Method in interface org.apache.pulsar.client.api.Consumer
Reset the subscription associated with this consumer to a specific message id.
seek(MessageId) - Method in class org.apache.pulsar.client.impl.v1.ConsumerV1Impl
 
seekAsync(long) - Method in interface org.apache.pulsar.client.api.Consumer
Reset the subscription associated with this consumer to a specific message publish time.
seekAsync(long) - Method in class org.apache.pulsar.client.impl.v1.ConsumerV1Impl
 
seekAsync(Function<String, Object>) - Method in class org.apache.pulsar.client.impl.v1.ConsumerV1Impl
 
seekAsync(MessageId) - Method in interface org.apache.pulsar.client.api.Consumer
Reset the subscription associated with this consumer to a specific message id.
seekAsync(MessageId) - Method in class org.apache.pulsar.client.impl.v1.ConsumerV1Impl
 
send(byte[]) - Method in interface org.apache.pulsar.client.api.Producer
Sends a message.
send(byte[]) - Method in class org.apache.pulsar.client.impl.v1.ProducerV1Impl
 
send(Message<byte[]>) - Method in interface org.apache.pulsar.client.api.Producer
Deprecated.
since 2.0. Use TypedMessageBuilder as returned by {@link Producer.newMessage()} to create a new message builder.
send(Message<byte[]>) - Method in class org.apache.pulsar.client.impl.v1.ProducerV1Impl
 
sendAsync(byte[]) - Method in interface org.apache.pulsar.client.api.Producer
Send a message asynchronously
sendAsync(byte[]) - Method in class org.apache.pulsar.client.impl.v1.ProducerV1Impl
 
sendAsync(Message<byte[]>) - Method in interface org.apache.pulsar.client.api.Producer
Deprecated.
since 2.0. Use TypedMessageBuilder as returned by Producer#newMessage() to create a new message builder.
sendAsync(Message<byte[]>) - Method in class org.apache.pulsar.client.impl.v1.ProducerV1Impl
 
setAckTimeout(long, TimeUnit) - Method in class org.apache.pulsar.client.api.ConsumerConfiguration
Deprecated.
Set the timeout for unacked messages, truncated to the nearest millisecond.
setAckTimeoutRedeliveryBackoff(RedeliveryBackoff) - Method in class org.apache.pulsar.client.api.ConsumerConfiguration
Deprecated.
 
setAuthentication(String, String) - Method in class org.apache.pulsar.client.api.ClientConfiguration
Deprecated.
Set the authentication provider to use in the Pulsar client instance.
setAuthentication(String, Map<String, String>) - Method in class org.apache.pulsar.client.api.ClientConfiguration
Deprecated.
Set the authentication provider to use in the Pulsar client instance.
setAuthentication(Authentication) - Method in class org.apache.pulsar.client.api.ClientConfiguration
Deprecated.
Set the authentication provider to use in the Pulsar client instance.
setBatchingEnabled(boolean) - Method in class org.apache.pulsar.client.api.ProducerConfiguration
Deprecated.
Control whether automatic batching of messages is enabled for the producer.
setBatchingMaxMessages(int) - Method in class org.apache.pulsar.client.api.ProducerConfiguration
Deprecated.
Set the maximum number of messages permitted in a batch.
setBatchingMaxPublishDelay(long, TimeUnit) - Method in class org.apache.pulsar.client.api.ProducerConfiguration
Deprecated.
Set the time period within which the messages sent will be batched default: 1ms if batch messages are enabled.
setBlockIfQueueFull(boolean) - Method in class org.apache.pulsar.client.api.ProducerConfiguration
Deprecated.
Set whether the Producer.send(byte[]) and Producer.sendAsync(byte[]) operations should block when the outgoing message queue is full.
setCompressionType(CompressionType) - Method in class org.apache.pulsar.client.api.ProducerConfiguration
Deprecated.
Set the compression type for the producer.
setConcurrentLookupRequest(int) - Method in class org.apache.pulsar.client.api.ClientConfiguration
Deprecated.
Number of concurrent lookup-requests allowed on each broker-connection to prevent overload on broker.
setConnectionsPerBroker(int) - Method in class org.apache.pulsar.client.api.ClientConfiguration
Deprecated.
Sets the max number of connection that the client library will open to a single broker.
setConnectionTimeout(int, TimeUnit) - Method in class org.apache.pulsar.client.api.ClientConfiguration
Deprecated.
Set the duration of time to wait for a connection to a broker to be established.
setConsumerEventListener(ConsumerEventListener) - Method in class org.apache.pulsar.client.api.ConsumerConfiguration
Deprecated.
Sets a ConsumerEventListener for the consumer.
setConsumerName(String) - Method in class org.apache.pulsar.client.api.ConsumerConfiguration
Deprecated.
Set the consumer name.
setContent(byte[]) - Method in interface org.apache.pulsar.client.api.MessageBuilder
Deprecated.
Set the content of the message.
setContent(byte[]) - Method in class org.apache.pulsar.client.impl.MessageBuilderImpl
 
setContent(byte[], int, int) - Method in interface org.apache.pulsar.client.api.MessageBuilder
Deprecated.
Set the content of the message.
setContent(byte[], int, int) - Method in class org.apache.pulsar.client.impl.MessageBuilderImpl
 
setContent(ByteBuffer) - Method in interface org.apache.pulsar.client.api.MessageBuilder
Deprecated.
Set the content of the message.
setContent(ByteBuffer) - Method in class org.apache.pulsar.client.impl.MessageBuilderImpl
 
setCryptoFailureAction(ConsumerCryptoFailureAction) - Method in class org.apache.pulsar.client.api.ConsumerConfiguration
Deprecated.
Sets the ConsumerCryptoFailureAction to the value specified.
setCryptoFailureAction(ConsumerCryptoFailureAction) - Method in class org.apache.pulsar.client.api.ReaderConfiguration
Deprecated.
Sets the ConsumerCryptoFailureAction to the value specified.
setCryptoFailureAction(ProducerCryptoFailureAction) - Method in class org.apache.pulsar.client.api.ProducerConfiguration
Deprecated.
Sets the ProducerCryptoFailureAction to the value specified.
setCryptoKeyReader(CryptoKeyReader) - Method in class org.apache.pulsar.client.api.ConsumerConfiguration
Deprecated.
Sets a CryptoKeyReader.
setCryptoKeyReader(CryptoKeyReader) - Method in class org.apache.pulsar.client.api.ProducerConfiguration
Deprecated.
Sets a CryptoKeyReader.
setCryptoKeyReader(CryptoKeyReader) - Method in class org.apache.pulsar.client.api.ReaderConfiguration
Deprecated.
Sets a CryptoKeyReader.
setEventTime(long) - Method in interface org.apache.pulsar.client.api.MessageBuilder
Deprecated.
Set the event time for a given message.
setEventTime(long) - Method in class org.apache.pulsar.client.impl.MessageBuilderImpl
 
setHashingScheme(ProducerConfiguration.HashingScheme) - Method in class org.apache.pulsar.client.api.ProducerConfiguration
Deprecated.
 
setInitialSequenceId(long) - Method in class org.apache.pulsar.client.api.ProducerConfiguration
Deprecated.
Set the baseline for the sequence ids for messages published by the producer.
setIoThreads(int) - Method in class org.apache.pulsar.client.api.ClientConfiguration
Deprecated.
Set the number of threads to be used for handling connections to brokers (default: 1 thread).
setKey(String) - Method in interface org.apache.pulsar.client.api.MessageBuilder
Deprecated.
Sets the key of the message for routing policy.
setKey(String) - Method in class org.apache.pulsar.client.impl.MessageBuilderImpl
 
setListenerThreads(int) - Method in class org.apache.pulsar.client.api.ClientConfiguration
Deprecated.
Set the number of threads to be used for message listeners (default: 1 thread).
setMaxNumberOfRejectedRequestPerConnection(int) - Method in class org.apache.pulsar.client.api.ClientConfiguration
Deprecated.
Set max number of broker-rejected requests in a certain time-frame (60 seconds) after which current connection.
setMaxPendingMessages(int) - Method in class org.apache.pulsar.client.api.ProducerConfiguration
Deprecated.
Set the max size of the queue holding the messages pending to receive an acknowledgment from the broker.
setMaxPendingMessagesAcrossPartitions(int) - Method in class org.apache.pulsar.client.api.ProducerConfiguration
Deprecated.
Set the number of max pending messages across all the partitions
setMaxTotalReceiverQueueSizeAcrossPartitions(int) - Method in class org.apache.pulsar.client.api.ConsumerConfiguration
Deprecated.
Set the max total receiver queue size across partitons.
setMessageListener(MessageListener<byte[]>) - Method in class org.apache.pulsar.client.api.ConsumerConfiguration
Deprecated.
Sets a MessageListener for the consumer
setMessageRouter(MessageRouter) - Method in class org.apache.pulsar.client.api.ProducerConfiguration
Deprecated.
Set a custom message routing policy by passing an implementation of MessageRouter.
setMessageRoutingMode(ProducerConfiguration.MessageRoutingMode) - Method in class org.apache.pulsar.client.api.ProducerConfiguration
Deprecated.
Set the message routing mode for the partitioned producer.
setNegativeAckRedeliveryBackoff(RedeliveryBackoff) - Method in class org.apache.pulsar.client.api.ConsumerConfiguration
Deprecated.
 
setOperationTimeout(int, TimeUnit) - Method in class org.apache.pulsar.client.api.ClientConfiguration
Deprecated.
Set the operation timeout (default: 30 seconds).
setPriorityLevel(int) - Method in class org.apache.pulsar.client.api.ConsumerConfiguration
Deprecated.
Sets priority level for the shared subscription consumers to which broker gives more priority while dispatching messages.
setProducerName(String) - Method in class org.apache.pulsar.client.api.ProducerConfiguration
Deprecated.
Specify a name for the producer
setProperties(Map<String, String>) - Method in class org.apache.pulsar.client.api.ConsumerConfiguration
Deprecated.
Add all the properties in the provided map.
setProperties(Map<String, String>) - Method in interface org.apache.pulsar.client.api.MessageBuilder
Deprecated.
Add all the properties in the provided map.
setProperties(Map<String, String>) - Method in class org.apache.pulsar.client.api.ProducerConfiguration
Deprecated.
Add all the properties in the provided map.
setProperties(Map<String, String>) - Method in class org.apache.pulsar.client.impl.MessageBuilderImpl
 
setProperty(String, String) - Method in class org.apache.pulsar.client.api.ConsumerConfiguration
Deprecated.
Set a name/value property with this consumer.
setProperty(String, String) - Method in interface org.apache.pulsar.client.api.MessageBuilder
Deprecated.
Sets a new property on a message.
setProperty(String, String) - Method in class org.apache.pulsar.client.api.ProducerConfiguration
Deprecated.
Set a name/value property with this producer.
setProperty(String, String) - Method in class org.apache.pulsar.client.impl.MessageBuilderImpl
 
setReadCompacted(boolean) - Method in class org.apache.pulsar.client.api.ConsumerConfiguration
Deprecated.
If enabled, the consumer will read messages from the compacted topic rather than reading the full message backlog of the topic.
setReaderListener(ReaderListener<byte[]>) - Method in class org.apache.pulsar.client.api.ReaderConfiguration
Deprecated.
Sets a ReaderListener for the reader
setReaderName(String) - Method in class org.apache.pulsar.client.api.ReaderConfiguration
Deprecated.
Set the consumer name.
setReceiverQueueSize(int) - Method in class org.apache.pulsar.client.api.ConsumerConfiguration
Deprecated.
Sets the size of the consumer receive queue.
setReceiverQueueSize(int) - Method in class org.apache.pulsar.client.api.ReaderConfiguration
Deprecated.
Sets the size of the consumer receive queue.
setReplicationClusters(List<String>) - Method in interface org.apache.pulsar.client.api.MessageBuilder
Deprecated.
Override the replication clusters for this message.
setReplicationClusters(List<String>) - Method in class org.apache.pulsar.client.impl.MessageBuilderImpl
 
setSendTimeout(int, TimeUnit) - Method in class org.apache.pulsar.client.api.ProducerConfiguration
Deprecated.
Set the send timeout (default: 30 seconds)
setSequenceId(long) - Method in interface org.apache.pulsar.client.api.MessageBuilder
Deprecated.
Specify a custom sequence id for the message being published.
setSequenceId(long) - Method in class org.apache.pulsar.client.impl.MessageBuilderImpl
 
setServiceUrl(String) - Method in class org.apache.pulsar.client.api.ClientConfiguration
Deprecated.
 
setStatsInterval(long, TimeUnit) - Method in class org.apache.pulsar.client.api.ClientConfiguration
Deprecated.
Set the interval between each stat info (default: 60 seconds) Stats will be activated with positive.
setSubscriptionInitialPosition(SubscriptionInitialPosition) - Method in class org.apache.pulsar.client.api.ConsumerConfiguration
Deprecated.
 
setSubscriptionRolePrefix(String) - Method in class org.apache.pulsar.client.api.ReaderConfiguration
Deprecated.
Set the subscription role prefix for subscription auth.
setSubscriptionType(SubscriptionType) - Method in class org.apache.pulsar.client.api.ConsumerConfiguration
Deprecated.
Select the subscription type to be used when subscribing to the topic.
setTlsAllowInsecureConnection(boolean) - Method in class org.apache.pulsar.client.api.ClientConfiguration
Deprecated.
Configure whether the Pulsar client accept untrusted TLS certificate from broker (default: false).
setTlsHostnameVerificationEnable(boolean) - Method in class org.apache.pulsar.client.api.ClientConfiguration
Deprecated.
It allows to validate hostname verification when client connects to broker over tls.
setTlsTrustCertsFilePath(String) - Method in class org.apache.pulsar.client.api.ClientConfiguration
Deprecated.
Set the path to the trusted TLS certificate file.
setUseTcpNoDelay(boolean) - Method in class org.apache.pulsar.client.api.ClientConfiguration
Deprecated.
Configure whether to use TCP no-delay flag on the connection, to disable Nagle algorithm.
setUseTls(boolean) - Method in class org.apache.pulsar.client.api.ClientConfiguration
Deprecated.
Configure whether to use TLS encryption on the connection (default: false).
shutdown() - Method in interface org.apache.pulsar.client.api.PulsarClient
Perform immediate shutdown of PulsarClient.
shutdown() - Method in class org.apache.pulsar.client.impl.v1.PulsarClientV1Impl
 
SinglePartition - Enum constant in enum class org.apache.pulsar.client.api.ProducerConfiguration.MessageRoutingMode
Deprecated.
 
subscribe(String, String) - Method in interface org.apache.pulsar.client.api.PulsarClient
Deprecated.
Use #newConsumer() to build a new consumer
subscribe(String, String) - Method in class org.apache.pulsar.client.impl.v1.PulsarClientV1Impl
 
subscribe(String, String, ConsumerConfiguration) - Method in interface org.apache.pulsar.client.api.PulsarClient
Deprecated.
Use #newConsumer() to build a new consumer
subscribe(String, String, ConsumerConfiguration) - Method in class org.apache.pulsar.client.impl.v1.PulsarClientV1Impl
 
subscribeAsync(String, String) - Method in interface org.apache.pulsar.client.api.PulsarClient
Deprecated.
Use #newConsumer() to build a new consumer
subscribeAsync(String, String) - Method in class org.apache.pulsar.client.impl.v1.PulsarClientV1Impl
 
subscribeAsync(String, String, ConsumerConfiguration) - Method in interface org.apache.pulsar.client.api.PulsarClient
Deprecated.
Use #newConsumer() to build a new consumer
subscribeAsync(String, String, ConsumerConfiguration) - Method in class org.apache.pulsar.client.impl.v1.PulsarClientV1Impl
 

U

unsubscribe() - Method in interface org.apache.pulsar.client.api.Consumer
Unsubscribe the consumer
unsubscribe() - Method in class org.apache.pulsar.client.impl.v1.ConsumerV1Impl
 
unsubscribeAsync() - Method in interface org.apache.pulsar.client.api.Consumer
Asynchronously unsubscribe the consumer.
unsubscribeAsync() - Method in class org.apache.pulsar.client.impl.v1.ConsumerV1Impl
 

V

valueOf(String) - Static method in enum class org.apache.pulsar.client.api.ProducerConfiguration.HashingScheme
Deprecated.
Returns the enum constant of this class with the specified name.
valueOf(String) - Static method in enum class org.apache.pulsar.client.api.ProducerConfiguration.MessageRoutingMode
Deprecated.
Returns the enum constant of this class with the specified name.
values() - Static method in enum class org.apache.pulsar.client.api.ProducerConfiguration.HashingScheme
Deprecated.
Returns an array containing the constants of this enum class, in the order they are declared.
values() - Static method in enum class org.apache.pulsar.client.api.ProducerConfiguration.MessageRoutingMode
Deprecated.
Returns an array containing the constants of this enum class, in the order they are declared.
A B C D F G H I J M O P R S U V 
All Classes and Interfaces|All Packages|Serialized Form