ReaderBuilder<T> |
ReaderBuilder.clone() |
|
ReaderBuilder<T> |
ReaderBuilder.cryptoFailureAction(ConsumerCryptoFailureAction action) |
|
ReaderBuilder<T> |
ReaderBuilder.cryptoKeyReader(CryptoKeyReader cryptoKeyReader) |
|
ReaderBuilder<T> |
ReaderBuilder.defaultCryptoKeyReader(java.lang.String privateKey) |
|
ReaderBuilder<T> |
ReaderBuilder.defaultCryptoKeyReader(java.util.Map<java.lang.String,java.lang.String> privateKeys) |
|
ReaderBuilder<T> |
ReaderBuilder.keyHashRange(Range... ranges) |
Set key hash range of the reader, broker will only dispatch messages which hash of the message key contains by
the specified key hash range.
|
ReaderBuilder<T> |
ReaderBuilder.loadConf(java.util.Map<java.lang.String,java.lang.Object> config) |
Load the configuration from provided config map.
|
ReaderBuilder<byte[]> |
PulsarClient.newReader() |
Create a topic reader builder with no schema (Schema.BYTES ) to read from the specified topic.
|
<T> ReaderBuilder<T> |
PulsarClient.newReader(Schema<T> schema) |
Create a topic reader builder with a specific Schema ) to read from the specified topic.
|
ReaderBuilder<T> |
ReaderBuilder.readCompacted(boolean readCompacted) |
If enabled, the reader will read messages from the compacted topic rather than reading the full message backlog
of the topic.
|
ReaderBuilder<T> |
ReaderBuilder.readerListener(ReaderListener<T> readerListener) |
|
ReaderBuilder<T> |
ReaderBuilder.readerName(java.lang.String readerName) |
Specify a reader name.
|
ReaderBuilder<T> |
ReaderBuilder.receiverQueueSize(int receiverQueueSize) |
Sets the size of the consumer receive queue.
|
ReaderBuilder<T> |
ReaderBuilder.startMessageFromRollbackDuration(long rollbackDuration,
java.util.concurrent.TimeUnit timeunit) |
The initial reader positioning can be set at specific timestamp by providing total rollback duration.
|
ReaderBuilder<T> |
ReaderBuilder.startMessageId(MessageId startMessageId) |
The initial reader positioning is done by specifying a message id.
|
ReaderBuilder<T> |
ReaderBuilder.startMessageIdInclusive() |
|
ReaderBuilder<T> |
ReaderBuilder.subscriptionName(java.lang.String subscriptionName) |
Set the subscription name.
|
ReaderBuilder<T> |
ReaderBuilder.subscriptionRolePrefix(java.lang.String subscriptionRolePrefix) |
Set the subscription role prefix.
|
ReaderBuilder<T> |
ReaderBuilder.topic(java.lang.String topicName) |
Specify the topic this reader will read from.
|
ReaderBuilder<T> |
ReaderBuilder.topics(java.util.List<java.lang.String> topicNames) |
Specify topics this reader will read from.
|