Hi
As mentioned, phoenix_pubsub_vernemq is exactly just like the other
adapters existing for Redis, pg2 etc.
Initially I also wanted to do a real integration, which could be
achieved by adding a configurable mapping-layer between MQTT and
channels. As the channel messages (%Phoenix.Socket.Message{}) also have
an `event` field, there's no clear way of mapping them - so that logic
would have to be made configurable for it to be usable.
In the end I decided that other solutions would probably be better for
integrating MQTT and channels. Something like building a MQTT transport
or, as mentioned earlier, use a MQTT client and manually handle the
mapping between channels and MQTT.
I might, of course, have missed something when doing the
phoenix_pubsub_vernemq adapter, and it's been a while since I've given
it any attention, so any suggestions or ideas are most welcome.
Cheers,
Lars
>> <
http://groups.google.com/group/phoenix-talk>.
>> <
https://groups.google.com/d/msgid/phoenix-talk/80738a03-97ff-49c2-8df9-cbeff0c3571e%40googlegroups.com?utm_medium=email&utm_source=footer>.
>> <
https://groups.google.com/d/optout>.
>> <
http://groups.google.com/group/phoenix-talk>.
>> To view this discussion on the web visit
>>
https://groups.google.com/d/msgid/phoenix-talk/dc36010b-6ab7-4bca-bdc4-c8d2c76a0bf6%40googlegroups.com
>> <
https://groups.google.com/d/msgid/phoenix-talk/dc36010b-6ab7-4bca-bdc4-c8d2c76a0bf6%40googlegroups.com?utm_medium=email&utm_source=footer>.
>> <
https://groups.google.com/d/optout>.
> <
http://groups.google.com/group/phoenix-talk>.
> To view this discussion on the web visit
>
https://groups.google.com/d/msgid/phoenix-talk/C3B0D579-328D-4422-AE07-39496E5B71BF%40chrismccord.com
> <
https://groups.google.com/d/msgid/phoenix-talk/C3B0D579-328D-4422-AE07-39496E5B71BF%40chrismccord.com?utm_medium=email&utm_source=footer>.
> <
https://groups.google.com/d/optout>.
>
>
>
>
> --
> *Josh Adams*
> CTO | isotope|eleven <
http://www.isotope11.com>
> --
> You received this message because you are subscribed to the Google
> Groups "phoenix-talk" group.
> To unsubscribe from this group and stop receiving emails from it, send
> an email to
phoenix-talk...@googlegroups.com
> <mailto:
phoenix-talk...@googlegroups.com>.
> <mailto:
phoeni...@googlegroups.com>.
>
https://groups.google.com/d/msgid/phoenix-talk/f46b6a4b-5545-4184-a0de-2bc7d4a42f8b%40googlegroups.com
> <
https://groups.google.com/d/msgid/phoenix-talk/f46b6a4b-5545-4184-a0de-2bc7d4a42f8b%40googlegroups.com?utm_medium=email&utm_source=footer>.