TopicConfigHandler¶
TopicConfigHandler
is a ConfigHandler.
Creating Instance¶
TopicConfigHandler
takes the following to be created:
- LogManager
- KafkaConfig
-
QuotaManagers
- Optional KafkaController
TopicConfigHandler
is created when:
BrokerServer
is requested to startup (and create dynamicConfigHandlers)KafkaServer
is requested to startup (and create dynamicConfigHandlers)
processConfigChanges¶
processConfigChanges(
topic: String,
topicConfig: Properties): Unit
processConfigChanges
is part of the ConfigHandler abstraction.
processConfigChanges
...FIXME
Logging¶
Enable ALL
logging level for kafka.server.TopicConfigHandler
logger to see what happens inside.
Add the following line to config/log4j.properties
:
log4j.logger.kafka.server.TopicConfigHandler=ALL
Refer to Logging.