public class MultiTenantConfigRestrictions extends Object
Modifier and Type | Field and Description |
---|---|
static String |
EXTERNAL_LISTENER_PREFIX |
static Set<String> |
UPDATABLE_BROKER_CONFIGS |
static Set<String> |
UPDATABLE_CLUSTER_LINK_CONFIGS |
static Set<String> |
VISIBLE_BROKER_CONFIGS |
static Set<String> |
VISIBLE_CLUSTER_LINK_CONFIGS |
Constructor and Description |
---|
MultiTenantConfigRestrictions() |
Modifier and Type | Method and Description |
---|---|
static Optional<String> |
prependExternalListenerToConfigName(String configName)
Return an empty Optional if `configName` is not an updatable listener config name, otherwise
return the config name with `EXTERNAL_LISTENER_PREFIX` prepended within the Optional.
|
static Optional<String> |
stripExternalListenerPrefixFromConfigName(String configName)
Return an empty Optional if `configName` is not an updatable external listener config name,
otherwise return the config name with `EXTERNAL_LISTENER_PREFIX` stripped within the Optional.
|
static boolean |
updatableTopicConfig(String configName,
boolean schemaValidationEnabled) |
static boolean |
visibleTopicConfig(String configName,
boolean schemaValidationEnabled) |
public static final String EXTERNAL_LISTENER_PREFIX
public static boolean updatableTopicConfig(String configName, boolean schemaValidationEnabled)
public static boolean visibleTopicConfig(String configName, boolean schemaValidationEnabled)
public static Optional<String> prependExternalListenerToConfigName(String configName)
public static Optional<String> stripExternalListenerPrefixFromConfigName(String configName)