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
QOS 2 messages dropped by bridge. #151
Comments
This appears to be a bug with persisting topics that start with a /, thanks for reporting it. You can get around it for now by removing the leading /. Honestly, there's no reason to have it there you're just complicating your hierarchy. Unlike a unix file system, / isn't the base, "" is. Using /i/i0/hq as a topic gives you four levels of hierarchy "", "i", "i0", "hq". |
Thank you for looking at this so fast, and thanks for the advice. |
Closes #151. Thanks to Andrew Chambers. Signed-off-by: Roger A. Light <[email protected]>
I am attempted to bridge 2 brokers and subscribe to one end, and publish to the other, and can see messages are getting lost.
Steps to reproduce:
Using mosquitto version 1.4.8
1.) Run broker with settings:
2.) Run broker + bridge with settings:
3.) Establish a non clean subscription to bridge broker with a fixed id
4.) Close subscriber from step 3. Close bridge from step 2. Now only the broker from step 1 is running.
5.) publish a message with
6.) restart broker/bridge from step 2. If -v is enabled, observe it recieve the abc message.
7.) rerun subscription from step 3. Observe the message is lost.
The text was updated successfully, but these errors were encountered: