In the previous two examples, we demonstrated the interoperability capabilities of dubbo java and dubbo go at the protocol level, covering both the triple and dubbo protocols.
In this document, we will demonstrate the service discovery interoperability between dubbo java and dubbo go. With the combination of protocol compatibility, we can achieve full interoperability between the dubbo java and dubbo go microservice systems.
This document uses the Nacos registry as a demonstration. You can view the complete example source code here.
Before running the code, you should follow this instruction to install and start the Nacos server.
Start Java Server
Start Go Client
Start Go Server
Start Java Client
Start Java Server
Start Go Client
Start Go Server
Start Java Client