| 接口 | 说明 |
|---|---|
| Authentication |
Interface of authentication providers.
|
| AuthenticationDataProvider |
Interface for accessing data which are used in variety of authentication schemes on client side
|
| BatcherBuilder |
Batcher builder
|
| BatchMessageContainer |
Batch message container for individual messages being published until they are batched and sent to broker
|
| ClientBuilder |
Builder interface that is used to configure and construct a
PulsarClient instance. |
| Consumer<T> |
An interface that abstracts behavior of Pulsar's consumer.
|
| ConsumerBuilder<T> |
ConsumerBuilder is used to configure and create instances of Consumer. |
| ConsumerEventListener |
Listener on the consumer state changes.
|
| ConsumerInterceptor<T> |
A plugin interface that allows you to intercept (and possibly mutate)
messages received by the consumer.
|
| ConsumerStats |
Consumer statistics recorded by client.
|
| CryptoKeyReader |
Interface that abstracts the access to a key store.
|
| EncodedAuthenticationParameterSupport | |
| Message<T> |
The message abstraction used in Pulsar.
|
| MessageId |
Opaque unique identifier of a single message
The MessageId can be used to reference a specific message, for example when acknowledging, without having to retain
the message content in memory for an extended period of time.
|
| MessageListener<T> |
A listener that will be called in order for every message received.
|
| MessageRouter |
Interface for custom message router that can be passed
to a producer to select the partition that a particular
messsage should be published on.
|
| Producer<T> |
Producer is used to publish messages on a topic.
|
| ProducerBuilder<T> |
ProducerBuilder is used to configure and create instances of Producer. |
| ProducerInterceptor<T> |
A plugin interface that allows you to intercept (and possibly mutate) the
messages received by the producer before they are published to the Pulsar
brokers.
|
| ProducerStats |
Producer statistics recorded by client.
|
| PulsarClient |
Class that provides a client interface to Pulsar.
|
| Reader<T> |
A Reader can be used to scan through all the messages currently available in a topic.
|
| ReaderBuilder<T> |
ReaderBuilder is used to configure and create instances of Reader. |
| ReaderListener<T> |
A listener that will be called in order for every message received.
|
| Schema<T> |
Message schema definition
|
| ServiceUrlProvider |
The provider to provide the service url.
|
| TopicMetadata |
Metadata of a topic that can be used for message routing.
|
| TypedMessageBuilder<T> |
Message builder that constructs a message to be published through a producer.
|
| 类 | 说明 |
|---|---|
| AuthenticationFactory |
Factory class that allows to create
Authentication instances
for all the supported authentication methods. |
| DeadLetterPolicy |
Configuration for the "dead letter queue" feature in consumer.
|
| EncryptionKeyInfo |
EncryptionKeyInfo contains the encryption key and corresponding metadata which contains additional information about
the key such as version, timestamp.
|
| 枚举 | 说明 |
|---|---|
| CompressionType |
The compression type that can be specified on a
Producer. |
| ConsumerCryptoFailureAction |
The action a consumer should take when a consumer receives a
message that it cannot decrypt.
|
| HashingScheme |
Standard hashing functions available when choosing the partition to use for a particular message.
|
| MessageRoutingMode |
Default routing mode for messages to partition.
|
| ProducerCryptoFailureAction |
The action the producer will take in case of encryption failures
|
| RegexSubscriptionMode |
When subscribing to topics using a regular expression, one can specify
to only pick a certain type of topics.
|
| SubscriptionInitialPosition |
When creating a consumer, if the subscription does not exist, a new subscription will be created.
|
| SubscriptionType |
Types of subscription supported by Pulsar
|
Copyright © 2017–2019 Apache Software Foundation. All rights reserved.