public class SystemTopic extends PersistentTopic
Topic.PublishContextdelayedDeliveryEnabled, delayedDeliveryTickTimeMillis, ledger, MESSAGE_RATE_BACKOFF_MS, messageDeduplication, msgChunkPublished, transactionBufferaddEntryLatencyStatsUsec, brokerService, bytesOutFromRemovedSubscriptions, hasBatchMessagePublished, inactiveTopicPolicies, isAllowAutoUpdateSchema, isEncryptionRequired, isFenced, lastActive, lock, maxSubscriptionsPerTopic, maxUnackedMessagesOnConsumerAppilied, msgOutFromRemovedSubscriptions, preciseTopicPublishRateLimitingEnable, producers, publishRateLimitedTimes, replicatorPrefix, resourceGroupPublishLimiter, resourceGroupRateLimitingEnabled, schemaCompatibilityStrategy, schemaValidationEnforced, topic, topicEpoch, topicPublishRateLimiter| Constructor and Description |
|---|
SystemTopic(String topic,
ManagedLedger ledger,
BrokerService brokerService) |
| Modifier and Type | Method and Description |
|---|---|
void |
checkGC() |
void |
checkMessageExpiry() |
CompletableFuture<Void> |
checkReplication() |
CompletableFuture<Boolean> |
isCompactionEnabled() |
boolean |
isDeleteWhileInactive() |
boolean |
isSizeBacklogExceeded() |
boolean |
isSystemTopic() |
boolean |
isTimeBacklogExceeded() |
addComplete, addFailed, addProducer, addReplicationCluster, addSchemaIfIdleOrCheckCompatible, asyncReadEntry, checkBackloggedCursors, checkCompaction, checkDeduplicationSnapshot, checkDeduplicationStatus, checkIfTransactionBufferRecoverCompletely, checkInactiveSubscriptions, checkMessageDeduplicationInfo, checkReplicatedSubscriptionControllerState, checkSubscriptionTypesEnable, clearBacklog, clearBacklog, close, close, compactionStatus, createSubscription, delete, deleteForcefully, endTxn, getBacklogQuota, getBacklogSize, getCompactedTopic, getCompactedTopicContext, getDelayedDeliveryTickTimeMillis, getDispatchRateLimiter, getFirstPosition, getInternalStats, getLastDataMessagePublishedTimestamp, getLastMessageId, getLastPosition, getLastPublishedSequenceId, getLastUpdatedAvgPublishRateInByte, getLastUpdatedAvgPublishRateInMsg, getManagedLedger, getMaxReadPosition, getMaxUnackedMessagesOnConsumer, getMaxUnackedMessagesOnSubscription, getMessageDeduplication, getNumberOfConsumers, getNumberOfEntries, getNumberOfSameAddressConsumers, getPendingAckManagedLedger, getPersistentReplicator, getPositionAfterN, getReplicatedSubscriptionController, getReplicators, getStats, getSubscribeRateLimiter, getSubscription, getSubscriptions, getTransactionBufferStats, getTransactionInBufferStats, getTransactionInPendingAckStats, getTransactionPendingAckStats, handleProducerRemoved, incrementTopicEpoch, initialize, initTopicPolicy, isActive, isBacklogQuotaExceeded, isDeduplicationEnabled, isDelayedDeliveryEnabled, isOldestMessageExpired, isPersistent, isReplicated, isTerminated, isTxnAborted, offloadStatus, onPoliciesUpdate, onUpdate, preCreateSubscriptionForCompactionIfNeeded, publishMessage, publishTxnMessage, setTopicEpoch, startReplProducers, stopReplProducers, subscribe, terminate, triggerCompaction, triggerOffload, truncate, unsubscribe, updateRates, updateUnackedMessagesAppliedOnSubscriptionaddConsumerToSubscription, addSchema, checkSchemaCompatibleForConsumer, checkTopicFenced, checkTopicPublishThrottlingRate, currentUsageCount, decrementUsageCount, deletePartitionedTopicMetadataWhileInactive, deleteSchema, deleteTopicPolicies, disableCnxAutoRead, disableProducerRead, enableCnxAutoRead, enableProducerReadForPublishBufferLimiting, enableProducerReadForPublishRateLimiting, getActiveConsumer, getBrokerPublishRateLimiter, getBrokerService, getBytesInCounter, getBytesOutCounter, getInactiveTopicPolicies, getMsgInCounter, getMsgOutCounter, getName, getNumberOfSameAddressConsumers, getNumberOfSameAddressProducers, getProducers, getReplicatorPrefix, getSchemaValidationEnforced, getTopicPolicies, getTopicPublishRateLimiter, getWaitingProducersCount, handleConsumerAdded, hasLocalProducers, hasSchema, increasePublishLimitedTimes, incrementPublishCount, incrementTopicEpochIfNeeded, internalAddProducer, isBrokerPublishRateExceeded, isConsumersExceededOnTopic, isEncryptionRequired, isExceedMaximumMessageSize, isProducersExceeded, isPublishRateExceeded, isResourceGroupPublishRateExceeded, isResourceGroupRateLimitingEnabled, isSameAddressConsumersExceededOnTopic, isSameAddressProducersExceeded, isTopicPublishRateExceeded, markBatchMessagePublished, recordAddLatency, removeProducer, resetBrokerPublishCountAndEnableReadIfRequired, resetInactiveTopicPolicies, resetTopicPublishCountAndEnableReadIfRequired, setDeleteWhileInactive, setSchemaCompatibilityStrategy, toString, updateMaxPublishRate, updatePublishDispatcherclone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitaddSchema, checkSchemaCompatibleForConsumer, checkTopicPublishThrottlingRate, deleteSchema, disableCnxAutoRead, enableCnxAutoRead, getBrokerService, getName, getProducers, getSchemaValidationEnforced, hasSchema, increasePublishLimitedTimes, incrementPublishCount, isBrokerPublishRateExceeded, isEncryptionRequired, isPublishRateExceeded, isResourceGroupPublishRateExceeded, isResourceGroupRateLimitingEnabled, isTopicPublishRateExceeded, recordAddLatency, removeProducer, resetBrokerPublishCountAndEnableReadIfRequired, resetTopicPublishCountAndEnableReadIfRequiredpublic SystemTopic(String topic, ManagedLedger ledger, BrokerService brokerService) throws PulsarServerException
PulsarServerExceptionpublic boolean isDeleteWhileInactive()
isDeleteWhileInactive in class AbstractTopicpublic boolean isSizeBacklogExceeded()
isSizeBacklogExceeded in class PersistentTopicpublic boolean isTimeBacklogExceeded()
isTimeBacklogExceeded in class PersistentTopicpublic boolean isSystemTopic()
isSystemTopic in interface TopicisSystemTopic in class PersistentTopicpublic void checkMessageExpiry()
checkMessageExpiry in interface TopiccheckMessageExpiry in class PersistentTopicpublic void checkGC()
checkGC in interface TopiccheckGC in class PersistentTopicpublic CompletableFuture<Void> checkReplication()
checkReplication in interface TopiccheckReplication in class PersistentTopicpublic CompletableFuture<Boolean> isCompactionEnabled()
isCompactionEnabled in class PersistentTopicCopyright © 2017–2022 Apache Software Foundation. All rights reserved.