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)

Reply via email to