Uses of Class
org.apache.pulsar.client.api.ConsumerConfiguration
Packages that use ConsumerConfiguration
Package
Description
Pulsar Client API.
Pulsar Client API.
-
Uses of ConsumerConfiguration in org.apache.pulsar.client.api
Methods in org.apache.pulsar.client.api that return ConsumerConfigurationModifier and TypeMethodDescriptionConsumerConfiguration.setAckTimeout(long ackTimeout, TimeUnit timeUnit) Deprecated.Set the timeout for unacked messages, truncated to the nearest millisecond.ConsumerConfiguration.setAckTimeoutRedeliveryBackoff(org.apache.pulsar.client.api.RedeliveryBackoff ackTimeoutRedeliveryBackoff) Deprecated.ConsumerConfiguration.setConsumerEventListener(org.apache.pulsar.client.api.ConsumerEventListener listener) Deprecated.Sets aConsumerEventListenerfor the consumer.ConsumerConfiguration.setConsumerName(String consumerName) Deprecated.Set the consumer name.ConsumerConfiguration.setCryptoKeyReader(org.apache.pulsar.client.api.CryptoKeyReader cryptoKeyReader) Deprecated.Sets aCryptoKeyReader.ConsumerConfiguration.setMessageListener(MessageListener<byte[]> messageListener) Deprecated.Sets aMessageListenerfor the consumerConsumerConfiguration.setNegativeAckRedeliveryBackoff(org.apache.pulsar.client.api.RedeliveryBackoff negativeAckRedeliveryBackoff) Deprecated.ConsumerConfiguration.setProperties(Map<String, String> properties) Deprecated.Add all the properties in the provided map.ConsumerConfiguration.setProperty(String key, String value) Deprecated.Set a name/value property with this consumer.ConsumerConfiguration.setReadCompacted(boolean readCompacted) Deprecated.If enabled, the consumer will read messages from the compacted topic rather than reading the full message backlog of the topic.ConsumerConfiguration.setReceiverQueueSize(int receiverQueueSize) Deprecated.Sets the size of the consumer receive queue.ConsumerConfiguration.setSubscriptionInitialPosition(org.apache.pulsar.client.api.SubscriptionInitialPosition subscriptionInitialPosition) Deprecated.ConsumerConfiguration.setSubscriptionType(org.apache.pulsar.client.api.SubscriptionType subscriptionType) Deprecated.Select the subscription type to be used when subscribing to the topic.Methods in org.apache.pulsar.client.api with parameters of type ConsumerConfigurationModifier and TypeMethodDescriptionPulsarClient.subscribe(String topic, String subscription, ConsumerConfiguration conf) Deprecated.PulsarClient.subscribeAsync(String topic, String subscription, ConsumerConfiguration conf) Deprecated.Use#newConsumer()to build a new consumer -
Uses of ConsumerConfiguration in org.apache.pulsar.client.impl.v1
Methods in org.apache.pulsar.client.impl.v1 with parameters of type ConsumerConfigurationModifier and TypeMethodDescriptionPulsarClientV1Impl.subscribe(String topic, String subscription, ConsumerConfiguration conf) PulsarClientV1Impl.subscribeAsync(String topic, String subscription, ConsumerConfiguration conf)
#newConsumer()to build a new consumer