[
https://issues.apache.org/jira/browse/KAFKA-4622?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15823362#comment-15823362
]
ASF GitHub Bot commented on KAFKA-4622:
---------------------------------------
GitHub user hachikuji opened a pull request:
https://github.com/apache/kafka/pull/2384
KAFKA-4622: Consumer should handle group authorization errors in offset
fetch
You can merge this pull request into a Git repository by running:
$ git pull https://github.com/hachikuji/kafka KAFKA-4622
Alternatively you can review and apply these changes as the patch at:
https://github.com/apache/kafka/pull/2384.patch
To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:
This closes #2384
----
commit 7e9f8f2e8d82988be09e7348b143600d3eb8765b
Author: Jason Gustafson <[email protected]>
Date: 2017-01-16T02:03:03Z
KAFKA-4622: Consumer should handle group authorization errors in offset
fetch
----
> KafkaConsumer does not properly handle authorization errors from offset
> fetches
> -------------------------------------------------------------------------------
>
> Key: KAFKA-4622
> URL: https://issues.apache.org/jira/browse/KAFKA-4622
> Project: Kafka
> Issue Type: Bug
> Components: consumer
> Affects Versions: 0.9.0.1, 0.10.0.1, 0.10.1.1
> Reporter: Jason Gustafson
> Assignee: Jason Gustafson
> Fix For: 0.10.2.0
>
>
> It's possible to receive both group and topic authorization exceptions from
> an OffsetFetch, but the consumer currently treats this as generic unexpected
> errors. We should probably return {{GroupAuthorizationException}} and
> {{TopicAuthorizationException}} to be consistent with the other consumer
> APIs.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)