kafka-jira mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Rinat Shigapov (JIRA)" <j...@apache.org>
Subject [jira] [Created] (KAFKA-6357) Return nonzero code in kafka-consumer-groups.sh tool in case of error
Date Wed, 13 Dec 2017 09:10:00 GMT
Rinat Shigapov created KAFKA-6357:
-------------------------------------

             Summary: Return nonzero code in kafka-consumer-groups.sh tool in case of error
                 Key: KAFKA-6357
                 URL: https://issues.apache.org/jira/browse/KAFKA-6357
             Project: Kafka
          Issue Type: Improvement
          Components: tools
         Environment: kafka_2.12-0.11.0.0
            Reporter: Rinat Shigapov


Use case that triggered that issue:

kafka-consumer-groups.sh can reset offset if there is no active consumer in the group. Otherwise
it just prints error message about this situation and returns zero error code.

Expected behaviour: nonzero code should be returned on error. Than proper scripting around
kafka-consumer-groups.sh would be possible.



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)

Mime
View raw message