kafka-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Stanislav Kozlovski (JIRA)" <j...@apache.org>
Subject [jira] [Created] (KAFKA-8406) kafka-topics throws wrong error on invalid configuration with bootstrap-server and alter config
Date Wed, 22 May 2019 09:17:00 GMT
Stanislav Kozlovski created KAFKA-8406:
------------------------------------------

             Summary: kafka-topics throws wrong error on invalid configuration with bootstrap-server
and alter config
                 Key: KAFKA-8406
                 URL: https://issues.apache.org/jira/browse/KAFKA-8406
             Project: Kafka
          Issue Type: Improvement
            Reporter: Stanislav Kozlovski
            Assignee: Stanislav Kozlovski


Running
{code:java}
./kafka-topics --bootstrap-server <server> --alter --config retention.ms=3600000 --topic
topic{code}
Results in
{code:java}
Missing required argument "[partitions]"{code}
Running
{code:java}
./kafka-topics --bootstrap-server <server> --alter --config retention.ms=3600000 --topic
topic --partitions 25{code}
Results in
{code:java}
Option combination "[bootstrap-server],[config]" can't be used with option "[alter]"{code}

For better clarity, we should just throw the last error outright.



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

Mime
View raw message