Closed imgoby closed 10 months ago
It is urgent.Could you check for it? @CrazyHZM
@imgoby Is dubbo functioning properly except for message errors?
It was resolved. It cuases by other issue.for example JSON.parseArray() failed. not for dubbo.
The reason is that the rocketmq-client contains a lower version of fastJSON,for example fastjson 1.2.83,this version of fastjson doesn't support native-image well. check your dependencies and update the fastjson version to
<dependency>
<groupId>com.alibaba</groupId>
<artifactId>fastjson</artifactId>
<version>2.0.31</version>
</dependency>
When the project contains dubbo-native or dubbo-maven-plugin and spring-cloud-starter-stream-rocketmq, the rocketmq client cannot start successfully.
demo is here: https://github.com/imgoby/spring-cloud-alibaba-dubbo-native/tree/main/spring-cloud-alibaba-stream-native-image
Main Exception is : org.apache.rocketmq.remoting.exception.RemotingSendRequestException: send request to <192.168.0.211:9876> failed
If I remove the setting as below, I will be OK.