You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@dubbo.apache.org by GitBox <gi...@apache.org> on 2021/11/09 14:13:52 UTC

[GitHub] [dubbo] haoyann commented on issue #9239: 新增动态配置无效

haoyann commented on issue #9239:
URL: https://github.com/apache/dubbo/issues/9239#issuecomment-964188783


   > @haoyann 有相关的测试案例么?
   
   使用 dubbo-admin [服务治理/动态配置] 新增一个动态配置规则。
   ![image](https://user-images.githubusercontent.com/43994656/140937846-cc026b1f-62a7-40bc-b0b6-ef5110668be8.png)
   当前 dubbo-admin 使用 `DynamicConfiguration` 新增配置
   https://github.com/apache/dubbo-admin/blob/906e87122f39527c54086db0d66fb04bcf746ba6/dubbo-admin-server/src/main/java/org/apache/dubbo/admin/registry/config/impl/MultiDynamicConfiguration.java#L80-L82
   `dynamicConfiguration.publishConfig(key, group, value)` 对应 zookeeper 的实现就是使用的 `zkClient.create` 。
   
   而且你提到的 
   >zk的create事件通知内容只是个ip地址
   
   这里应该排查一下为什么只是一个ip地址,因为这是服务治理所监听的路径,不会无故写入内容。而且在这个场景下处理 ADDED 是符合预期的。


-- 
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: notifications-unsubscribe@dubbo.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



---------------------------------------------------------------------
To unsubscribe, e-mail: notifications-unsubscribe@dubbo.apache.org
For additional commands, e-mail: notifications-help@dubbo.apache.org