$ ./bin/kafka-configs.sh \
--bootstrap-server :9092 \
--alter \
--entity-type brokers \
--entity-name 0 \
--add-config num.recovery.threads.per.data.dir=2
DynamicThreadPool
DynamicThreadPool
is a BrokerReconfigurable for the following dynamic configurations:
Tip
|
Use |
DynamicThreadPool
is created exclusively when DynamicBrokerConfig
is requested to addReconfigurables (when KafkaServer
is requested to start up).
DynamicThreadPool
takes a single KafkaServer to be created.
Reconfiguring — reconfigure
Method
reconfigure(
oldConfig: KafkaConfig,
newConfig: KafkaConfig): Unit
Note
|
reconfigure is part of the BrokerReconfigurable Contract to change (reconfigure) the value of a Kafka dynamic configuration.
|
reconfigure
…FIXME