Class PulsarCompactorSubscription
java.lang.Object
org.apache.pulsar.broker.service.AbstractSubscription
org.apache.pulsar.broker.service.persistent.PersistentSubscription
org.apache.pulsar.broker.service.persistent.PulsarCompactorSubscription
- All Implemented Interfaces:
MessageExpirer,Subscription
-
Field Summary
Fields inherited from class org.apache.pulsar.broker.service.persistent.PersistentSubscription
cursor, dispatcher, fullName, subName, topic, topicNameFields inherited from class org.apache.pulsar.broker.service.AbstractSubscription
bytesOutFromRemovedConsumers, msgOutFromRemovedConsumer -
Constructor Summary
ConstructorsConstructorDescriptionPulsarCompactorSubscription(PersistentTopic topic, CompactedTopic compactedTopic, String subscriptionName, ManagedCursor cursor) -
Method Summary
Methods inherited from class org.apache.pulsar.broker.service.persistent.PersistentSubscription
addConsumer, addUnAckedMessages, analyzeBacklog, checkAndUnblockIfStuck, checkIfPendingAckStoreInit, checkIsCanDeleteConsumerPendingAck, checkPositionInPendingAckState, clearBacklog, close, consumerFlow, deactivateCursor, delete, deleteForcefully, disconnect, doUnsubscribe, doUnsubscribe, endTxn, estimateBacklogSize, expireMessages, expireMessages, getConsumers, getCursor, getDispatcher, getExpiredMessageRate, getExpiryMonitor, getName, getNumberOfEntriesDelayed, getNumberOfEntriesInBacklog, getNumberOfEntriesSinceFirstNotAckedMessage, getPendingAckManageLedger, getPositionInPendingAck, getStatsAsync, getSubscriptionProperties, getTopic, getTopicName, getTotalNonContiguousDeletedMessagesRange, getTransactionInPendingAckStats, getTransactionPendingAckStats, getType, getTypeString, interceptor, isReplicated, isSubscriptionMigrated, markTopicWithBatchMessagePublished, mergeCursorProperties, peekNthMessage, processReplicatedSubscriptionSnapshot, redeliverUnacknowledgedMessages, redeliverUnacknowledgedMessages, removeConsumer, resetCursor, resetCursor, resumeAfterFence, setReplicated, skipMessages, syncBatchPositionBitSetForPendingAck, toString, transactionCumulativeAcknowledge, transactionIndividualAcknowledge, updateLastMarkDeleteAdvancedTimestamp, updateSubscriptionPropertiesMethods inherited from class org.apache.pulsar.broker.service.AbstractSubscription
checkForConsumerCompatibilityErrorWithDispatcher, getBytesOutCounter, getMsgOutCounterMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface org.apache.pulsar.broker.service.Subscription
getNumberOfSameAddressConsumers, removeConsumer
-
Constructor Details
-
PulsarCompactorSubscription
public PulsarCompactorSubscription(PersistentTopic topic, CompactedTopic compactedTopic, String subscriptionName, ManagedCursor cursor)
-
-
Method Details
-
acknowledgeMessage
public void acknowledgeMessage(List<Position> positions, org.apache.pulsar.common.api.proto.CommandAck.AckType ackType, Map<String, Long> properties) - Specified by:
acknowledgeMessagein interfaceSubscription- Overrides:
acknowledgeMessagein classPersistentSubscription
-