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,
boolean fetchFromFollowerRequireLeaderEpochEnabled) |
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 |
isFetchFromFollowerRequireLeaderEpochEnabled() |
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,
boolean fetchFromFollowerRequireLeaderEpochEnabled)
public boolean isClusterPrefixForHostnameEnabled()
public boolean isFetchFromFollowerRequireLeaderEpochEnabled()
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()