You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Traceback (most recent call last):
File "/home/.../my-script.py", line 7, in <module>
from kafka import KafkaConsumer, KafkaProducer
File "/home/.../my-env/lib/python3.10/site-packages/kafka/__init__.py", line 23, in <module>
from kafka.producer import KafkaProducer
File "/home/.../my-env/lib/python3.10/site-packages/kafka/producer/__init__.py", line 4, in <module>
from .simple import SimpleProducer
File "/home/.../my-env/lib/python3.10/site-packages/kafka/producer/simple.py", line 54
return '<SimpleProducer batch=%s>' % self.async
^^^^^
SyntaxError: invalid syntax
simple.py line 54
self.async
The text was updated successfully, but these errors were encountered: