You are viewing a plain text version of this content. The canonical link for it is here.
Posted to jira@kafka.apache.org by "Xavier Léauté (JIRA)" <ji...@apache.org> on 2018/02/01 18:05:00 UTC

[jira] [Comment Edited] (KAFKA-6475) ConfigException on the broker results in UnknownServerException in the admin client

    [ https://issues.apache.org/jira/browse/KAFKA-6475?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16349019#comment-16349019 ] 

Xavier Léauté edited comment on KAFKA-6475 at 2/1/18 6:04 PM:
--------------------------------------------------------------

I was able to reproduce the problem by modifying the topic configuration  {{file.delete.delay.ms}} to an invalid string, e.g. {{abc123}}

This results in the following exception

{{org.apache.kafka.common.errors.UnknownServerException: Invalid value abc123 for configuration file.delete.delay.ms: Not a number of type LONG}}


was (Author: xvrl):
I was able to reproduce the problem by modifying the topic configuration  {{file.delete.delay.ms}} to an invalid string, e.g. {{abc123}}

This results in the following exception

{{org.apache.kafka.common.errors.UnknownServerException: Invalid value 94310fdaf43 for configuration file.delete.delay.ms: Not a number of type LONG}}

> ConfigException on the broker results in UnknownServerException in the admin client
> -----------------------------------------------------------------------------------
>
>                 Key: KAFKA-6475
>                 URL: https://issues.apache.org/jira/browse/KAFKA-6475
>             Project: Kafka
>          Issue Type: Bug
>    Affects Versions: 1.0.0
>            Reporter: Xavier Léauté
>            Assignee: Colin P. McCabe
>            Priority: Minor
>
> Calling AdminClient.alterConfigs with an invalid configuration may cause ConfigException to be thrown on the broker side, which results in an UnknownServerException thrown by the admin client. It would probably make more sense for the admin client to throw InvalidConfigurationException in that case.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)