Uses of Class
org.apache.pulsar.broker.PulsarService
Packages that use PulsarService
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.
Pulsar broker interceptor.
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.
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.
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.
The implementation of a transaction buffer.
Licensed to the Apache Software Foundation (ASF) under one
or more contributor license agreements.
Pulsar broker servlet plugin.
Licensed to the Apache Software Foundation (ASF) under one
or more contributor license agreements.
-
Uses of PulsarService in org.apache.pulsar
Methods in org.apache.pulsar with parameters of type PulsarService -
Uses of PulsarService in org.apache.pulsar.broker
Methods in org.apache.pulsar.broker with parameters of type PulsarServiceModifier and TypeMethodDescriptionprotected BrokerServicePulsarService.newBrokerService(PulsarService pulsar) Constructors in org.apache.pulsar.broker with parameters of type PulsarServiceModifierConstructorDescriptionTransactionMetadataStoreService(org.apache.pulsar.transaction.coordinator.TransactionMetadataStoreProvider transactionMetadataStoreProvider, PulsarService pulsarService, org.apache.pulsar.client.api.transaction.TransactionBufferClient tbClient, io.netty.util.HashedWheelTimer timer) -
Uses of PulsarService in org.apache.pulsar.broker.admin
Methods in org.apache.pulsar.broker.admin with parameters of type PulsarServiceModifier and TypeMethodDescriptionprotected static org.apache.pulsar.common.partition.PartitionedTopicMetadataAdminResource.fetchPartitionedTopicMetadata(PulsarService pulsar, org.apache.pulsar.common.naming.TopicName topicName) protected static org.apache.pulsar.common.partition.PartitionedTopicMetadataAdminResource.fetchPartitionedTopicMetadataCheckAllowAutoCreation(PulsarService pulsar, org.apache.pulsar.common.naming.TopicName topicName) -
Uses of PulsarService in org.apache.pulsar.broker.admin.impl
Methods in org.apache.pulsar.broker.admin.impl with parameters of type PulsarServiceModifier and TypeMethodDescriptionCompletableFuture<org.apache.pulsar.common.partition.PartitionedTopicMetadata>PersistentTopicsBase.getPartitionedTopicMetadata(PulsarService pulsar, String clientAppId, String originalPrincipal, org.apache.pulsar.broker.authentication.AuthenticationDataSource authenticationData, org.apache.pulsar.common.naming.TopicName topicName) static CompletableFuture<org.apache.pulsar.common.partition.PartitionedTopicMetadata>PersistentTopicsBase.unsafeGetPartitionedTopicMetadataAsync(PulsarService pulsar, org.apache.pulsar.common.naming.TopicName topicName) Get partitioned topic metadata without checking the permission. -
Uses of PulsarService in org.apache.pulsar.broker.intercept
Methods in org.apache.pulsar.broker.intercept with parameters of type PulsarServiceModifier and TypeMethodDescriptionvoidBrokerInterceptor.initialize(PulsarService pulsarService) Initialize the broker interceptor.voidBrokerInterceptors.initialize(PulsarService pulsarService) voidBrokerInterceptorWithClassLoader.initialize(PulsarService pulsarService) -
Uses of PulsarService in org.apache.pulsar.broker.loadbalance
Methods in org.apache.pulsar.broker.loadbalance with parameters of type PulsarServiceModifier and TypeMethodDescriptionstatic LoadManagerLoadManager.create(PulsarService pulsar) BundleSplitStrategy.findBundlesToSplit(LoadData loadData, PulsarService pulsar) Determines which bundles, if any, should be split.voidLoadManager.initialize(PulsarService pulsar) Initialize this LoadManager.voidModularLoadManager.initialize(PulsarService pulsar) Initialize this load manager using the given pulsar service.voidNoopLoadManager.initialize(PulsarService pulsar) -
Uses of PulsarService in org.apache.pulsar.broker.loadbalance.impl
Methods in org.apache.pulsar.broker.loadbalance.impl with parameters of type PulsarServiceModifier and TypeMethodDescriptionstatic voidLoadManagerShared.filterAntiAffinityGroupOwnedBrokers(PulsarService pulsar, String assignedBundleName, Set<String> candidates, org.apache.pulsar.common.util.collections.ConcurrentOpenHashMap<String, org.apache.pulsar.common.util.collections.ConcurrentOpenHashMap<String, org.apache.pulsar.common.util.collections.ConcurrentOpenHashSet<String>>> brokerToNamespaceToBundleRange, Map<String, String> brokerToDomainMap) It tries to filter out brokers which own namespace with same anti-affinity-group as given namespace.BundleSplitterTask.findBundlesToSplit(LoadData loadData, PulsarService pulsar) Determines which bundles should be split based on various thresholds.static CompletableFuture<Map<String,Integer>> LoadManagerShared.getAntiAffinityNamespaceOwnedBrokers(PulsarService pulsar, String namespaceName, org.apache.pulsar.common.util.collections.ConcurrentOpenHashMap<String, org.apache.pulsar.common.util.collections.ConcurrentOpenHashMap<String, org.apache.pulsar.common.util.collections.ConcurrentOpenHashSet<String>>> brokerToNamespaceToBundleRange) It returns map of broker and count of namespace that are belong to the same anti-affinity group as given.voidModularLoadManagerImpl.initialize(PulsarService pulsar) Initialize this load manager using the given PulsarService.voidModularLoadManagerWrapper.initialize(PulsarService pulsar) voidSimpleLoadManagerImpl.initialize(PulsarService pulsar) static booleanLoadManagerShared.isLoadSheddingEnabled(PulsarService pulsar) If load balancing is enabled, load shedding is enabled by default unless forced off by dynamic configuration.static booleanLoadManagerShared.shouldAntiAffinityNamespaceUnload(String namespace, String bundle, String currentBroker, PulsarService pulsar, org.apache.pulsar.common.util.collections.ConcurrentOpenHashMap<String, org.apache.pulsar.common.util.collections.ConcurrentOpenHashMap<String, org.apache.pulsar.common.util.collections.ConcurrentOpenHashSet<String>>> brokerToNamespaceToBundleRange, Set<String> candidateBrokers) It checks if given anti-affinity namespace should be unloaded by broker due to load-shedding.Constructors in org.apache.pulsar.broker.loadbalance.impl with parameters of type PulsarServiceModifierConstructorDescriptionModularLoadManagerImpl(PulsarService pulsar) Initialize this load manager.SimpleLoadManagerImpl(PulsarService pulsar) -
Uses of PulsarService in org.apache.pulsar.broker.lookup
Methods in org.apache.pulsar.broker.lookup with parameters of type PulsarServiceModifier and TypeMethodDescriptionstatic CompletableFuture<io.netty.buffer.ByteBuf>TopicLookupBase.lookupTopicAsync(PulsarService pulsarService, org.apache.pulsar.common.naming.TopicName topicName, boolean authoritative, String clientAppId, org.apache.pulsar.broker.authentication.AuthenticationDataSource authenticationData, long requestId) Lookup broker-service address for a given namespace-bundle which contains given topic.static CompletableFuture<io.netty.buffer.ByteBuf>TopicLookupBase.lookupTopicAsync(PulsarService pulsarService, org.apache.pulsar.common.naming.TopicName topicName, boolean authoritative, String clientAppId, org.apache.pulsar.broker.authentication.AuthenticationDataSource authenticationData, long requestId, String advertisedListenerName) Lookup broker-service address for a given namespace-bundle which contains given topic. -
Uses of PulsarService in org.apache.pulsar.broker.namespace
Methods in org.apache.pulsar.broker.namespace with parameters of type PulsarServiceModifier and TypeMethodDescriptionOwnedBundle.handleUnloadRequest(PulsarService pulsar, long timeout, TimeUnit timeoutUnit) It unloads the bundle by closing all topics concurrently under this bundle.OwnedBundle.handleUnloadRequest(PulsarService pulsar, long timeout, TimeUnit timeoutUnit, boolean closeWithoutWaitingClientDisconnect) Constructors in org.apache.pulsar.broker.namespace with parameters of type PulsarServiceModifierConstructorDescriptionNamespaceService(PulsarService pulsar) Default constructor.OwnershipCache(PulsarService pulsar, NamespaceBundleFactory bundleFactory, NamespaceService namespaceService) Constructor ofOwnershipCache. -
Uses of PulsarService in org.apache.pulsar.broker.resourcegroup
Constructors in org.apache.pulsar.broker.resourcegroup with parameters of type PulsarServiceModifierConstructorDescriptionResourceGroupConfigListener(ResourceGroupService rgService, PulsarService pulsarService) ResourceGroupNamespaceConfigListener(ResourceGroupService rgService, PulsarService pulsarService, ResourceGroupConfigListener rgConfigListener) ResourceGroupService(PulsarService pulsar) Default constructor.ResourceGroupService(PulsarService pulsar, TimeUnit timescale, ResourceUsageTopicTransportManager transportMgr, ResourceQuotaCalculator quotaCalc) ResourceUsageTopicTransportManager(PulsarService pulsarService) -
Uses of PulsarService in org.apache.pulsar.broker.service
Fields in org.apache.pulsar.broker.service declared as PulsarServiceMethods in org.apache.pulsar.broker.service that return PulsarServiceMethods in org.apache.pulsar.broker.service with parameters of type PulsarServiceModifier and TypeMethodDescriptionPulsarChannelInitializer.Factory.newPulsarChannelInitializer(PulsarService pulsar, PulsarChannelInitializer.PulsarChannelOptions opts) protected ServerCnxPulsarChannelInitializer.newServerCnx(PulsarService pulsar, String listenerName) Constructors in org.apache.pulsar.broker.service with parameters of type PulsarServiceModifierConstructorDescriptionBacklogQuotaManager(PulsarService pulsar) BrokerService(PulsarService pulsar, io.netty.channel.EventLoopGroup eventLoopGroup) PulsarMetadataEventSynchronizer(PulsarService pulsar, String topicName) PulsarStats(PulsarService pulsar) ServerCnx(PulsarService pulsar) ServerCnx(PulsarService pulsar, String listenerName) SystemTopicBasedTopicPoliciesService(PulsarService pulsarService) TopicListService(PulsarService pulsar, ServerCnx connection, boolean enableSubscriptionPatternEvaluation, int maxSubscriptionPatternLength) -
Uses of PulsarService in org.apache.pulsar.broker.service.persistent
Constructors in org.apache.pulsar.broker.service.persistent with parameters of type PulsarServiceModifierConstructorDescriptionMessageDeduplication(PulsarService pulsar, PersistentTopic topic, org.apache.bookkeeper.mledger.ManagedLedger managedLedger) -
Uses of PulsarService in org.apache.pulsar.broker.service.schema
Methods in org.apache.pulsar.broker.service.schema with parameters of type PulsarServiceModifier and TypeMethodDescription@NotNull org.apache.pulsar.common.protocol.schema.SchemaStorageBookkeeperSchemaStorageFactory.create(PulsarService pulsar) @NotNull org.apache.pulsar.common.protocol.schema.SchemaStorageSchemaStorageFactory.create(PulsarService pulsar) -
Uses of PulsarService in org.apache.pulsar.broker.stats
Methods in org.apache.pulsar.broker.stats with parameters of type PulsarServiceModifier and TypeMethodDescriptionBookieClientStatsGenerator.generate(PulsarService pulsar) static Collection<org.apache.pulsar.common.stats.Metrics>MBeanStatsGenerator.generate(PulsarService pulsar) Constructors in org.apache.pulsar.broker.stats with parameters of type PulsarService -
Uses of PulsarService in org.apache.pulsar.broker.stats.metrics
Fields in org.apache.pulsar.broker.stats.metrics declared as PulsarServiceModifier and TypeFieldDescriptionprotected final PulsarServiceAbstractMetrics.pulsarprotected final PulsarServiceAbstractMetrics.pulsarprotected final PulsarServiceAbstractMetrics.pulsarConstructors in org.apache.pulsar.broker.stats.metrics with parameters of type PulsarServiceModifierConstructorDescriptionManagedCursorMetrics(PulsarService pulsar) ManagedLedgerMetrics(PulsarService pulsar) -
Uses of PulsarService in org.apache.pulsar.broker.stats.prometheus
Methods in org.apache.pulsar.broker.stats.prometheus with parameters of type PulsarServiceModifier and TypeMethodDescriptionstatic voidNamespaceStatsAggregator.generate(PulsarService pulsar, boolean includeTopicMetrics, boolean includeConsumerMetrics, boolean includeProducerMetrics, boolean splitTopicAndPartitionIndexLabel, PrometheusMetricStreams stream) static voidPrometheusMetricsGenerator.generate(PulsarService pulsar, boolean includeTopicMetrics, boolean includeConsumerMetrics, boolean includeProducerMetrics, boolean splitTopicAndPartitionIndexLabel, OutputStream out) static voidPrometheusMetricsGenerator.generate(PulsarService pulsar, boolean includeTopicMetrics, boolean includeConsumerMetrics, boolean includeProducerMetrics, boolean splitTopicAndPartitionIndexLabel, OutputStream out, List<org.apache.pulsar.broker.stats.prometheus.PrometheusRawMetricsProvider> metricsProviders) static voidPrometheusMetricsGenerator.generate(PulsarService pulsar, boolean includeTopicMetrics, boolean includeConsumerMetrics, boolean includeProducerMetrics, OutputStream out) static voidTransactionAggregator.generate(PulsarService pulsar, PrometheusMetricStreams stream, boolean includeTopicMetrics) Constructors in org.apache.pulsar.broker.stats.prometheus with parameters of type PulsarServiceModifierConstructorDescriptionPulsarPrometheusMetricsServlet(PulsarService pulsar, boolean includeTopicMetrics, boolean includeConsumerMetrics, boolean shouldExportProducerMetrics, boolean splitTopicAndPartitionLabel) -
Uses of PulsarService in org.apache.pulsar.broker.transaction.buffer.impl
Methods in org.apache.pulsar.broker.transaction.buffer.impl with parameters of type PulsarServiceModifier and TypeMethodDescriptionstatic org.apache.pulsar.client.api.transaction.TransactionBufferClientTransactionBufferClientImpl.create(PulsarService pulsarService, io.netty.util.HashedWheelTimer timer, int maxConcurrentRequests, long operationTimeoutInMills) Constructors in org.apache.pulsar.broker.transaction.buffer.impl with parameters of type PulsarServiceModifierConstructorDescriptionTransactionBufferHandlerImpl(PulsarService pulsarService, io.netty.util.HashedWheelTimer timer, int maxConcurrentRequests, long operationTimeoutInMills) -
Uses of PulsarService in org.apache.pulsar.broker.web
Methods in org.apache.pulsar.broker.web that return PulsarServiceMethods in org.apache.pulsar.broker.web with parameters of type PulsarServiceModifier and TypeMethodDescriptionprotected static CompletableFuture<Void>PulsarWebResource.checkAuthorizationAsync(PulsarService pulsarService, org.apache.pulsar.common.naming.TopicName topicName, String role, org.apache.pulsar.broker.authentication.AuthenticationDataSource authenticationData) static CompletableFuture<org.apache.pulsar.common.policies.data.ClusterDataImpl>PulsarWebResource.checkLocalOrGetPeerReplicationCluster(PulsarService pulsarService, org.apache.pulsar.common.naming.NamespaceName namespace) static CompletableFuture<org.apache.pulsar.common.policies.data.ClusterDataImpl>PulsarWebResource.checkLocalOrGetPeerReplicationCluster(PulsarService pulsarService, org.apache.pulsar.common.naming.NamespaceName namespace, boolean allowDeletedNamespace) protected static CompletableFuture<org.apache.pulsar.common.policies.data.ClusterData>PulsarWebResource.getClusterDataIfDifferentCluster(PulsarService pulsar, String cluster, String clientAppId) protected static booleanPulsarWebResource.isLeaderBroker(PulsarService pulsar) voidPulsarWebResource.setPulsar(PulsarService pulsar) protected voidPulsarWebResource.validateAdminAccessForTenant(PulsarService pulsar, String clientAppId, String originalPrincipal, String tenant, org.apache.pulsar.broker.authentication.AuthenticationDataSource authenticationData, long timeout, TimeUnit unit) protected CompletableFuture<Void>PulsarWebResource.validateAdminAccessForTenantAsync(PulsarService pulsar, String clientAppId, String originalPrincipal, String tenant, org.apache.pulsar.broker.authentication.AuthenticationDataSource authenticationData) Constructors in org.apache.pulsar.broker.web with parameters of type PulsarServiceModifierConstructorDescriptionProcessHandlerFilter(PulsarService pulsar) ResponseHandlerFilter(PulsarService pulsar) WebService(PulsarService pulsar) -
Uses of PulsarService in org.apache.pulsar.broker.web.plugin.servlet
Methods in org.apache.pulsar.broker.web.plugin.servlet with parameters of type PulsarServiceModifier and TypeMethodDescriptionvoidAdditionalServletWithPulsarService.setPulsarService(PulsarService pulsarService) -
Uses of PulsarService in org.apache.pulsar.common.naming
Methods in org.apache.pulsar.common.naming with parameters of type PulsarServiceModifier and TypeMethodDescriptionstatic NamespaceBundleFactoryNamespaceBundleFactory.createFactory(PulsarService pulsar, com.google.common.hash.HashFunction hashFunc) Constructors in org.apache.pulsar.common.naming with parameters of type PulsarServiceModifierConstructorDescriptionNamespaceBundleFactory(PulsarService pulsar, com.google.common.hash.HashFunction hashFunc)