dubbo
dubbo copied to clipboard
The java implementation of Apache Dubbo. An RPC and microservice framework.
### Environment * Dubbo version: 2.7.16 * Operating System version: Window 10 * Java version: 1.8 ### Steps to reproduce this issue 我并没有使用3.0以上版本,因为和其他的组件兼容性还不够好(I didn't use version 3.0 or above because...
io.netty.handler.codec.EncoderException: java.lang.ClassCastException: java.lang.Integer cannot be cast to java.lang.String at io.netty.handler.codec.MessageToByteEncoder.write(MessageToByteEncoder.java:125) at io.netty.channel.AbstractChannelHandlerContext.invokeWrite0(AbstractChannelHandlerContext.java:717) at io.netty.channel.AbstractChannelHandlerContext.invokeWrite(AbstractChannelHandlerContext.java:709) at io.netty.channel.AbstractChannelHandlerContext.write(AbstractChannelHandlerContext.java:792) at io.netty.channel.AbstractChannelHandlerContext.write(AbstractChannelHandlerContext.java:702) at io.netty.handler.timeout.IdleStateHandler.write(IdleStateHandler.java:304) at io.netty.channel.AbstractChannelHandlerContext.invokeWrite0(AbstractChannelHandlerContext.java:717) at io.netty.channel.AbstractChannelHandlerContext.invokeWrite(AbstractChannelHandlerContext.java:709) at io.netty.channel.AbstractChannelHandlerContext.write(AbstractChannelHandlerContext.java:792) at io.netty.channel.AbstractChannelHandlerContext.write(AbstractChannelHandlerContext.java:702) at io.netty.channel.ChannelDuplexHandler.write(ChannelDuplexHandler.java:115)...
- [x] I have searched the [issues](https://github.com/apache/dubbo/issues) of this repository and believe that this is not a duplicate. ## Ask your question here 请问Dubbo3.0如何对接istio+envoy的service mesh模式。是关闭掉注册中心改为服务直连么?那么其中元数据中是否还需要? How does Dubbo3.0 connect to...
我用的dubbo3.0.5,使用的springboot和dubbo-spring-boot-starter搭建的dubbo服务,我打包成镜像,放到k8s中运行正常,当我给这个pod创建service后,重启一下pod就提示: Exception encountered during context initialization - cancelling refresh attempt: org.springframework.boot.context.properties.ConfigurationPropertiesBindException: Error creating bean with name 'dubbo-org.apache.dubbo.spring.boot.autoconfigure.DubboConfigurationProperties': Could not bind properties to 'DubboConfigurationProperties' : prefix=dubbo, ignoreInvalidFields=false, ignoreUnknownFields=true; nested exception is...
dubbo3.0.9,目前我看了代码感觉这个问题无解,必须改nacos的代码了 nacos多注册中心,实例发现,两遍都注册,一遍改变通知过来,两个ServiceInstancesChangedListener都会触发(因为key和group相同),NamingEvent也没有足够信息过滤掉错误的通知,导致后续处理出错 1. 条件: (1)只用实例发现 (2)配置2个nacos的注册中心 (3)服务自省用remote模式(可以明确看到两个revision不同) (4)接口A使用global导出,接口B使用nacos-registry导出,这样revision就不同了 dubbo.application.register-mode=instance dubbo.application.service-discovery.migration=FORCE_APPLICATION dubbo.registries.nacos-registry.id=nacos-registry dubbo.registries.nacos-registry.address=nacos://main-a-nacos.blurams.vip:8848 dubbo.registries.nacos-registry.use-as-metadata-center=true dubbo.registries.nacos-registry.use-as-config-center=false dubbo.registries.global.id=global dubbo.registries.global.address=nacos://global-nacos.blurams.vip:8848 dubbo.registries.global.use-as-metadata-center=true dubbo.registries.global.use-as-config-center=false dubbo.application.metadata-type=remote 2. 观察:两个注册中心都存在utopia-channel-server,他们的revision是不同的,应该计算的时候带注册中心的 3. 结果:这个时候已经满足触发的条件了,比如global-nacos.blurams.vip:8848 utopia-channel-server变更通知过来,那么 两个ServiceInstancesChangedListener都会被触发,因为key和group都是一样的 然后后续main-a-nacos.blurams.vip:8848这个ServiceInstancesChangedListener就报错了(一直死循环查地址,因为revision查不到信息) @AlbumenJ 感觉无解,数据不足,过滤不掉 我打算修改注册中心代码,目前配置group是无效的,加上dubbo.registries.global.group=public-global 这样强制group不同
- [ ] I have searched the [issues](https://github.com/apache/dubbo/issues) of this repository and believe that this is not a duplicate. ### Environment * Dubbo version: 3.0.6 * Operating System version: MacOS...
- [ ] I have searched the [issues](https://github.com/apache/dubbo/issues) of this repository and believe that this is not a duplicate. ## Ask your question here agent进程 使用 ExtensionLoader extensionLoader = ApplicationModel...
- [x] I have searched the [issues](https://github.com/apache/dubbo/issues) of this repository and believe that this is not a duplicate. ### Environment * Dubbo version: 3.0.3 * Operating System version: debian *...
refactor parameter on consumer url logic code: #10312 1.using ParameterOnConsumerUrl, getParameterOnConsumerUrl and hasParameterOnConsumerUrl to refactor the multi-places similar code 2. using final
suggest ExceptionFilter should't change the RuntimeException again // directly throw if it's checked exception if (!(exception instanceof RuntimeException) && (exception instanceof Exception)) { return; } //ellipsis some code // otherwise,...