Jason Gustafson created KAFKA-13899: ---------------------------------------
Summary: Inconsistent error codes returned from AlterConfig APIs Key: KAFKA-13899 URL: https://issues.apache.org/jira/browse/KAFKA-13899 Project: Kafka Issue Type: Bug Reporter: Jason Gustafson Assignee: Jason Gustafson In the AlterConfigs/IncrementalAlterConfigs zk handler, we return INVALID_REQUEST and INVALID_CONFIG inconsistently. The problem is in `LogConfig.validate`. We may either return `ConfigException` or `InvalidConfigException`. When the first of these is thrown, we catch it and convert to INVALID_REQUEST. It seems more consistent to convert to INVALID_CONFIG. Note that the kraft implementation returns INVALID_CONFIG consistently. -- This message was sent by Atlassian Jira (v8.20.7#820007)