Uses of Interface
org.apache.pulsar.broker.service.Topic
Packages that use Topic
Package
Description
Implementation of a transaction buffer.
The implementation of a transaction buffer.
-
Uses of Topic in org.apache.pulsar.broker.rest
Methods in org.apache.pulsar.broker.rest with parameters of type TopicModifier and TypeMethodDescriptionstatic RestMessagePublishContextRestMessagePublishContext.get(CompletableFuture<Position> positionFuture, Topic topic, long startTimeNs) -
Uses of Topic in org.apache.pulsar.broker.service
Classes in org.apache.pulsar.broker.service that implement TopicFields in org.apache.pulsar.broker.service declared as TopicMethods in org.apache.pulsar.broker.service with type parameters of type TopicModifier and TypeMethodDescription<T extends Topic>
TTopicFactory.create(String topic, ManagedLedger ledger, BrokerService brokerService, Class<T> topicClazz) <T extends Topic>
TBrokerService.newTopic(String topic, ManagedLedger ledger, BrokerService brokerService, Class<T> topicClazz) Methods in org.apache.pulsar.broker.service that return TopicModifier and TypeMethodDescriptionReplicator.getLocalTopic()Producer.getTopic()Subscription.getTopic()Methods in org.apache.pulsar.broker.service that return types with arguments of type TopicModifier and TypeMethodDescriptionBrokerService.extractTopic(CompletableFuture<Optional<Topic>> topicFuture) Safely extract optional topic instance from a future, in a way to avoid unchecked exceptions and race conditions.BrokerService.getAllTopicsFromNamespaceBundle(String namespace, String bundle) BrokerService.getOrCreateTopic(String topic) BrokerService.getTopic(org.apache.pulsar.common.naming.TopicName topicName, boolean createIfMissing, Map<String, String> properties) Retrieves or creates a topic based on the specified parameters.BrokerService.getTopicIfExists(String topic) BrokerService.getTopicReference(String topic) Get a reference to a topic that is currently loaded in the broker.protected CompletableFuture<Optional<Topic>>BrokerService.loadOrCreatePersistentTopic(String topic, boolean createIfMissing, Map<String, String> properties, org.apache.pulsar.common.policies.data.TopicPolicies topicPolicies) It creates a topic async and returns CompletableFuture.Methods in org.apache.pulsar.broker.service with parameters of type TopicModifier and TypeMethodDescriptionprotected voidAbstractBaseDispatcher.acquirePermitsForDeliveredMessages(Topic topic, ManagedCursor cursor, long totalEntries, long totalMessagesSent, long totalBytesSent) BrokerService.removeTopicFromCache(Topic topic) Method parameters in org.apache.pulsar.broker.service with type arguments of type TopicModifier and TypeMethodDescriptionvoidBrokerService.createPersistentTopic0(String topic, boolean createIfMissing, CompletableFuture<Optional<Topic>> topicFuture, Map<String, String> properties) BrokerService.extractTopic(CompletableFuture<Optional<Topic>> topicFuture) Safely extract optional topic instance from a future, in a way to avoid unchecked exceptions and race conditions.voidBrokerService.forEachTopic(Consumer<Topic> consumer) Iterates over all loaded topics in the broker.voidConstructors in org.apache.pulsar.broker.service with parameters of type TopicModifierConstructorDescriptionAbstractReplicator(String localCluster, Topic localTopic, String remoteCluster, String remoteTopicName, String replicatorPrefix, BrokerService brokerService, PulsarClientImpl replicationClient) Producer(Topic topic, TransportCnx cnx, long producerId, String producerName, String appId, boolean isEncrypted, Map<String, String> metadata, org.apache.pulsar.common.protocol.schema.SchemaVersion schemaVersion, long epoch, boolean userProvidedProducerName, org.apache.pulsar.common.api.proto.ProducerAccessMode accessMode, Optional<Long> topicEpoch, boolean supportsPartialProducer) -
Uses of Topic in org.apache.pulsar.broker.service.nonpersistent
Classes in org.apache.pulsar.broker.service.nonpersistent that implement TopicMethods in org.apache.pulsar.broker.service.nonpersistent that return Topic -
Uses of Topic in org.apache.pulsar.broker.service.persistent
Classes in org.apache.pulsar.broker.service.persistent that implement TopicMethods in org.apache.pulsar.broker.service.persistent that return Topic -
Uses of Topic in org.apache.pulsar.broker.transaction.buffer
Methods in org.apache.pulsar.broker.transaction.buffer with parameters of type TopicModifier and TypeMethodDescriptionTransactionBufferProvider.newTransactionBuffer(Topic originTopic) Open the persistent transaction buffer. -
Uses of Topic in org.apache.pulsar.broker.transaction.buffer.impl
Methods in org.apache.pulsar.broker.transaction.buffer.impl with parameters of type TopicModifier and TypeMethodDescriptionInMemTransactionBufferProvider.newTransactionBuffer(Topic originTopic) TopicTransactionBufferProvider.newTransactionBuffer(Topic originTopic) Constructors in org.apache.pulsar.broker.transaction.buffer.impl with parameters of type Topic