Package org.apache.pulsar.broker
Class ServiceConfiguration
java.lang.Object
org.apache.pulsar.broker.ServiceConfiguration
- All Implemented Interfaces:
PulsarConfiguration
Pulsar service configuration object.
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionint
long
int
int
int
long
getProperty
(String key) org.apache.pulsar.common.policies.data.SchemaCompatibilityStrategy
int
boolean
boolean
boolean
boolean
boolean
Tells whether the selected metadata store implementation is based on ZooKeeper.boolean
Deprecated.void
setProperties
(Properties properties)
-
Constructor Details
-
ServiceConfiguration
public ServiceConfiguration()
-
-
Method Details
-
getMetadataStoreUrl
-
isMetadataStoreBackedByZookeeper
public boolean isMetadataStoreBackedByZookeeper()Tells whether the selected metadata store implementation is based on ZooKeeper. -
getConfigurationMetadataStoreUrl
-
isConfigurationStoreSeparated
public boolean isConfigurationStoreSeparated() -
isBookkeeperMetadataStoreSeparated
public boolean isBookkeeperMetadataStoreSeparated() -
getBookkeeperMetadataStoreUrl
-
getProperty
-
getProperties
- Specified by:
getProperties
in interfacePulsarConfiguration
-
setProperties
- Specified by:
setProperties
in interfacePulsarConfiguration
-
isDefaultTopicTypePartitioned
public boolean isDefaultTopicTypePartitioned() -
getBrokerDeleteInactiveTopicsMaxInactiveDurationSeconds
public int getBrokerDeleteInactiveTopicsMaxInactiveDurationSeconds() -
getSchemaCompatibilityStrategy
public org.apache.pulsar.common.policies.data.SchemaCompatibilityStrategy getSchemaCompatibilityStrategy() -
getManagedLedgerMaxUnackedRangesToPersistInMetadataStore
public int getManagedLedgerMaxUnackedRangesToPersistInMetadataStore() -
getMetadataStoreSessionTimeoutMillis
public long getMetadataStoreSessionTimeoutMillis() -
getMetadataStoreOperationTimeoutSeconds
public int getMetadataStoreOperationTimeoutSeconds() -
getMetadataStoreCacheExpirySeconds
public int getMetadataStoreCacheExpirySeconds() -
isMetadataStoreAllowReadOnlyOperations
public boolean isMetadataStoreAllowReadOnlyOperations() -
getManagedLedgerCacheEvictionIntervalMs
public long getManagedLedgerCacheEvictionIntervalMs() -
getTopicOrderedExecutorThreadNum
public int getTopicOrderedExecutorThreadNum()
#getSubscriptionTypesEnabled()
instead