public class CatalogTopicConfigUtils extends Object
Modifier and Type | Field and Description |
---|---|
static Set<String> |
ADDITIONAL_CATALOG_TOPIC_CONFIGS
Additional topic Log Configs that catalog interested in.
|
static Set<String> |
BROKER_DEFAULT_CONFIGS_TO_PROPAGATE
Subset of Broker Default Configs that are dynamically configurable and need to be propagated.
|
static Set<String> |
CATALOG_TOPIC_CONFIGS
Subset of topic Log Configs that catalog interested in.
|
static Set<String> |
FULL_BROKER_DEFAULT_CONFIGS_TO_PROPAGATE
Full Broker Default Configs that are dynamically configurable and need to be propagated.
|
static Set<String> |
FULL_CATALOG_TOPIC_CONFIGS
Full topic Log Configs that catalog interested in.
|
static Map<String,String> |
SERVER_CONFIG_TO_TOPIC_CONFIG
A mapping of broker config name to log config name.
|
Constructor and Description |
---|
CatalogTopicConfigUtils() |
Modifier and Type | Method and Description |
---|---|
static String |
configNameToField(String topicConfigName)
Given a log config name, return the field name for this config in
TopicMetadata . |
static String |
serverSynonymIfExist(String topicConfigName) |
public static final Set<String> CATALOG_TOPIC_CONFIGS
public static final Set<String> ADDITIONAL_CATALOG_TOPIC_CONFIGS
public static final Set<String> FULL_CATALOG_TOPIC_CONFIGS
public static final Set<String> BROKER_DEFAULT_CONFIGS_TO_PROPAGATE
public static final Set<String> FULL_BROKER_DEFAULT_CONFIGS_TO_PROPAGATE
public static String configNameToField(String topicConfigName)
TopicMetadata
.
This is taking advantage of most fields are named using the log config name.topicConfigName
- log config name