Uses of Class
org.apache.pulsar.broker.PulsarService
-
Packages that use PulsarService Package Description org.apache.pulsar Licensed to the Apache Software Foundation (ASF) under one or more contributor license agreements.org.apache.pulsar.broker Licensed to the Apache Software Foundation (ASF) under one or more contributor license agreements.org.apache.pulsar.broker.admin Licensed to the Apache Software Foundation (ASF) under one or more contributor license agreements.org.apache.pulsar.broker.admin.impl Licensed to the Apache Software Foundation (ASF) under one or more contributor license agreements.org.apache.pulsar.broker.intercept Pulsar broker interceptor.org.apache.pulsar.broker.loadbalance Licensed to the Apache Software Foundation (ASF) under one or more contributor license agreements.org.apache.pulsar.broker.loadbalance.impl Licensed to the Apache Software Foundation (ASF) under one or more contributor license agreements.org.apache.pulsar.broker.lookup Licensed to the Apache Software Foundation (ASF) under one or more contributor license agreements.org.apache.pulsar.broker.namespace Licensed to the Apache Software Foundation (ASF) under one or more contributor license agreements.org.apache.pulsar.broker.resourcegroup Licensed to the Apache Software Foundation (ASF) under one or more contributor license agreements.org.apache.pulsar.broker.service Licensed to the Apache Software Foundation (ASF) under one or more contributor license agreements.org.apache.pulsar.broker.service.persistent Licensed to the Apache Software Foundation (ASF) under one or more contributor license agreements.org.apache.pulsar.broker.service.schema Licensed to the Apache Software Foundation (ASF) under one or more contributor license agreements.org.apache.pulsar.broker.stats Licensed to the Apache Software Foundation (ASF) under one or more contributor license agreements.org.apache.pulsar.broker.stats.metrics Licensed to the Apache Software Foundation (ASF) under one or more contributor license agreements.org.apache.pulsar.broker.stats.prometheus Licensed to the Apache Software Foundation (ASF) under one or more contributor license agreements.org.apache.pulsar.broker.transaction.buffer.impl The implementation of a transaction buffer.org.apache.pulsar.broker.web Licensed to the Apache Software Foundation (ASF) under one or more contributor license agreements.org.apache.pulsar.broker.web.plugin.servlet Pulsar broker servlet plugin.org.apache.pulsar.common.naming 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 Modifier and Type Method Description voidPulsarStandalone. setBroker(PulsarService broker) -
Uses of PulsarService in org.apache.pulsar.broker
Methods in org.apache.pulsar.broker with parameters of type PulsarService Modifier and Type Method Description protected BrokerServicePulsarService. newBrokerService(PulsarService pulsar)Constructors in org.apache.pulsar.broker with parameters of type PulsarService Constructor Description TransactionMetadataStoreService(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 PulsarService Modifier and Type Method Description protected org.apache.pulsar.common.partition.PartitionedTopicMetadataAdminResource. fetchPartitionedTopicMetadata(PulsarService pulsar, org.apache.pulsar.common.naming.TopicName topicName)protected 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 PulsarService Modifier and Type Method Description static java.util.concurrent.CompletableFuture<org.apache.pulsar.common.partition.PartitionedTopicMetadata>PersistentTopicsBase. getPartitionedTopicMetadata(PulsarService pulsar, java.lang.String clientAppId, java.lang.String originalPrincipal, org.apache.pulsar.broker.authentication.AuthenticationDataSource authenticationData, org.apache.pulsar.common.naming.TopicName topicName)static java.util.concurrent.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 PulsarService Modifier and Type Method Description voidBrokerInterceptor.BrokerInterceptorDisabled. initialize(PulsarService pulsarService)voidBrokerInterceptor. 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 PulsarService Modifier and Type Method Description static LoadManagerLoadManager. create(PulsarService pulsar)java.util.Set<java.lang.String>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 PulsarService Modifier and Type Method Description static voidLoadManagerShared. filterAntiAffinityGroupOwnedBrokers(PulsarService pulsar, java.lang.String assignedBundleName, java.util.Set<java.lang.String> candidates, org.apache.pulsar.common.util.collections.ConcurrentOpenHashMap<java.lang.String,org.apache.pulsar.common.util.collections.ConcurrentOpenHashMap<java.lang.String,org.apache.pulsar.common.util.collections.ConcurrentOpenHashSet<java.lang.String>>> brokerToNamespaceToBundleRange, java.util.Map<java.lang.String,java.lang.String> brokerToDomainMap)It tries to filter out brokers which own namespace with same anti-affinity-group as given namespace.java.util.Set<java.lang.String>BundleSplitterTask. findBundlesToSplit(LoadData loadData, PulsarService pulsar)Determines which bundles should be split based on various thresholds.static java.util.concurrent.CompletableFuture<java.util.Map<java.lang.String,java.lang.Integer>>LoadManagerShared. getAntiAffinityNamespaceOwnedBrokers(PulsarService pulsar, java.lang.String namespaceName, org.apache.pulsar.common.util.collections.ConcurrentOpenHashMap<java.lang.String,org.apache.pulsar.common.util.collections.ConcurrentOpenHashMap<java.lang.String,org.apache.pulsar.common.util.collections.ConcurrentOpenHashSet<java.lang.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(java.lang.String namespace, java.lang.String bundle, java.lang.String currentBroker, PulsarService pulsar, org.apache.pulsar.common.util.collections.ConcurrentOpenHashMap<java.lang.String,org.apache.pulsar.common.util.collections.ConcurrentOpenHashMap<java.lang.String,org.apache.pulsar.common.util.collections.ConcurrentOpenHashSet<java.lang.String>>> brokerToNamespaceToBundleRange, java.util.Set<java.lang.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 PulsarService Constructor Description GenericBrokerHostUsageImpl(PulsarService pulsar)LinuxBrokerHostUsageImpl(PulsarService pulsar)ModularLoadManagerImpl(PulsarService pulsar)Initialize this load manager.SimpleLoadManagerImpl(PulsarService pulsar)SimpleResourceAllocationPolicies(PulsarService pulsar) -
Uses of PulsarService in org.apache.pulsar.broker.lookup
Methods in org.apache.pulsar.broker.lookup with parameters of type PulsarService Modifier and Type Method Description static java.util.concurrent.CompletableFuture<io.netty.buffer.ByteBuf>TopicLookupBase. lookupTopicAsync(PulsarService pulsarService, org.apache.pulsar.common.naming.TopicName topicName, boolean authoritative, java.lang.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 java.util.concurrent.CompletableFuture<io.netty.buffer.ByteBuf>TopicLookupBase. lookupTopicAsync(PulsarService pulsarService, org.apache.pulsar.common.naming.TopicName topicName, boolean authoritative, java.lang.String clientAppId, org.apache.pulsar.broker.authentication.AuthenticationDataSource authenticationData, long requestId, java.lang.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 PulsarService Modifier and Type Method Description java.util.concurrent.CompletableFuture<java.lang.Void>OwnedBundle. handleUnloadRequest(PulsarService pulsar, long timeout, java.util.concurrent.TimeUnit timeoutUnit)It unloads the bundle by closing all topics concurrently under this bundle.java.util.concurrent.CompletableFuture<java.lang.Void>OwnedBundle. handleUnloadRequest(PulsarService pulsar, long timeout, java.util.concurrent.TimeUnit timeoutUnit, boolean closeWithoutWaitingClientDisconnect)Constructors in org.apache.pulsar.broker.namespace with parameters of type PulsarService Constructor Description NamespaceService(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 PulsarService Constructor Description ResourceGroupConfigListener(ResourceGroupService rgService, PulsarService pulsarService)ResourceGroupNamespaceConfigListener(ResourceGroupService rgService, PulsarService pulsarService, ResourceGroupConfigListener rgConfigListener)ResourceGroupService(PulsarService pulsar)Default constructor.ResourceGroupService(PulsarService pulsar, java.util.concurrent.TimeUnit timescale, ResourceUsageTopicTransportManager transportMgr, ResourceQuotaCalculator quotaCalc)ResourceUsageTopicTransportManager(PulsarService pulsarService) -
Uses of PulsarService in org.apache.pulsar.broker.service
Methods in org.apache.pulsar.broker.service that return PulsarService Modifier and Type Method Description PulsarServiceBrokerService. pulsar()Methods in org.apache.pulsar.broker.service with parameters of type PulsarService Modifier and Type Method Description PulsarChannelInitializerPulsarChannelInitializer.Factory. newPulsarChannelInitializer(PulsarService pulsar, PulsarChannelInitializer.PulsarChannelOptions opts)protected ServerCnxPulsarChannelInitializer. newServerCnx(PulsarService pulsar, java.lang.String listenerName)Constructors in org.apache.pulsar.broker.service with parameters of type PulsarService Constructor Description BacklogQuotaManager(PulsarService pulsar)BrokerService(PulsarService pulsar, io.netty.channel.EventLoopGroup eventLoopGroup)PulsarChannelInitializer(PulsarService pulsar, PulsarChannelInitializer.PulsarChannelOptions opts)PulsarStats(PulsarService pulsar)ServerCnx(PulsarService pulsar)ServerCnx(PulsarService pulsar, java.lang.String listenerName)SystemTopicBasedTopicPoliciesService(PulsarService pulsarService) -
Uses of PulsarService in org.apache.pulsar.broker.service.persistent
Constructors in org.apache.pulsar.broker.service.persistent with parameters of type PulsarService Constructor Description MessageDeduplication(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 PulsarService Modifier and Type Method Description @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 PulsarService Modifier and Type Method Description static java.util.Map<java.lang.String,java.util.Map<java.lang.String,org.apache.bookkeeper.mledger.proto.PendingBookieOpsStats>>BookieClientStatsGenerator. generate(PulsarService pulsar)static java.util.Collection<org.apache.pulsar.common.stats.Metrics>MBeanStatsGenerator. generate(PulsarService pulsar)Constructors in org.apache.pulsar.broker.stats with parameters of type PulsarService Constructor Description BookieClientStatsGenerator(PulsarService pulsar)MetricsGenerator(PulsarService pulsar) -
Uses of PulsarService in org.apache.pulsar.broker.stats.metrics
Fields in org.apache.pulsar.broker.stats.metrics declared as PulsarService Modifier and Type Field Description protected PulsarServiceAbstractMetrics. pulsarprotected PulsarServiceAbstractMetrics. pulsarprotected PulsarServiceAbstractMetrics. pulsarConstructors in org.apache.pulsar.broker.stats.metrics with parameters of type PulsarService Constructor Description ManagedCursorMetrics(PulsarService pulsar)ManagedLedgerCacheMetrics(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 PulsarService Modifier and Type Method Description static 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, java.io.OutputStream out)static voidPrometheusMetricsGenerator. generate(PulsarService pulsar, boolean includeTopicMetrics, boolean includeConsumerMetrics, boolean includeProducerMetrics, boolean splitTopicAndPartitionIndexLabel, java.io.OutputStream out, java.util.List<org.apache.pulsar.broker.stats.prometheus.PrometheusRawMetricsProvider> metricsProviders)static voidPrometheusMetricsGenerator. generate(PulsarService pulsar, boolean includeTopicMetrics, boolean includeConsumerMetrics, boolean includeProducerMetrics, java.io.OutputStream out)static voidTransactionAggregator. generate(PulsarService pulsar, PrometheusMetricStreams stream, boolean includeTopicMetrics)Constructors in org.apache.pulsar.broker.stats.prometheus with parameters of type PulsarService Constructor Description PulsarPrometheusMetricsServlet(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 PulsarService Modifier and Type Method Description static 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 PulsarService Constructor Description TransactionBufferHandlerImpl(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 PulsarService Modifier and Type Method Description protected PulsarServicePulsarWebResource. pulsar()Methods in org.apache.pulsar.broker.web with parameters of type PulsarService Modifier and Type Method Description protected static java.util.concurrent.CompletableFuture<java.lang.Void>PulsarWebResource. checkAuthorizationAsync(PulsarService pulsarService, org.apache.pulsar.common.naming.TopicName topicName, java.lang.String role, org.apache.pulsar.broker.authentication.AuthenticationDataSource authenticationData)static java.util.concurrent.CompletableFuture<org.apache.pulsar.common.policies.data.ClusterDataImpl>PulsarWebResource. checkLocalOrGetPeerReplicationCluster(PulsarService pulsarService, org.apache.pulsar.common.naming.NamespaceName namespace)static java.util.concurrent.CompletableFuture<org.apache.pulsar.common.policies.data.ClusterDataImpl>PulsarWebResource. checkLocalOrGetPeerReplicationCluster(PulsarService pulsarService, org.apache.pulsar.common.naming.NamespaceName namespace, boolean allowDeletedNamespace)protected static java.util.concurrent.CompletableFuture<org.apache.pulsar.common.policies.data.ClusterData>PulsarWebResource. getClusterDataIfDifferentCluster(PulsarService pulsar, java.lang.String cluster, java.lang.String clientAppId)protected static booleanPulsarWebResource. isLeaderBroker(PulsarService pulsar)voidPulsarWebResource. setPulsar(PulsarService pulsar)protected static voidPulsarWebResource. validateAdminAccessForTenant(PulsarService pulsar, java.lang.String clientAppId, java.lang.String originalPrincipal, java.lang.String tenant, org.apache.pulsar.broker.authentication.AuthenticationDataSource authenticationData, long timeout, java.util.concurrent.TimeUnit unit)protected static java.util.concurrent.CompletableFuture<java.lang.Void>PulsarWebResource. validateAdminAccessForTenantAsync(PulsarService pulsar, java.lang.String clientAppId, java.lang.String originalPrincipal, java.lang.String tenant, org.apache.pulsar.broker.authentication.AuthenticationDataSource authenticationData)Constructors in org.apache.pulsar.broker.web with parameters of type PulsarService Constructor Description ProcessHandlerFilter(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 PulsarService Modifier and Type Method Description voidAdditionalServletWithPulsarService. setPulsarService(PulsarService pulsarService) -
Uses of PulsarService in org.apache.pulsar.common.naming
Methods in org.apache.pulsar.common.naming with parameters of type PulsarService Modifier and Type Method Description static NamespaceBundleFactoryNamespaceBundleFactory. createFactory(PulsarService pulsar, com.google.common.hash.HashFunction hashFunc)Constructors in org.apache.pulsar.common.naming with parameters of type PulsarService Constructor Description NamespaceBundleFactory(PulsarService pulsar, com.google.common.hash.HashFunction hashFunc)
-