Class WorkerConfig

java.lang.Object
org.apache.pulsar.functions.worker.WorkerConfig
All Implemented Interfaces:
Serializable, PulsarConfiguration

public class WorkerConfig extends Object implements Serializable, PulsarConfiguration
See Also:
  • Field Details

    • runtimeCustomizerClassName

      protected String runtimeCustomizerClassName
  • Constructor Details

    • WorkerConfig

      public WorkerConfig()
  • Method Details

    • isBrokerClientAuthenticationEnabled

      public boolean isBrokerClientAuthenticationEnabled()
    • getTlsEnabled

      public boolean getTlsEnabled()
    • isInitializedDlogMetadata

      public Boolean isInitializedDlogMetadata()
    • getBrokerClientTrustCertsFilePath

      public String getBrokerClientTrustCertsFilePath()
    • getFunctionAuthProviderClassName

      public String getFunctionAuthProviderClassName()
    • getFunctionMetadataTopic

      public String getFunctionMetadataTopic()
    • getClusterCoordinationTopic

      public String getClusterCoordinationTopic()
    • getFunctionAssignmentTopic

      public String getFunctionAssignmentTopic()
    • load

      public static WorkerConfig load(String yamlFile) throws IOException
      Throws:
      IOException
    • getWorkerId

      public String getWorkerId()
    • getWorkerHostname

      public String getWorkerHostname()
    • getTlsTrustChainBytes

      public byte[] getTlsTrustChainBytes()
    • getWorkerWebAddress

      public String getWorkerWebAddress()
    • getWorkerWebAddressTls

      public String getWorkerWebAddressTls()
    • unsafeLocalhostResolve

      public static String unsafeLocalhostResolve()
    • getConfigurationMetadataStoreUrl

      public String getConfigurationMetadataStoreUrl()
    • setProperties

      public void setProperties(Properties properties)
      Specified by:
      setProperties in interface PulsarConfiguration
    • getBrokerClientAuthenticationPlugin

      public String getBrokerClientAuthenticationPlugin()
    • getBrokerClientAuthenticationParameters

      public String getBrokerClientAuthenticationParameters()
    • getMetadataStoreSessionTimeoutMillis

      public long getMetadataStoreSessionTimeoutMillis()
    • getMetadataStoreOperationTimeoutSeconds

      public int getMetadataStoreOperationTimeoutSeconds()
    • getMetadataStoreCacheExpirySeconds

      public int getMetadataStoreCacheExpirySeconds()
    • isMetadataStoreAllowReadOnlyOperations

      public boolean isMetadataStoreAllowReadOnlyOperations()