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

Number of retained messages inconsistent #3030

Open
overlinden opened this issue Apr 4, 2024 · 0 comments
Open

Number of retained messages inconsistent #3030

overlinden opened this issue Apr 4, 2024 · 0 comments

Comments

@overlinden
Copy link

overlinden commented Apr 4, 2024

Hi community,

I found a strange behavior of the broker.

The number of retained messages reported via
$SYS/broker/retained messages/count
does not match the number of messages returned by
mosquitto_sub -t "#" -v --retained-only

In my example the $sys topic reports 101 retained messages but the mosquitto_sub command returns 50 only.

Can you explain why?
Which number is correct?

Best regards
Oliver

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

1 participant