public class MultiTenantInterceptorConfig extends Object
Modifier and Type | Field and Description |
---|---|
static MultiTenantInterceptorConfig |
DEFAULT |
Constructor and Description |
---|
MultiTenantInterceptorConfig(boolean clusterPrefixForHostnameEnabled,
boolean schemaValidationEnabled,
boolean sbcApisEnabled,
boolean shouldAppendSubdomainToHostname,
String replicaSelectorClass,
String brokerRack,
String validBrokerRackList,
Map<String,String> subdomainSeparatorMap,
String subdomainSeparatorVariable) |
MultiTenantInterceptorConfig(Map<String,?> configs) |
Modifier and Type | Method and Description |
---|---|
String |
brokerRack() |
static int |
intConfig(Map<String,?> configs,
String configName) |
boolean |
isClusterPrefixForHostnameEnabled() |
boolean |
isFetchFromFollowerEnabled() |
boolean |
isSchemaValidationEnabled() |
boolean |
sbcApisEnabled()
Denotes whether the SBC APIs (like
ConfluentAdmin.removeBrokers(List) ) will be allowed through the interceptor |
boolean |
shouldAppendSubdomainToHostname() |
Map<String,String> |
subdomainSeparatorMap() |
String |
subdomainSeparatorVariable() |
Set<String> |
validBrokerRackSet() |
public static final MultiTenantInterceptorConfig DEFAULT
public MultiTenantInterceptorConfig(boolean clusterPrefixForHostnameEnabled, boolean schemaValidationEnabled, boolean sbcApisEnabled, boolean shouldAppendSubdomainToHostname, String replicaSelectorClass, String brokerRack, String validBrokerRackList, Map<String,String> subdomainSeparatorMap, String subdomainSeparatorVariable)
public boolean isClusterPrefixForHostnameEnabled()
public boolean isSchemaValidationEnabled()
public boolean sbcApisEnabled()
ConfluentAdmin.removeBrokers(List)
) will be allowed through the interceptorpublic boolean shouldAppendSubdomainToHostname()
public String subdomainSeparatorVariable()
public String brokerRack()
public boolean isFetchFromFollowerEnabled()