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

heartbeat detection these do not exist in memory in redis #851

Open
Tong-07 opened this issue Aug 27, 2024 · 3 comments
Open

heartbeat detection these do not exist in memory in redis #851

Tong-07 opened this issue Aug 27, 2024 · 3 comments

Comments

@Tong-07
Copy link

Tong-07 commented Aug 27, 2024

How to make multiple services, heartbeat detection these do not exist in memory in redis or database can be achieved

@andsel
Copy link
Collaborator

andsel commented Sep 19, 2024

Hi @Tong-07 could you describe better what you mean for heartbeat detection? Something to check the status of Moquette when it's configured as a (init.d?) service?

@Tong-07
Copy link
Author

Tong-07 commented Sep 26, 2024

That is to say, when the client times out, it can not use memory detection, and can use other databases to quickly process the detection. The information subscribed to the channel does not exist in the local memory but is placed in the database for easy viewing.

@andsel
Copy link
Collaborator

andsel commented Sep 26, 2024

So specifically from the broker perspective, once a connection timeout, because it doesn't transmit any data or ping in the keepAlive *1.5 time window, that do you expect from the broker? Should it notify a callback, and in the callback you implement what you need?
Please, state a clear requirement from the broker point of view, so that I can understand better what's needed and if it fits MQTT protocol and broker design.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants