You are viewing a plain text version of this content. The canonical link for it is here.
Posted to jira@kafka.apache.org by "James Shaw (Jira)" <ji...@apache.org> on 2023/05/08 10:20:00 UTC

[jira] [Created] (KAFKA-14973) Inconsistent treatment of invalid config when creating or altering a topic

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)