diff options
Diffstat (limited to 'kafka/coordinator')
-rw-r--r-- | kafka/coordinator/consumer.py | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/kafka/coordinator/consumer.py b/kafka/coordinator/consumer.py index fd728d9..2543238 100644 --- a/kafka/coordinator/consumer.py +++ b/kafka/coordinator/consumer.py @@ -136,9 +136,8 @@ class ConsumerCoordinator(BaseCoordinator): def _handle_metadata_update(self, cluster): # if we encounter any unauthorized topics, raise an exception - # TODO - #if self._cluster.unauthorized_topics: - # raise TopicAuthorizationError(self._cluster.unauthorized_topics) + if cluster.unauthorized_topics: + raise Errors.TopicAuthorizationFailedError(cluster.unauthorized_topics) if self._subscription.subscribed_pattern: topics = [] |