-
Notifications
You must be signed in to change notification settings - Fork 233
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Trying to consume with oauthbear but issues with AbstractTokenProvider maybee #691
Comments
Any updates on this? Having the same issue |
@davidmontgom & @krlx - I had a similar problem and resolved it by awaiting the future in CustomTokenProvider. Try this change
|
It seems that the documentation is inconsistent with the fixes provided by @mtomilov. https://aiokafka.readthedocs.io/en/stable/api.html#aiokafka.abc.AbstractTokenProvider.token I'd be happy to submit a PR for this. Should this issue be closed? |
Hi @benschumacher, The build of docs was broken at the time of the latest release, that's why the If you still think something have to be fixed, contributions are welcome. |
Thanks for the reply. We made a change to |
Hi,
python-kafka simply works with oauthbearer. With aiokafka there are zero examples I am flying blind.
Did I impelent CustomTokenProvider correct? the create_ssl_context() function is what i use in python-kafka
Below is the error I get:
The above exception was the direct cause of the following exception:
Below is my code:
The text was updated successfully, but these errors were encountered: