-
Notifications
You must be signed in to change notification settings - Fork 26.5k
Dubbo2.7.5 使用Zookeeper元数据中心,元数据未上报 #5742
Copy link
Copy link
Closed
Milestone
Description
- I have searched the issues of this repository and believe that this is not a duplicate.
- I have checked the FAQ of this repository and believe that this is not a duplicate.
Environment
- Dubbo version: 2.7.5
- Zookeeper version: 3.4.14
- Operating System version: macos
- Java version: 1.8
Steps to reproduce this issue
- 按官方文档搭建provider,两种方式:annotation/xml
- 分别配置
<dubbo:metadata-report address="zookeeper://127.0.0.1:2181"/> @Bean
public MetadataReportConfig metadataReportConfig() {
MetadataReportConfig metadataReportConfig = new MetadataReportConfig();
metadataReportConfig.setAddress("zookeeper://127.0.0.1:2181");
return metadataReportConfig;
}- 应用正常启动
- Consumer端正常调用
- 观察Zookeeper节点数据,元数据节点/dubbo/metadata 未创建
Expected Result
元数据正常上报
Actual Result
元数据节点在Zookeeper上未创建,元数据未上报
将dubbo版本号更改为2.7.4.1、2.7.3,代码或配置未改动,元数据正常上报
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels
Type
Fields
Give feedbackNo fields configured for issues without a type.