Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
[mosquitto-dev] Info about V5 implementation ?
  • From: Carlos G Mendioroz <tron@xxxxxxx>
  • Date: Sat, 19 Oct 2019 14:56:21 -0300
  • Autocrypt: addr=tron@xxxxxxx; prefer-encrypt=mutual; keydata= xsDiBD7OWowRBAD761FY8DX/TbUOgqpt0tHz/SLCH+sHlN9hsYjIDAOtX3FImz8jmSoNbbTH DCFvQzkW4cmnMH5CaS50NQOgvYK1DDdH1yCNmsJs0CNQKYlS/X+1bffZgyyZaw6Gxw2vzigy PdZi9Yiy9NVH07mRLnFxtRPyCuua7oCZXLUm6gJWawCg2ug6wwWRx92lk4+8TcrRXBSieBcD /jnAnOYyAQGm82i9kQpDSP5+lMnaurE3hbU+RDuHjYmtDbqRg3zMteJ/nOgrL95AROFLZKcy OIlFWQ/0vL9ymBxHrakCQD22WHNZj6w5H+OJ0fLtKeDv8gRZVSUZ/06qBeuriA9RlVVG76bZ k3bafhEw20yzielWOSSWc2gCSkr2A/9FXkJ+ywKUGcyfvAD/PbQ+wbBvAIsRi71oxNE75s1l m7h5bocjBEnA5userMrhTFVyJdiAskdzze8C+PAe9o5qXdzLwInbUfGiKaiFIQUAX8sAms5g VkQYwMNySAsr/k+XcvONfOUwST3/NWzz98x562J9rdgEyFGbFkf4JP6jk80hQ2FybG9zIEcg TWVuZGlvcm96IDx0cm9uQGFjbS5vcmc+wlsEExECABsFAj7OWowGCwkIBwMCAxUCAwMWAgEC HgECF4AACgkQ7qM4U9dTH38IXACguHIaRiXYXQIBgWWCfiN9qSVmLPYAoMKznPjQ1X6/lTbw zT+TNYmuiM3bzsBNBD7OWpIQBADHHwT61TpKmjkrQ/XALorsc7P4D68rL8trVXu3++fe7FLj RLJaqbUndeW2+VsEqJyN9027CjN5qQF/XbhEhUPoENt4wXkeY0PHviBrMm+fMClUfb3HYgrr wrxvA/fpLwuXyV8Y1OOYx/xYfWz7SH4/HvKeQTpMOBldyedIysuuzwADBQP/ZVXwD2d8uxIQ N77vjAIItVCroC5/1jsqZPy73mze/vo/VyawRTxzwzT513kzhzlev15MM1ddIC9AIOf+rrwk Z6QpW2twWdMtYfnCgyStRPO1TA1XmRlSelS2tzB43VgN7/6sBvLfQMN+pqahwWZG5mgsn+ZF Wd7gCzlJWyeJhSrCRgQYEQIABgUCPs5akgAKCRDuozhT11Mffyt1AJ4q5Z3hSJC+RNkgJvpD niXV/YdQ+wCfZJMMiSR4o4KPIHsS2SynuoJIU+M=
  • Delivered-to: mosquitto-dev@xxxxxxxxxxx
  • List-archive: <https://www.eclipse.org/mailman/private/mosquitto-dev>
  • List-help: <mailto:mosquitto-dev-request@eclipse.org?subject=help>
  • List-subscribe: <https://www.eclipse.org/mailman/listinfo/mosquitto-dev>, <mailto:mosquitto-dev-request@eclipse.org?subject=subscribe>
  • List-unsubscribe: <https://www.eclipse.org/mailman/options/mosquitto-dev>, <mailto:mosquitto-dev-request@eclipse.org?subject=unsubscribe>
  • Openpgp: preference=signencrypt
  • User-agent: Mozilla/5.0 (Windows; U; Windows NT 6.1; en-US; rv:1.8.1.24) Gecko/20100228 Lightning/0.9 Thunderbird/2.0.0.24 Mnenhy/0.7.6.0

Hi,
I'm running a mosquitto broker, using v3.1.1 I guess, by default.
So far it has been great, some issues with some client libraries
handling reconnection issues but nothing terribly bad.

I have implemented (or I'm in the  process of) prometheus and a bridge
to store topics history for analysis, graphing and alarms. And in the
process I came to miss the possibility of forgetting: my sensors send
e.g. a temperature reading to the broker with retain bit set, so clients
can pull "current" temperature at will, but if a sensor goes belly up,
then the bridge (implemented with prometheus python client) and the
broker (via persistence) keep the last temp "alive".

MQTT v5 seems a perfect fit to have a TTL value for measurements. 60
minutes old temp has no longer value as actual state. In fact, it makes
a lot easier to trigger alarms when is self evident that a sensor is not
alive. (I'm generating virtual alive data by a phantom topic with
timestamp for the time being).

So when looking at v5 I have been unable to find documentation that
shows things like:
-can I run -V 5 and still connect via 3.1.1 clients ?
-can I have different listeners for different protocols ?
-is there a way to migrate without "D" day ?

I decided to post here after finding that the main page at
https://mosquitto.org/man/mosquitto-8.html and many others still cite
mosquitto as a 3.1/3.1.1 version broker, even though release 1.6 says
there is v5 support.

TIA,
-Carlos

-- 
Carlos G Mendioroz  <tron@xxxxxxx>


Back to the top