server icon indicating copy to clipboard operation
server copied to clipboard

redesign MQTT functionality

Open bertt opened this issue 8 years ago • 8 comments

drawbacks current MQTT solution:

  • need non-standard GOST prefix when publishing data using MQTT

  • supports publish/subscribe only on Observations

Need to have a new design fixing those drawbacks (so remove prefix and support publish/subscribe on all entities) .

bertt avatar Sep 01 '17 11:09 bertt

maybe usefull? https://github.com/tmc/pqstream

bertt avatar Sep 05 '17 15:09 bertt

Tried VolantMQ a few months back which looks promising but missing some functionality for us to be useful, I created an issue back then: https://github.com/VolantMQ/volantmq/issues/60

Also found this in the issue list with almost the same question: https://github.com/VolantMQ/volantmq/issues/85 which is from 8 days ago

Other VolantMQ remarks:

  • Currently errors when running on Windows
  • SSL support soon

Options:

  1. fork VolantMQ and create simple workaround
  2. help with VolantMQ API system
  3. wait for updates and focus on other issues/features/dashboard

@bertt An other question is how do we want to implement MQTT, should GOST server be able to act as MQTT broker or do we want a different application/server for it? Will we run into problems such as load balancing/stateless server when running the MQTT broker from GOST server?

tebben avatar Jan 05 '18 11:01 tebben

q1: lets wait for some more updates VolantMQ q2: lets frst try to combine GOST with MQTT, maybe later separate

bertt avatar Jan 08 '18 09:01 bertt

it would be nice for demo purpose to have current location of things as mqtt stream as a start

bertt avatar Jan 09 '18 15:01 bertt

It would be very nice if at least the GOST prefix is configurable, otherwise you can't have two servers using the same broker.

farshidtz avatar Mar 12 '18 18:03 farshidtz

@farshidtz I've created a new issue for this see https://github.com/gost/server/issues/150

bertt avatar Mar 13 '18 09:03 bertt

NB: MQTT subscribe Location updates is added in https://github.com/gost/server/commit/04d19be4deb52d3b6370d97fd70faee703e063ff

bertt avatar Mar 13 '18 09:03 bertt

another Go MQTT broker https://github.com/fhmq/hmq

offers 'Kafka Bridge Support - Action Deliver - Regexp Deliver' might be interesting option KPN DSH.

bertt avatar Aug 03 '19 18:08 bertt