FHIR Chat · MQTT · subscriptions

Stream: subscriptions

Topic: MQTT


view this post on Zulip Eric Haas (Feb 04 2020 at 23:51):

I was asked if unsolicited notifications is compatible with MQTT. This looks more like a sub/pub pattern so I am asking here if R5 sub is compatible with it.

view this post on Zulip Isaac Vetter (Feb 04 2020 at 23:56):

It looks like MQTT is explicitly designed for embedded devices to stream events to a broker or another system. The use-case is a bit different, but I'd imagine that the two specs are already fairly harmonized as general pubsub topic-type specs.

view this post on Zulip Jens Villadsen (Feb 05 2020 at 11:19):

AFAIK, parts of MQTT has also been used for Facebook messaging - so its not necessarily scoped to embedded devices

view this post on Zulip Gino Canessa (Feb 05 2020 at 17:46):

I guess it depends on what you mean by compatible.

You could define a channel for subscriptions that uses MQTT. In order to not violate the "principles" of MQTT, it would likely need a different payload (given that normal payloads are FHIR bundles, which are 'large' for that protocol). If someone implemented this on the server, they would likely map SubscriptionTopic resources into MQTT Topics as well, so the FHIR server could plug into the ecosystem.

That said, it feels like a reach to me; I'm not sure what the use case for integrating with it would be (though I am curious).


Last updated: Apr 12 2022 at 19:14 UTC