Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Addition of last-will options in bridge settings #214

Open
peppo65 opened this issue Jul 13, 2016 · 2 comments
Open

Addition of last-will options in bridge settings #214

peppo65 opened this issue Jul 13, 2016 · 2 comments
Labels
Component: mosquitto-broker Type: Enhancement A new feature for a minor or major release.

Comments

@peppo65
Copy link

peppo65 commented Jul 13, 2016

Proposal: in the bridge connection settings it could be useful the possibility to configure last-will related options. Something like the following:

  • lastwill [true|false] which defaults to false
  • lastwill_topic [topic] mandatory if lastwill is true
  • lastwill_retain [true|false] which defaults to false
  • lastwill_message [string]
  • lastwill_payload [path_to_file_containing_payload]

The last two options are mutually exclusive, and one of them must be present if lastwill is true. The first one allows to specify a textual payload directly in mosquitto.conf; the second is for specify a non-textual payload in an external file.

@ralight
Copy link
Contributor

ralight commented Jul 13, 2016

I'm sure you're aware already, but there is a bit of this in the form of the bridge notification topics. Adding your suggestion would mean that a user would have to choose between notifications or not.

It's certainly worth looking at though.

@ralight ralight added Type: Enhancement A new feature for a minor or major release. Component: mosquitto-broker labels Jul 13, 2016
@ksheurs
Copy link

ksheurs commented Jan 25, 2018

Hi there, I am just looking into the bridge notifications configuration now. Are $SYS topics sent both to the bridge's upstream connection as well as clients that are connected to the bridge?

I'm interesting in both the upstream connection getting a LWT-like message + devices connected to the bridge getting notified that the bridge has lost it's connection.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Component: mosquitto-broker Type: Enhancement A new feature for a minor or major release.
Projects
None yet
Development

No branches or pull requests

3 participants