On 29 May 2019, at 1:00 PM, William Schweigert <billysc...@gmail.com> wrote:
So I see with a lot of brokers that they will have webhook plugins. If I want to connect a service e.g. a node server to send emails/logdata/send texts should i have that server connect to the broker and subscribe to the endpoint needed or should I use the webhook plugin and run an express server to handle those requests from the broker? I can see that both can work I'm unsure if one is better for scalability and reliability.
--
To learn more about MQTT please visit http://mqtt.org
---
You received this message because you are subscribed to the Google Groups "MQTT" group.
To unsubscribe from this group and stop receiving emails from it, send an email to mqtt+uns...@googlegroups.com.
To post to this group, send email to mq...@googlegroups.com.
Visit this group at https://groups.google.com/group/mqtt.
To view this discussion on the web visit https://groups.google.com/d/msgid/mqtt/7c534801-f1b5-4b57-9dff-816788fe0638%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
Much more of a broker/architecture pattern question, so the architecture choice will be broker dependent.Whether you have your downstream app subscribe via MQTT or via WebHook depends on a couple of factors.MQTT subscribe is lighter weight, and connection oriented, so you can “stream” data. WebHook is simpler, as it’s just HTTP, but heavier from a header perspective.I work for Solace, so using that as my reference. With a multi protocol broker like Solace, you can have an MQTT publish natively webhooked out to any downstream application, and vice versa.You might find this blog useful:Solace is free for production for life: https://solace.com/software/getting-started/
Thanks and Regards,Sumeet.
On 29 May 2019, at 1:00 PM, William Schweigert <billysc...@gmail.com> wrote:
So I see with a lot of brokers that they will have webhook plugins. If I want to connect a service e.g. a node server to send emails/logdata/send texts should i have that server connect to the broker and subscribe to the endpoint needed or should I use the webhook plugin and run an express server to handle those requests from the broker? I can see that both can work I'm unsure if one is better for scalability and reliability.--
To learn more about MQTT please visit http://mqtt.org
---
You received this message because you are subscribed to the Google Groups "MQTT" group.
To unsubscribe from this group and stop receiving emails from it, send an email to mq...@googlegroups.com.