public class WorkerConfig extends Object implements Serializable, PulsarConfiguration
| Modifier and Type | Class and Description |
|---|---|
static class |
WorkerConfig.KubernetesContainerFactory
Deprecated.
|
static class |
WorkerConfig.ProcessContainerFactory
Deprecated.
|
static class |
WorkerConfig.ThreadContainerFactory
Deprecated.
|
| Modifier and Type | Field and Description |
|---|---|
protected String |
runtimeCustomizerClassName |
| Constructor and Description |
|---|
WorkerConfig() |
| Modifier and Type | Method and Description |
|---|---|
String |
getBrokerClientAuthenticationParameters() |
String |
getBrokerClientAuthenticationPlugin() |
String |
getBrokerClientTrustCertsFilePath() |
String |
getClusterCoordinationTopic() |
String |
getFunctionAssignmentTopic() |
String |
getFunctionAuthProviderClassName() |
String |
getFunctionMetadataTopic() |
boolean |
getTlsEnabled() |
byte[] |
getTlsTrustChainBytes() |
String |
getWorkerHostname() |
String |
getWorkerId() |
String |
getWorkerWebAddress() |
String |
getWorkerWebAddressTls() |
boolean |
isBrokerClientAuthenticationEnabled() |
Boolean |
isInitializedDlogMetadata() |
static WorkerConfig |
load(String yamlFile) |
void |
setProperties(Properties properties) |
static String |
unsafeLocalhostResolve() |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetPropertiesprotected String runtimeCustomizerClassName
public boolean isBrokerClientAuthenticationEnabled()
public boolean getTlsEnabled()
public Boolean isInitializedDlogMetadata()
public String getBrokerClientTrustCertsFilePath()
public String getFunctionAuthProviderClassName()
public String getFunctionMetadataTopic()
public String getClusterCoordinationTopic()
public String getFunctionAssignmentTopic()
public static WorkerConfig load(String yamlFile) throws IOException
IOExceptionpublic String getWorkerId()
public String getWorkerHostname()
public byte[] getTlsTrustChainBytes()
public String getWorkerWebAddress()
public String getWorkerWebAddressTls()
public static String unsafeLocalhostResolve()
public void setProperties(Properties properties)
setProperties in interface PulsarConfigurationpublic String getBrokerClientAuthenticationPlugin()
public String getBrokerClientAuthenticationParameters()
Copyright © 2017–2021 Apache Software Foundation. All rights reserved.