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

feat: add send broker addr to ret #45

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

denghongcai
Copy link
Collaborator

发送的返回里把 broker 地址给加进去,方便处理 trace

@@ -491,6 +491,7 @@ class MQClientAPI extends RemotingClient {
const responseHeader = response.decodeCommandCustomHeader();
const messageQueue = new MessageQueue(msg.topic, brokerName, responseHeader.queueId);
messageQueue.topic = this._clearProjectGroup(messageQueue.topic);
messageQueue.brokerAddr = brokerAddr;

return {
sendStatus,
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

放到这里吧? messageQueue 里没有 brokerAddr 这个字段

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

Successfully merging this pull request may close these issues.

2 participants