zrlw
zrlw
dubbo3 + nacos2 + springboot3 是不是可以先用这个: https://github.com/nacos-group/nacos-spring-boot-project/releases/tag/0.3.0-RC > 已支持 spring boot 3.0 https://github.com/alibaba/spring-cloud-alibaba/releases/tag/2022.0.0.0-RC1
> Hi, woule you like to leave a e-mail here, we would like to invite you to become an Apache Dubbo Committer. [email protected]
> > Service A and B have same interface com.test.InterfaceXXX, their dubbo.application.metadata-type are same local, but group or version are different, > > Consumer C only invokes com.test.InterfaceXXX of service...
> I understand the issue in you case in #14200, but I don't think we can change the mapping key directly by adding group and version to it. This is...
To be compatible with old applications using old version, adding group names for each interface to the metadata of the instance and filtering out mismatched service instances from ServiceDiscoveryRegistry#subscribeURLs is...
The process of creating dubboReference of serivce A: 1. Obtain all application names corresponding to conditions (for nacos: dataId="com.test.InterfaceXXX", group="mapping") from the metadata center. 2. Query all instances under all...
For each service instance that consumer C has not network access privileges, the method AbstractServiceDiscovery#getRemoteMetadata always try calling getRemoteMetadata 3 times and wait 1 second from each time.
@stone-98 是不是在dubbo-hessian-lite的pom文件加入bson依赖: ``` org.mongodb bson 4.4.0 ``` 然后实现 1. ObjectIdHandler 构造方法入参为ObjectId对象,调用ObjectId.toByteArray()方法获取byte数组并保存; 2. ObjectIdSerializer: new ObjectId(ObjectIdHandler的byte数组变量)创建ObjectId对象; 3. SerializerFactory#getSerializer增加ObjectId分支,配置ObjectIdHandler 4. 增加用于验证的单元测试 如果上述理解没有问题,我可以代你加个PR。 我有个疑问,有没有更加通用一点的办法么?每个默认序列化方法搞不定的数据类型难道都要在pom里面去加一个依赖才可以么?
这种不符合标准序列化接口的类型自己包装一下应该就好了,hessian2作为通用工具类不可能支持所有特殊类型的序列化和反序列化
hessian定位和Java序列化定位不同,前者追求的是高效,生成的字节流也要短,但是高效的代价是没有Java序列化可靠,而且也不如Java序列化支持的全面。