Class ServiceConfiguration

java.lang.Object
org.apache.pulsar.broker.ServiceConfiguration
All Implemented Interfaces:
PulsarConfiguration

public class ServiceConfiguration extends Object implements PulsarConfiguration
Pulsar service configuration object.
  • Constructor Details

    • ServiceConfiguration

      public ServiceConfiguration()
  • Method Details

    • isSubscriptionKeySharedEnable

      @Deprecated public boolean isSubscriptionKeySharedEnable()
      Deprecated.
      Use #getSubscriptionTypesEnabled() instead
    • getMetadataStoreUrl

      public String getMetadataStoreUrl()
    • isMetadataStoreBackedByZookeeper

      public boolean isMetadataStoreBackedByZookeeper()
      Tells whether the selected metadata store implementation is based on ZooKeeper.
    • getConfigurationMetadataStoreUrl

      public String getConfigurationMetadataStoreUrl()
    • isConfigurationStoreSeparated

      public boolean isConfigurationStoreSeparated()
    • isBookkeeperMetadataStoreSeparated

      public boolean isBookkeeperMetadataStoreSeparated()
    • getBookkeeperMetadataStoreUrl

      public String getBookkeeperMetadataStoreUrl()
    • getProperty

      public Object getProperty(String key)
    • getProperties

      public Properties getProperties()
      Specified by:
      getProperties in interface PulsarConfiguration
    • setProperties

      public void setProperties(Properties properties)
      Specified by:
      setProperties in interface PulsarConfiguration
    • 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()