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

Sasaki Toru commented on KAFKA-2128:
------------------------------------

This is a easy patch, which add System.exit(1) when catch Throwable in 
kafka.Kafka.

> kafka.Kafka should return non-zero exit code when caught exception.
> -------------------------------------------------------------------
>
>                 Key: KAFKA-2128
>                 URL: https://issues.apache.org/jira/browse/KAFKA-2128
>             Project: Kafka
>          Issue Type: Improvement
>          Components: core
>    Affects Versions: 0.8.3
>            Reporter: Sasaki Toru
>            Priority: Minor
>             Fix For: 0.8.3
>
>         Attachments: KAFKA-2128-1.patch
>
>
> kafka.Kafka Object always return exit code zero.
> I think that it should return non-zero exit code when caught exception.
> (for example FileNotFoundException caught, since server.properies is not 
> exist)



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Reply via email to