Uses of Interface
org.apache.pulsar.broker.service.Topic
Packages that use Topic
Package
Description
Licensed to the Apache Software Foundation (ASF) under one
or more contributor license agreements.
Licensed to the Apache Software Foundation (ASF) under one
or more contributor license agreements.
Licensed to the Apache Software Foundation (ASF) under one
or more contributor license agreements.
Licensed to the Apache Software Foundation (ASF) under one
or more contributor license agreements.
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<org.apache.bookkeeper.mledger.impl.PositionImpl> positionFuture, Topic topic, long startTimeNs) -
Uses of Topic in org.apache.pulsar.broker.service
Classes in org.apache.pulsar.broker.service that implement TopicMethods in org.apache.pulsar.broker.service with type parameters of type TopicModifier and TypeMethodDescription<T extends Topic>
TTopicFactory.create(String topic, org.apache.bookkeeper.mledger.ManagedLedger ledger, BrokerService brokerService, Class<T> topicClazz) <T extends Topic>
TBrokerService.newTopic(String topic, org.apache.bookkeeper.mledger.ManagedLedger ledger, BrokerService brokerService, Class<T> topicClazz) Methods in org.apache.pulsar.broker.service that return TopicMethods 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) org.apache.pulsar.common.util.collections.ConcurrentOpenHashMap<String,org.apache.pulsar.common.util.collections.ConcurrentOpenHashMap<String, org.apache.pulsar.common.util.collections.ConcurrentOpenHashMap<String, Topic>>> BrokerService.getMultiLayerTopicMap()BrokerService.getOrCreateTopic(String topic) BrokerService.getTopic(org.apache.pulsar.common.naming.TopicName topicName, boolean createIfMissing, Map<String, String> properties) BrokerService.getTopicIfExists(String topic) BrokerService.getTopicReference(String topic) Get a reference to a topic that is currently loaded in the broker.org.apache.pulsar.common.util.collections.ConcurrentOpenHashMap<String,CompletableFuture<Optional<Topic>>> BrokerService.getTopics()protected CompletableFuture<Optional<Topic>>BrokerService.loadOrCreatePersistentTopic(String topic, boolean createIfMissing, Map<String, String> properties) It creates a topic async and returns CompletableFuture.Methods in org.apache.pulsar.broker.service with parameters of type TopicMethod 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.voidPulsarStats.updateStats(org.apache.pulsar.common.util.collections.ConcurrentOpenHashMap<String, org.apache.pulsar.common.util.collections.ConcurrentOpenHashMap<String, org.apache.pulsar.common.util.collections.ConcurrentOpenHashMap<String, Topic>>> topicsMap) Constructors in org.apache.pulsar.broker.service with parameters of type TopicModifierConstructorDescriptionProducer(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)