1kasa opened a new pull request, #2784:
URL: https://github.com/apache/dubbo-go/pull/2784

   - Fixes:https://github.com/apache/dubbo-go/issues/2524
   - After fixing the issue,you can use the following configuration: such as:
   ```
   dubbo:
     application:
       name: myApp # metadata: application=myApp; name=myApp
       module: opensource # metadata: module=opensource
       group: myAppGroup # 没有元数据记录
       organization: dubbo # metadata: organization=dubbo
       owner: laurence # metadata: owner=laurence
       version: myversion # metadata: app.version=myversion
       environment: pro # metadata: environment=pro
     registries:
       nacosWithCustomGroup:
         protocol: nacos
         address: 127.0.0.1:8848
         group: myGroup # nacos 分组,默认为 DEFAULT_GROUP
         registry-type: interface
         namespace: 779a0faf-90e1-4d9a-8186-8240446b4ccd # nacos 
namespaceID,需提前创建,默认为 public
       nacosWithCustomGroup2:
         protocol: nacos
         address: 127.0.0.1:8848
         group: myGroup # nacos 分组,默认为 DEFAULT_GROUP
         registry-type: interface
         namespace: 0e80a7a6-ecd1-4801-beb3-011232bce8cf # nacos 
namespaceID,需提前创建,默认为 public
     protocols:
       dubbo:
         name: dubbo
         port: 20000
     provider:
       services:
         UserProvider:
           registry-ids: nacosWithCustomGroup
           interface: org.apache.dubbo.UserProvider.Test
         UserProviderWithCustomGroupAndVersion:
           registry-ids: nacosWithCustomGroup2
           interface: org.apache.dubbo.UserProvider.Test
           version: myInterfaceVersion # dubbo 接口版本必须与客户端一致
           group: myInterfaceGroup # dubbo 接口组必须与客户端一致
   
   ```
   - Result:
    
   <img width="1201" alt="image" 
src="https://github.com/user-attachments/assets/8649f6d2-1fd6-4235-b4ae-318045c38bb7";
 />
   <img width="1189" alt="image" 
src="https://github.com/user-attachments/assets/625563d7-55d0-4dde-a824-768ee1a70322";
 />
   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to