Closed heruan closed 1 year ago
This could be a good opportunity to introduce a topic for internal use that can store data like the user colors and distribute them across nodes in a cluster.
We already use this pattern with the LicenseHandler
so we could either expand the use of that, or incorporate it into a new combined topic.
Note: We need to guard against accidental (or malicious) tampering of the topic. One way we could do this is to prefix all developer-generated topics with something (e.g. '$') and any internal topics either have different prefix or none.
Describe the bug Users connecting to app instances on different nodes will most probably see different colors assigned to the same users.
To Reproduce Steps to reproduce the behavior:
CollaborationAvatarGroup
Expected behavior User colors used in the avatars are consistent in the two nodes.
Versions