...
DescribeConfigs Request (Version: 2 ) => [resource [config_name]] include_synonyms
resource => resource_type resource_name
resource_type => INT8 # BROKER_LOGGER ( 8 )
resource_name => STRING # ID of broker
config_name => STRING
include_synonyms => BOOLEAN # ignored
DescribeConfigs Response (Version: 2 ) => throttle_time_ms entities
throttle_time_ms => INT32
entities => error_code error_message resource configs
error_code => INT16
error_message => STRING
resource => resource_type resource_name
resource_type => INT8 # BROKER_LOGGER ( 8 )
resource_name => STRING # ID of broker
configs => [config_entry synonym]
config_entry =>
config_name => STRING # logger name - e.g kafka.server.ReplicaManager
config_value => STRING # log level - e.g INFO. Returns the root logger's log level if this logger is not set explicitly yet
read_only => BOOLEAN # false always
config_source => INT8 # (DYNAMIC_BROKER_LOGGER_CONFIG )
is_sensitive => BOOLEAN # false always
synonym => # empty always
config_name => STRING
config_value => NULLABLE_STRING
config_source => INT8
|
...
In the case of an invalid config_value or an invalid/non-existent logger name, the broker will return an INVALID_CONFIG
(40) error for that config resource (BROKER_LOGGER).
INVALID_REQUEST will be returned when attempting to reset the ROOT logger's log level
Tools Changes
kafka-configs.sh
will be extended to support the new resource type via --entity-type broker-logger
.
...