zrlw removed a comment on issue #9239:
URL: https://github.com/apache/dubbo/issues/9239#issuecomment-963990074
zk的create事件通知内容只是个ip地址,如果对应ConfigChangeType.MODIFIED,那么genConfiguratorsFromRawRule解析内容时就会异常。
看NacosDynamicConfiguration、NacosMetadataReport代码,貌似nacos没有zk这样单独的create事件通知,可否把这两个类里的getChangeType改一下:
```
private ConfigChangeType getChangeType(String configInfo, String
oldValue) {
if (StringUtils.isBlank(configInfo)) {
return ConfigChangeType.DELETED;
}
/* nacos没有单独的create事件通知
if (StringUtils.isBlank(oldValue)) {
return ConfigChangeType.ADDED;
}
*/
return ConfigChangeType.MODIFIED;
}
```
--
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]