You are viewing a plain text version of this content. The canonical link for it is here.
Posted to jira@kafka.apache.org by "Rinat Shigapov (JIRA)" <ji...@apache.org> on 2017/12/13 09:10:00 UTC

[jira] [Created] (KAFKA-6357) Return nonzero code in kafka-consumer-groups.sh tool in case of error

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)