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

shorten topic #25

Open
durandom opened this issue May 31, 2022 · 0 comments
Open

shorten topic #25

durandom opened this issue May 31, 2022 · 0 comments

Comments

@durandom
Copy link
Member

according to https://www.hivemq.com/blog/mqtt-essentials-part-5-mqtt-topics-best-practices/

Keep the MQTT topic short and concise
Each topic is included in every message in which it is used. Make your topics as short and concise as possible. When it comes to small devices, every byte counts and topic length has a big impact.

I.e. we should only have the userId and sessionId in the topic and move all other tags into the payload data

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