James Shaw created KAFKA-14973:
----------------------------------
Summary: Inconsistent treatment of invalid config when creating or
altering a topic
Key: KAFKA-14973
URL: https://issues.apache.org/jira/browse/KAFKA-14973
Project: Kafka
Issue Type: Bug
Components: admin
Affects Versions: 3.4.0
Reporter: James Shaw
{{createTopics}} throws {{InvalidConfigurationException}} on receiving an
invalid config entry name or value.
{{incrementalAlterConfigs}} throws {{InvalidConfigurationException}} on
receiving an invalid config entry name, but throws {{InvalidRequestException}}
on receiving an invalid entry value.
The {{incrementalAlterConfigs}} javadoc mentions that
{{InvalidRequestException}} is anticipated; the {{createTopics}} javadoc says
nothing about exception types.
--
This message was sent by Atlassian Jira
(v8.20.10#820010)