| Package | Description |
|---|---|
| org.apache.pulsar.broker |
Licensed to the Apache Software Foundation (ASF) under one
or more contributor license agreements.
|
| org.apache.pulsar.broker.protocol |
Pulsar broker protocol handlers.
|
| org.apache.pulsar.broker.service |
Licensed to the Apache Software Foundation (ASF) under one
or more contributor license agreements.
|
| org.apache.pulsar.broker.service.nonpersistent |
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.
|
| Modifier and Type | Method and Description |
|---|---|
BrokerService |
PulsarService.getBrokerService()
Get a reference of the current
BrokerService instance associated with the current
PulsarService instance. |
protected BrokerService |
PulsarService.newBrokerService(PulsarService pulsar) |
| Modifier and Type | Method and Description |
|---|---|
void |
ProtocolHandler.start(BrokerService service)
Start the protocol handler with the provided broker service.
|
void |
ProtocolHandlers.start(BrokerService service) |
| Modifier and Type | Field and Description |
|---|---|
protected BrokerService |
AbstractReplicator.brokerService |
protected BrokerService |
AbstractTopic.brokerService |
| Modifier and Type | Method and Description |
|---|---|
BrokerService |
Topic.getBrokerService()
Get BrokerService.
|
BrokerService |
ServerCnx.getBrokerService() |
BrokerService |
AbstractTopic.getBrokerService() |
BrokerService |
TransportCnx.getBrokerService() |
| Modifier and Type | Method and Description |
|---|---|
protected boolean |
AbstractBaseDispatcher.isConsumersExceededOnSubscription(BrokerService brokerService,
String topic,
int consumerSize) |
static CompletableFuture<Void> |
AbstractReplicator.validatePartitionedTopicAsync(String topic,
BrokerService brokerService)
Replication can't be started on root-partitioned-topic to avoid producer startup conflict.
|
| Constructor and Description |
|---|
AbstractReplicator(String topicName,
String replicatorPrefix,
String localCluster,
String remoteCluster,
BrokerService brokerService,
PulsarClientImpl replicationClient) |
AbstractTopic(String topic,
BrokerService brokerService) |
| Constructor and Description |
|---|
NonPersistentReplicator(NonPersistentTopic topic,
String localCluster,
String remoteCluster,
BrokerService brokerService,
PulsarClientImpl replicationClient) |
NonPersistentTopic(String topic,
BrokerService brokerService) |
| Modifier and Type | Method and Description |
|---|---|
static Optional<org.apache.pulsar.common.policies.data.Policies> |
DispatchRateLimiter.getPolicies(BrokerService brokerService,
String topicName) |
static CompletableFuture<Optional<org.apache.pulsar.common.policies.data.Policies>> |
DispatchRateLimiter.getPoliciesAsync(BrokerService brokerService,
String topicName) |
CompletableFuture<Optional<org.apache.pulsar.common.policies.data.DispatchRate>> |
DispatchRateLimiter.getPoliciesDispatchRateAsync(BrokerService brokerService)
Gets configured dispatch-rate from namespace policies.
|
static org.apache.pulsar.common.policies.data.SubscribeRate |
SubscribeRateLimiter.getPoliciesSubscribeRate(BrokerService brokerService,
String topicName) |
static Optional<org.apache.pulsar.common.policies.data.DispatchRate> |
DispatchRateLimiter.getTopicPolicyDispatchRate(BrokerService brokerService,
String topicName,
DispatchRateLimiter.Type type) |
static boolean |
SubscribeRateLimiter.isDispatchRateNeeded(BrokerService brokerService,
Optional<org.apache.pulsar.common.policies.data.Policies> policies,
String topicName) |
static boolean |
DispatchRateLimiter.isDispatchRateNeeded(BrokerService brokerService,
Optional<org.apache.pulsar.common.policies.data.Policies> policies,
String topicName,
DispatchRateLimiter.Type type) |
| Constructor and Description |
|---|
PersistentReplicator(PersistentTopic topic,
ManagedCursor cursor,
String localCluster,
String remoteCluster,
BrokerService brokerService,
PulsarClientImpl replicationClient) |
PersistentTopic(String topic,
ManagedLedger ledger,
BrokerService brokerService) |
SystemTopic(String topic,
ManagedLedger ledger,
BrokerService brokerService) |
Copyright © 2017–2022 Apache Software Foundation. All rights reserved.