Skip to content

Latest commit

 

History

History
162 lines (96 loc) · 5.53 KB

kafka-server-BrokerReconfigurable.adoc

File metadata and controls

162 lines (96 loc) · 5.53 KB

BrokerReconfigurable Contract — Reconfigurable Broker Services

BrokerReconfigurable is the contract of reconfigurable broker services that allow for self-reconfiguration.

BrokerReconfigurable interface is used exclusively by DynamicBrokerConfig.

Table 1. BrokerReconfigurable Contract
Property Description

reconfigurableConfigs

reconfigurableConfigs: Set[String]

Dynamic configurations

Used when DynamicBrokerConfig is requested to addBrokerReconfigurable and processReconfiguration

reconfigure

reconfigure(
  oldConfig: KafkaConfig,
  newConfig: KafkaConfig): Unit

Used when DynamicBrokerConfig is requested to updateCurrentConfig

validateReconfiguration

validateReconfiguration(newConfig: KafkaConfig): Unit

Used exclusively when DynamicBrokerConfig is requested to processReconfiguration

Table 2. BrokerReconfigurables
BrokerReconfigurable Dynamic Configurations

DynamicConnectionQuota

DynamicListenerConfig

DynamicThreadPool

LogCleaner