nacos-sync icon indicating copy to clipboard operation
nacos-sync copied to clipboard

Service Sync component

Results 85 nacos-sync issues
Sort by recently updated
recently updated
newest added

主要有下面几个问题 1、sdk拉取实例列表的时候,如果配置了selector, 拉取实例列表会不准, 导致数据同步有问题 2、sdk拉取实例列表的时候, 如果触发了protectThreshold, 会将所有实例的健康状态改为true, 导致同步到其他集群的时候,数据不准 3、sdk拉取实例列表的时候, 无法指定获取leader的数据, 导致拉取到的数据有可能并不是最新的数据, 需要与推送的数据的时间戳做对比, 才能作出判断 4、sdk注册实例的时候, 默认会上报心跳, 然而,对于不需要健康检查的服务来说, 这是不必要的

在控制台添加了同步任务后,在nacos的服务列表能看到同步的服务,但是使用nacos客户端调用发现找不到提供者,使用的alibaba cloud集成nacos搭建的。

![image](https://user-images.githubusercontent.com/4252147/51095590-d71b6f00-17f0-11e9-9764-c2a564d17d8a.png) Post方法每次调用耗时预计3ms,性能比较差

## Issue Method of StringUtils parseQueryString and parseIpAndPortString did not print the warning logs

## Issue Parsing the dubbo protocol name is incorrect Zookeeper returns the path of the node is the full path, causing the protocol header to be parsed incorrectly

## Issue **Weight** field type in Dubbo and Nacos are different Dubbo **weight** field type: int Nacos **weight** field type: double ## Solution Nacos weight field rounded up

node must use proxy,visit backstage turn to 8081 port 前端应该加个代理,把访问后端的接口改为8081端口 ![image](https://user-images.githubusercontent.com/1046037/50960689-eb195500-1500-11e9-816d-bea4bd462445.png)

- Optimize format and log used with english

nacos-sync版本是最新版本的nacos-sync-0.4.8,nacos-server使用的是nacos-server-1.4.1,eureka使用的是Hoxton.SR1版本。 eureka下有个服务amc-datalink-server,现在想将这个服务同步到nacos上,也是按照nacos官网的操作去操作的,具体网址为: https://nacos.io/zh-cn/docs/nacos-sync-use.html。具体的操作和服务列表附件图片都有说明。主要报的错是 java.lang.IllegalArgumentException: Malformed serviceUrl: 192.168.111.208:8761 at com.netflix.discovery.shared.resolver.DefaultEndpoint.(DefaultEndpoint.java:45)。 AbstractServerHolderImpl.createServer时候使用的是具体EurekaServerHolder的createServer方法,跟踪nacosSync服务的源码可以知道 DefaultEndedPoint构建Url时候需要加上协议名,不能直接使用ip+port需要加上协议名,但是新增eureka服务的时候并没有明确要加上http://,二期官网实例只有zk的示例并无eureka的示例,这个可能是eureka的问题,但是咱们注册eureka服务的时候可以默认将http://带上啊。就是数据库cluster表的针对cluster_type为EUREKA的connect_list字段可以带上http://吧。 ![具体报错代码定位](https://user-images.githubusercontent.com/55651759/190051241-885bc06b-abf9-438b-bb9f-7eacea6ad692.png) ![nacosSync服务报错](https://user-images.githubusercontent.com/55651759/190051452-8543ec57-6a80-46b9-b503-82b8510f1663.png) ![nacosSync服务同步](https://user-images.githubusercontent.com/55651759/190051486-9f46d207-2aa8-4baf-8ce5-1b9581b90d2b.png) ![nacosSync集群配置](https://user-images.githubusercontent.com/55651759/190051493-c4754fe5-786e-4b83-8876-b4a576faf1e4.png)

nacos-sync 使用版本为 0.4.8 在 nacos-sync 填写好信息之后, 发现服务列表无法同步. 问题1: 0.4.8版本是支持 nacos2.1.0版本的么? 问题2: 如果问题是回答是"OK"的话, 那有没有一个配置的示例或者说错误排查的方法呢