AdminZkClient¶
Creating Instance¶
AdminZkClient
takes the following to be created:
AdminZkClient
is created when:
ConfigCommand
is requested toprocessCommandWithZk
DynamicBrokerConfig
is requested to initializeKafkaServer
is requested to start upZkAdminManager
is created (adminZkClient
)ZkConfigManager
is created (adminZkClient
)ZkConfigRepository
is created (adminZkClient
)
fetchEntityConfig¶
fetchEntityConfig(
rootEntityType: String,
sanitizedEntityName: String): Properties
fetchEntityConfig
requests the KafkaZkClient to getEntityConfigs.
fetchEntityConfig
is used when:
- FIXME
changeEntityConfig¶
changeEntityConfig(
rootEntityType: String,
fullSanitizedEntityName: String,
configs: Properties): Unit
changeEntityConfig
...FIXME
changeEntityConfig
is used when:
AdminZkClient
is requested to changeClientIdConfig, changeUserOrUserClientIdConfig, changeIpConfig, changeTopicConfig, changeBrokerConfig
changeTopicConfig¶
changeTopicConfig(
topic: String,
configs: Properties): Unit
changeTopicConfig
...FIXME
changeTopicConfig
is used when:
ZkAdminManager
is requested to alterTopicConfigsAdminZkClient
is requested to changeConfigs
changeConfigs¶
changeConfigs(
entityType: String,
entityName: String,
configs: Properties): Unit
changeConfigs
...FIXME
changeConfigs
is used when:
ConfigCommand
is requested to alterConfigWithZkZkAdminManager
is requested to alterClientQuotas, alterUserScramCredentials