Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

调用出错,似乎版本不兼容 rocketmq v4.9.1 #36

Closed
brookqin opened this issue Sep 23, 2021 · 3 comments
Closed

调用出错,似乎版本不兼容 rocketmq v4.9.1 #36

brookqin opened this issue Sep 23, 2021 · 3 comments

Comments

@brookqin
Copy link

MQ版本 V4_9_1

Producer发送消息会报如下错误:

the custom field <c> is null
org.apache.rocketmq.remoting.exception.RemotingCommandException: the custom field <c> is null, 
org.apache.rocketmq.broker.processor.AbstractSendMessageProcessor.checkNotNull(AbstractSendMessageProcessor.java:376)

字段 c 对应的是 defaultTopic

@nnhy
Copy link
Member

nnhy commented Nov 18, 2021

没有测试环境,无法重现问题

@brookqin
Copy link
Author

这个问题已经在 #38 里修复了
不过我当时是改的 SendMessageRequestHeader

public String DefaultTopic { get; set; } = "defaultTopic";

@nnhy
Copy link
Member

nnhy commented Feb 9, 2022

提交个PR

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants