When user connect via RSocket backend will check all the chats with him. After that, backend send to all available users (that have chat with user) fire-and-forget request to users. Available users will be chosen from chat service.
Problems
Contact service has endpoint for get all chats, but it requires JWT authentication. Possible solution will send request with token value. Also, it is necessary to implement chat client and integration test for it.
Details
When user connect via RSocket backend will check all the chats with him. After that, backend send to all available users (that have chat with user) fire-and-forget request to users. Available users will be chosen from chat service.
Problems
Contact service has endpoint for get all chats, but it requires JWT authentication. Possible solution will send request with token value. Also, it is necessary to implement chat client and integration test for it.
To-do: