kafka-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Jason Gustafson (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (KAFKA-4622) KafkaConsumer does not properly handle authorization errors from offset fetches
Date Mon, 16 Jan 2017 02:08:26 GMT

    [ 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)

Mime
View raw message