Package org.apache.pulsar.client.api
package org.apache.pulsar.client.api
Pulsar Client API.
-
ClassDescriptionDeprecated.An interface that abstracts behavior of Pulsar's consumer.Deprecated.Use
PulsarClient#newConsumerto build and configure aConsumerinstanceDeprecated.since 2.0.A listener that will be called in order for every message received.Producer object.Deprecated.usePulsarClient#newProducer()to construct and configure aProducerinstanceDeprecated.Deprecated.Class that provides a client interface to Pulsar.A Reader can be used to scan through all the messages currently available in a topic.Deprecated.UsePulsarClient#newReader()to construct and configure aReaderinstanceA listener that will be called in order for every message received.
PulsarClient#builder()to construct and configure a newPulsarClientinstance