You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Every yaml.plugins.registry.polarismesh.service[i].name should equal to a corresponding yaml.server.service[i].name. This is how yaml.plugins.registry.polarismesh.register_self works.
Here, you have only one yaml.server.service to reuse the single port for every services, thus, you must have only one plugins.registry.polarismesh.service.
When calling a service, pay attention to yaml.client.service[i].name and yaml.client.service[i].callee on client side. Client name must match the serveryaml.plugins.registry.service[i].name to find ip:8001 of polaris service trpc.helloworld. Client callee must match the one in generated xxx.trpc.pb.go, such as this.
In a typical scenario where each service has its own port, you don't need to warry about client name and callee. This is because naming service is equal to pb service and client name and callee are backed up to each other.
The text was updated successfully, but these errors were encountered: