Results 58 comments of zrlw

it is weird to define a annotated class that includes the parameter types of each rpc method for generized service adaptation.

introduce a special JavaType for tuples: #3597

> One suggestion here, related to @yawkat's concern is that `ObjectMapper` is probably the wrong place for this -- methods should be added (only) in `ObjectReader`. Type list/array could be...

> It is already possible to have polymorphic values but you do have to use `@JsonTypeInfo` to indicate polymorphic nature (and inclusion of type information on serialization, reading on deserialization)....

> @zrlw Ok I don't understand how this is supposed to work; how should types of elements be detected? > the types of elements are not be detected but be...

> is the idea that you pass in a `List` of types (like `JavaType`) which must match exactly elements of the incoming JSON Array? yes. it's useful for api gateway...

这个告警出自nacos客户端,应该是DefaultPublisher发布的实例变动事件放不进去队列,通常是因为队列满了,队列长度应该是16384吧,具体要看一下nacos client的代码。 这么多的事件应该都是nacos源集群产生的,nacos-sync只是源集群实例变动情况的订阅者,它只是转发源集群的实例变动事件到目标集群,如果变动事件数量超过nacos客户端默认队列长度,不能及时将变动情况转发给目标集群,目标集群的实例数量和源集群就会出现差异。 当日也可能是nacos-sync系统资源不足,处理慢导致队列出现积压。

@wenlong139 修订内容应该没有问题,过了5个月了也没有合并,是不是要先提PR到develop分支? @paderlol 还在么? nacos-sync是不是近期没有Committer来review代码了? @chuntaojun @xuechaos @binbin0325 @SpecialYang @li-xiao-shuang @HaojunRen @realJackSun

> 请问这个问题已经解决了吗?为啥这个issue还在保持open状态呢? 具体原因要问问 @AlbumenJ @chickenlj

部署nacos注册中心两个集群,应用服务方选择其中的一个注册,应用消费方选择其中的一个注册。 nacos-sync设置同步任务将两个注册中心的所有实例进行双向同步,两个集群里的消费方都可以看到对方集群的服务实例。 这种效果相当于一个大注册中心吧。