AdminZkClient¶
Creating Instance¶
AdminZkClient takes the following to be created:
AdminZkClient is created when:
ConfigCommandis requested toprocessCommandWithZkDynamicBrokerConfigis requested to initializeKafkaServeris requested to start upZkAdminManageris created (adminZkClient)ZkConfigManageris created (adminZkClient)ZkConfigRepositoryis 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:
AdminZkClientis requested to changeClientIdConfig, changeUserOrUserClientIdConfig, changeIpConfig, changeTopicConfig, changeBrokerConfig
changeTopicConfig¶
changeTopicConfig(
topic: String,
configs: Properties): Unit
changeTopicConfig...FIXME
changeTopicConfig is used when:
ZkAdminManageris requested to alterTopicConfigsAdminZkClientis requested to changeConfigs
changeConfigs¶
changeConfigs(
entityType: String,
entityName: String,
configs: Properties): Unit
changeConfigs...FIXME
changeConfigs is used when:
ConfigCommandis requested to alterConfigWithZkZkAdminManageris requested to alterClientQuotas, alterUserScramCredentials