RocketMQ Error

io.netty错误

RocktMQ Version 4.2.0

如果在配合gRPC使用的时候,会出现io.netty库多版本问题,造成部署失败

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
<!-- RocketMQ -->
<dependency>
<groupId>org.apache.rocketmq</groupId>
<artifactId>rocketmq-common</artifactId>
<version>4.2.0</version>
<exclusions>
<exclusion>
<groupId>io.netty</groupId>
<artifactId>netty-all</artifactId>
</exclusion>
<exclusion>
<groupId>io.netty</groupId>
<artifactId>netty-tcnative</artifactId>
</exclusion>
</exclusions>
</dependency>
<dependency>
<groupId>org.apache.rocketmq</groupId>
<artifactId>rocketmq-client</artifactId>
<version>4.2.0</version>
<exclusions>
<exclusion>
<groupId>io.netty</groupId>
<artifactId>netty-all</artifactId>
</exclusion>
<exclusion>
<groupId>io.netty</groupId>
<artifactId>netty-tcnative</artifactId>
</exclusion>
</exclusions>
</dependency>
<dependency>
<groupId>io.netty</groupId>
<artifactId>netty-tcnative</artifactId>
<version>1.1.33.Fork22</version>
</dependency>

found a illegal magic code 0x6d626f6c / found a illegal magic code 0x30317d0b


RemotingTooMuchRequestException: sendDefaultImpl call timeout

原因:服务器存在多网卡

解决:在broker的配置文件中指定brokerIP参数的ip地址即可


org.apache.rocketmq.remoting.exception.RemotingTimeoutException: wait response on the channel <:10909> timeout

https://github.com/apache/rocketmq/issues/428