Grant Henke created KAFKA-3507:
----------------------------------

             Summary: Define standard exceptions for the Authorizer interface
                 Key: KAFKA-3507
                 URL: https://issues.apache.org/jira/browse/KAFKA-3507
             Project: Kafka
          Issue Type: Improvement
    Affects Versions: 0.9.0.0
            Reporter: Grant Henke
            Assignee: Grant Henke


The Authorizer does not define an standard exceptions that can be used by an 
implementer. This means that any exception thrown on the broker, as a part of 
KAFKA-3266, can only be passed back to the client as an UnknownException(-1) 
making error handling difficult. A set of standard exceptions covering most 
foreseeable exceptions should be defined as a part of the interface and used in 
the default SimpleAclAuthorizer. 

This work will require a small KIP.



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

Reply via email to