MessageId
.Authentication
instances
for all the supported authentication methods.BatcherBuilder
of the producer.Consumer.receive()
, MessageListener.received(Consumer,
Message)
or the CompletableFuture
returned by
Consumer.receiveAsync()
completes.Producer.send(Object)
and Producer.sendAsync(Object)
methods, before
send the message to the brokers.Producer.send(T)
and Producer.sendAsync(T)
operations should block when the outgoing
message queue is full.PulsarClient
instancePulsarClient
instance.SchemaDefinition
instance.MessageRouter.choosePartition(Message, TopicMetadata)
instead.PulsarClient
instance.ProducerBuilder
.ReaderBuilder
.Producer
.ConsumerBuilder
is used to configure and create instances of Consumer
.ConsumerEventListener
for the consumer.Authentication
object by using
the plugin class name.Producer
instance.Reader
instance.Producer
instance in asynchronous mode.Reader
instance in asynchronous mode.ConsumerCryptoFailureAction
to specifyCryptoKeyReader
.CryptoKeyReader
.CryptoKeyReader
to decrypt the message payloads.KeyValue
pair.Schema
for the field value.GenericRecord
.GenericRecord
and bytes.EncryptionContext
contains encryption and compression information in it using which application can
decrypt consumed message with encrypted-payload.Schema
.HashingScheme
used to chose the partition on where to publish a particular message.Consumer
.ProducerInterceptor
to the producer.TypedMessageBuilder
from a config map, as an alternative compared
to call the individual builder methods.MessageListener
for the consumerMessageRoutingMode
for a partitioned producer.Schema.BYTES
) for subscribing to
one or more topics.Schema.BYTES
.Schema.BYTES
) to read from the specified topic.Schema
) to read from the specified topic.GenericRecord
.SubscriptionType.Key_Shared
mode.Consumer.resume()
is called.ProducerBuilder
is used to configure and create instances of Producer
.ReaderBuilder
is used to configure and create instances of Reader
.ReaderListener
for the readerGenericRecord
.SchemaDefinition
.ReaderBuilder.startMessageId(MessageId)
Consumer
creation by subscribing to the topic.Consumer
creation by subscribing to the topic in asynchronous mode.SubscriptionInitialPosition
for the consumer.Copyright © 2017–2019 Apache Software Foundation. All rights reserved.