Reputation: 35
I'm new in Spring RSocket. Based on the official documentation and related articles online, I understand that one service needs to configure an RSocket port to act as a "server," while another service uses an RSocketRequester
to send requests to the server. (I understand that in RSocket, the roles are generally requester and responder, but for the sake of explanation, allow me to use "server" and "client" terminology.)
Suppose I have Service A that needs to interact with two other services (let's call them B and C). Do I need to configure separate RSocket ports for B and C so that Service A can initiate requests using different RSocketRequesters?
If this is necessary, wouldn't a system with many services end up with a large number of RSocket server ports?
I would like to know if there is an alternative approach to configure a single port so that all services can interact with each other using RSocket through this single port.
Upvotes: 0
Views: 12