First time using this forum so apologies if this is not the correct format for asking this.
I am trying to replicate a publish to many subscribers pattern where a user subscribes to a websocket route with a parameter and the server keeps track of all users subscribed with that specific parameter. Whenever there is an update at route X, the app is signalled to check if there are any subscribers with event X (X = paramater users subscribe with) and then sends them all a message or data. The client app is allowed to unsubscribe from certain topics and resubscribe to another one during the whole flow though.
I haven’t really implemented something like this before so apologies if I am not understanding or didn’t do my research correctly.
Any help regarding starting steps or general implementation of the solution will be greatly helpful.