kafka-python icon indicating copy to clipboard operation
kafka-python copied to clipboard

TopicAuthorizationFailedError has an error

Open Wyko opened this issue 3 years ago • 0 comments

When the error is raised, it looks like this:

File "/usr/local/lib/python3.9/site-packages/kafka/consumer/fetcher.py", line 857, in _parse_fetched_data
  | raise Errors.TopicAuthorizationFailedError(set(tp.topic))
  | kafka.errors.TopicAuthorizationFailedError: [Error 29] TopicAuthorizationFailedError: {'c', 's', 't', 'n', 'b', 'u', 'a', 'o', 'l', 'p', 'r', '-'}

I believe the section set(tp.topic)) should be tp.topic), without changing it to a set.

Wyko avatar Oct 13 '22 11:10 Wyko