public class WebSocketProxyConfiguration extends Object implements PulsarConfiguration
| Modifier and Type | Field and Description |
|---|---|
static int |
GLOBAL_ZK_THREADS |
static int |
PROXY_SERVER_EXECUTOR_THREADS |
static int |
WEBSOCKET_SERVICE_THREADS |
| Constructor and Description |
|---|
WebSocketProxyConfiguration() |
public static final int PROXY_SERVER_EXECUTOR_THREADS
public static final int WEBSOCKET_SERVICE_THREADS
public static final int GLOBAL_ZK_THREADS
public String getClusterName()
public void setClusterName(String clusterName)
public String getServiceUrl()
public void setServiceUrl(String serviceUrl)
public String getServiceUrlTls()
public void setServiceUrlTls(String serviceUrlTls)
public String getBrokerServiceUrl()
public void setBrokerServiceUrl(String brokerServiceUrl)
public String getBrokerServiceUrlTls()
public void setBrokerServiceUrlTls(String brokerServiceUrlTls)
public String getStatusFilePath()
public void setStatusFilePath(String statusFilePath)
@Deprecated public String getGlobalZookeeperServers()
@Deprecated public void setGlobalZookeeperServers(String globalZookeeperServers)
public String getConfigurationStoreServers()
public void setConfigurationStoreServers(String configurationStoreServers)
public long getZooKeeperSessionTimeoutMillis()
public void setZooKeeperSessionTimeoutMillis(long zooKeeperSessionTimeoutMillis)
public int getZooKeeperCacheExpirySeconds()
public void setZooKeeperCacheExpirySeconds(int zooKeeperCacheExpirySeconds)
public String getBindAddress()
public void setBindAddress(String bindAddress)
public int getWebSocketMaxTextFrameSize()
public void setWebSocketMaxTextFrameSize(int webSocketMaxTextFrameSize)
public boolean isAuthenticationEnabled()
public void setAuthenticationEnabled(boolean authenticationEnabled)
public boolean isAuthorizationEnabled()
public void setAuthorizationEnabled(boolean authorizationEnabled)
public String getAuthorizationProvider()
public void setAuthorizationProvider(String authorizationProvider)
public boolean getAuthorizationAllowWildcardsMatching()
public void setAuthorizationAllowWildcardsMatching(boolean authorizationAllowWildcardsMatching)
public String getBrokerClientAuthenticationPlugin()
public void setBrokerClientAuthenticationPlugin(String brokerClientAuthenticationPlugin)
public String getBrokerClientTrustCertsFilePath()
public void setBrokerClientTrustCertsFilePath(String brokerClientTrustCertsFilePath)
public String getBrokerClientAuthenticationParameters()
public void setBrokerClientAuthenticationParameters(String brokerClientAuthenticationParameters)
@Deprecated public int getNumIoThreads()
@Deprecated public void setNumIoThreads(int numIoThreads)
public int getWebSocketNumIoThreads()
public void setWebSocketNumIoThreads(int webSocketNumIoThreads)
public int getNumHttpServerThreads()
public void setNumHttpServerThreads(int numHttpServerThreads)
@Deprecated public int getConnectionsPerBroker()
@Deprecated public void setConnectionsPerBroker(int connectionsPerBroker)
public int getWebSocketConnectionsPerBroker()
public void setWebSocketConnectionsPerBroker(int webSocketConnectionsPerBroker)
public int getWebSocketSessionIdleTimeoutMillis()
public void setWebSocketSessionIdleTimeoutMillis(int webSocketSessionIdleTimeoutMillis)
public String getAnonymousUserRole()
public void setAnonymousUserRole(String anonymousUserRole)
public boolean isBrokerClientTlsEnabled()
public void setBrokerClientTlsEnabled(boolean brokerClientTlsEnabled)
public String getTlsCertificateFilePath()
public void setTlsCertificateFilePath(String tlsCertificateFilePath)
public String getTlsKeyFilePath()
public void setTlsKeyFilePath(String tlsKeyFilePath)
public String getTlsTrustCertsFilePath()
public void setTlsTrustCertsFilePath(String tlsTrustCertsFilePath)
public boolean isTlsAllowInsecureConnection()
public void setTlsAllowInsecureConnection(boolean tlsAllowInsecureConnection)
public Properties getProperties()
getProperties in interface PulsarConfigurationpublic void setProperties(Properties properties)
setProperties in interface PulsarConfigurationpublic boolean getTlsRequireTrustedClientCertOnConnect()
public void setTlsRequireTrustedClientCertOnConnect(boolean tlsRequireTrustedClientCertOnConnect)
public long getTlsCertRefreshCheckDurationSec()
public void setTlsCertRefreshCheckDurationSec(long tlsCertRefreshCheckDurationSec)
Copyright © 2017–2020 Apache Software Foundation. All rights reserved.