kafka message queue backend is not working with my code #1017
Unanswered
neerajdlh74
asked this question in
Q&A
Replies: 1 comment 2 replies
-
Unfortunately this isn't something I can help with. You are having incompatibility issues between the Kafka library and gevent. Without monkey patching I'm fairly sure nothing will work. If this library fails after gevent monkey patching then the only other option I can do think is to try eventlet instead of gevent, also with monkey patching. If none of that works, then you won't be able to use gevent or eventlet. The threading async mode will work fine, if you can manage its limitations. |
Beta Was this translation helpful? Give feedback.
2 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
I needed to use kafka as backend message queue, but it is not working, and also it is not throwing any error just connection is completed but it is stuck on websocket protocol upgrade, i checked that kafka topics and brokers are working properly, but don't know where the problem could be. I used gevent for running the server. please someone help me.
here i am pasting server.py code:
I tried using monkey patch but i got this error:
here is the client.py code for connecting to the server:
Beta Was this translation helpful? Give feedback.
All reactions