-
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
SASL connect fails with RuntimeError: await wasn't used with future
#580
Comments
RuntimeError: await wasn't used with future
Sorry, it was probably some version of an unstable master at the time. =( I did make a mistake there in 0.5.2 I think. Should be fixed in 0.6.0. |
We are still seeing this issue in 0.7.2. |
The example here doesn't look like working code, neither |
We think it could be the issue is in python 3.8 and 3.9 with using wait_for (https://bugs.python.org/issue42130). |
Could you then try it with current code in master please? It uses |
It got past the previous error, but it still errors with:
|
I'm trying to connect to my Kafka cluster (confluent cloud) using a modified version of the
ssl_consume_produce.py
example from theAIOKafka
repo at https://github.com/aio-libs/aiokafka/blob/master/examples/ssl_consume_produce.py.I've configured my
AIOKafkaConsumer
andAIOKafkaProducer
with the correct SASL config, but am getting the errorRuntimeError: await wasn't used with future
. I've included my config, error details, and thessl_consume_produce.py
example below.config
:error logs
:ssl_consume_produce.py
:The text was updated successfully, but these errors were encountered: