[ 
https://issues.apache.org/jira/browse/KAFKA-3181?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Mayuresh Gharat updated KAFKA-3181:
-----------------------------------
    Description: Currently runtime.halt() is called at multiple places in the 
code. In an ideal case, we would throw an appropriate exception from classes 
and halt the runtime in a centralised place somewhere (so that we could 
override the behaviour during tests). For example : Right now test suit would 
just die halfway due to a halt call in ReplicaManager which, in turn, was due 
to an exception being thrown from this class 
(https://issues.apache.org/jira/browse/KAFKA-3063).

> Check occurrences of Runtime.halt() in the codebase and try to handle it at a 
> single place
> ------------------------------------------------------------------------------------------
>
>                 Key: KAFKA-3181
>                 URL: https://issues.apache.org/jira/browse/KAFKA-3181
>             Project: Kafka
>          Issue Type: Bug
>            Reporter: Mayuresh Gharat
>
> Currently runtime.halt() is called at multiple places in the code. In an 
> ideal case, we would throw an appropriate exception from classes and halt the 
> runtime in a centralised place somewhere (so that we could override the 
> behaviour during tests). For example : Right now test suit would just die 
> halfway due to a halt call in ReplicaManager which, in turn, was due to an 
> exception being thrown from this class 
> (https://issues.apache.org/jira/browse/KAFKA-3063).



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

Reply via email to