On 27 September 2016 at 16:12, Julian Knight <
j.kni...@gmail.com> wrote:
> Good point. You are right of course that the sender should keep trying until
> the receiver acknowledges receipt. Of course, that is only true until the
> sender is reset - unless, presumably, the retain flag is used.
>
> Don't think this helps Tijl though because in his case, it is the DB going
> offline that I think he is interested in rather than the broker? So he wants
> to temporarily disconnect a subscribe.
You are correct I think.
Tijl - in what way is the DB going offline? is it on a different
machine to node-red?
Colin
>
> On Tuesday, 27 September 2016 15:36:35 UTC+1, Colin Law wrote:
>>
>> On 27 September 2016 at 09:32, Julian Knight <
j.kni...@gmail.com> wrote:
>> > No I don't believe there is. It certainly would be an interesting
>> > option. I
>> > came across a related issue recently when running a development
>> > environment
>> > on my laptop connected to a broker at home. When away from home, there
>> > is no
>> > connection and it would be nice to be able to temporarily turn off the
>> > connection.
>>
>> This is an interesting area that has been concerning me, I have been
>> meaning to run some tests. If node-red is running on the client
>> machine and the broker is running on a remote server then if an MQTT
>> output node is configured with a QoS of 1 or 2 then my understanding
>> is that (eventual) delivery of the message should be guaranteed even
>> if there is no connection to the server at the time the message. The
>> mqtt client should buffer messages if necessary. I think that if this
>> does not happen then this is a bug in the mqtt client s/w underlying
>> the mqtt out node. As I said I have not actually tried this yet.
>>
>> Colin
>
> --
>
http://nodered.org
>
> Join us on Slack to continue the conversation:
http://nodered.org/slack
> ---
> You received this message because you are subscribed to the Google Groups
> "Node-RED" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to
node-red+u...@googlegroups.com.
> To post to this group, send email to
node...@googlegroups.com.
> Visit this group at
https://groups.google.com/group/node-red.
> To view this discussion on the web, visit
>
https://groups.google.com/d/msgid/node-red/65d56d86-1529-4a61-900d-e2fef3e2fac9%40googlegroups.com.
>
> For more options, visit
https://groups.google.com/d/optout.