We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 09d8d79 commit 74f6ec7Copy full SHA for 74f6ec7
kafka/coordinator/consumer.py
@@ -136,9 +136,8 @@ def group_protocols(self):
136
137
def _handle_metadata_update(self, cluster):
138
# if we encounter any unauthorized topics, raise an exception
139
- # TODO
140
- #if self._cluster.unauthorized_topics:
141
- # raise TopicAuthorizationError(self._cluster.unauthorized_topics)
+ if cluster.unauthorized_topics:
+ raise Errors.TopicAuthorizationError(cluster.unauthorized_topics)
142
143
if self._subscription.subscribed_pattern:
144
topics = []
0 commit comments