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 50b96ca commit 77e47a5Copy full SHA for 77e47a5
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.TopicAuthorizationFailedError(cluster.unauthorized_topics)
142
143
if self._subscription.subscribed_pattern:
144
topics = []
0 commit comments