4 ms·
I'm an API guy for a large Residential IoT company... we have some platforms that support Webhooks and some that support Azure Event Hub. I personally prefer t
by supergeek133 4y ago
I'm an API guy for a large Residential IoT company... we have some platforms that support Webhooks and some that support Azure Event Hub.
I personally prefer the Event Hub (replayability, no HTTP request resiliency required, etc)
The problem with Event Hub is that it requires an SDK and if you've never used it it can be a pain. Also if you don't have an Azure account it's a problem (we typically provide our trusted partners an Event Hub on our subscription).
I also agree with some of the Webhook feedback here (better to also have some endpoint to poll for data/event verification and whatnot). At millions of homes, with a Thermostat being a REALLY chatty device, that's a lot of HTTP requests.
So, long story short, I prefer an event queue model over webhooks.