public class NonPersistentStickyKeyDispatcherMultipleConsumers extends NonPersistentDispatcherMultipleConsumers
msgDrop, subscription, TOTAL_AVAILABLE_PERMITS_UPDATERconsumerList, consumerSet, currentConsumerRoundRobinIndex, FALSE, IS_CLOSED_UPDATER, TRUEserviceConfig| Constructor and Description |
|---|
NonPersistentStickyKeyDispatcherMultipleConsumers(NonPersistentTopic topic,
Subscription subscription,
org.apache.pulsar.common.api.proto.KeySharedMeta ksm) |
| Modifier and Type | Method and Description |
|---|---|
void |
addConsumer(Consumer consumer) |
org.apache.pulsar.common.api.proto.KeySharedMode |
getKeySharedMode() |
org.apache.pulsar.common.api.proto.CommandSubscribe.SubType |
getType() |
void |
removeConsumer(Consumer consumer) |
void |
sendMessages(List<Entry> entries) |
canUnsubscribe, close, consumerFlow, disconnectActiveConsumers, disconnectAllConsumers, getConsumers, getMessageDropRate, getRedeliveryTracker, hasPermits, isConsumerAvailable, isConsumerConnected, isConsumersExceededOnSubscription, reset, resetCloseFuturecancelPendingRead, getNextConsumer, getRandomConsumer, isClosedcomputeReadLimits, filterEntriesForConsumer, filterEntriesForConsumer, isConsumersExceededOnSubscription, peekStickyKey, updateEntryWrapperWithMetadataclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitaddUnAckedMessages, redeliverUnacknowledgedMessages, redeliverUnacknowledgedMessagescheckAndUnblockIfStuck, clearDelayedMessages, cursorIsReset, disconnectAllConsumers, getNumberOfDelayedMessages, getRateLimiter, initializeDispatchRateLimiterIfNeeded, isClosed, markDeletePositionMoveForward, trackDelayedDelivery, updateRateLimiterpublic NonPersistentStickyKeyDispatcherMultipleConsumers(NonPersistentTopic topic, Subscription subscription, org.apache.pulsar.common.api.proto.KeySharedMeta ksm)
public void addConsumer(Consumer consumer) throws BrokerServiceException
addConsumer in interface DispatcheraddConsumer in interface NonPersistentDispatcheraddConsumer in class NonPersistentDispatcherMultipleConsumersBrokerServiceExceptionpublic void removeConsumer(Consumer consumer) throws BrokerServiceException
removeConsumer in interface DispatcherremoveConsumer in interface NonPersistentDispatcherremoveConsumer in class NonPersistentDispatcherMultipleConsumersBrokerServiceExceptionpublic org.apache.pulsar.common.api.proto.CommandSubscribe.SubType getType()
getType in interface DispatchergetType in interface NonPersistentDispatchergetType in class NonPersistentDispatcherMultipleConsumerspublic void sendMessages(List<Entry> entries)
sendMessages in interface NonPersistentDispatchersendMessages in class NonPersistentDispatcherMultipleConsumerspublic org.apache.pulsar.common.api.proto.KeySharedMode getKeySharedMode()
Copyright © 2017–2022 Apache Software Foundation. All rights reserved.