-
Notifications
You must be signed in to change notification settings - Fork 36
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
emqx-web-hook is blocking message being received by subscribers #207
Comments
Any updates on this? We are running 4.2.6 and having still this problem |
@hmonadjem can you use message queue to process webhook message , so that it won't block the whole process ? |
Already tried it, used "celery" for it, it causes hick-ups when doing request-response kind of a thing on the HTTP server. |
Hi, guys, This has really been a problem with the web-hook plugin. We will put this on the agenda in anticipation of a good solution. Thank you very much for your suggestions and concerns! |
Have you guys tested the approximate throughput and TPS that can be supported by the current version? |
Thank you! The Throughput was never a problem for us (we have about 20 msg/s) but it is a problem when the target http server is booting up or shutting down or is unreachable. That basically blocks every message for 5s (timeout) and after that if the response is 500 the mqtt message is never delivered. Which is very bad for us. |
Is there any progress on this? I'm running on the same issue. |
I hope this gets resolved, because it's really bad, where message_publish and message_delivered don't work as they should. |
Hello, Is there any progress on this? |
Setup
version: 4.1.0
environment: k8s (installed with Helm)
mqtt: v3.1
Problem
The web-hook call made by
emqx
seems like a blocking call for subscribers from receiving "that" message. Until the web hook is processed the messages are not received by subscriber. This causes an issue particularly when the webserver receiving a webhook is also (temporarily) subscribing to a particular topic (in my case to perform request-response pattern messages when a certain message is received via webhook).Possible Solution
Remarks
If 4.2.0 is not happening soon then solution suggested in point 1 should be quickly implemented as a work around. Also will this issue also be raised when using
emx-rule-engine
instead ofemqx-web-hook
?The text was updated successfully, but these errors were encountered: