[
https://issues.apache.org/jira/browse/KAFKA-4622?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15823361#comment-15823361
]
Jason Gustafson commented on KAFKA-4622:
----------------------------------------
One correction to the description: Topic authorization errors are actually not
possible in the OffsetFetch response. When the client does not have Describe
access to the topic, we return {{UNKNOWN_TOPIC_OR_PARTITION}} to avoid leaking
topic existence.
> 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)