You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@rocketmq.apache.org by GitBox <gi...@apache.org> on 2019/12/11 03:23:08 UTC
[GitHub] [rocketmq] liyiwen3 commented on issue #1631: What kind of
consideration is it based on that one MQ client only has one connection to
the broker?
liyiwen3 commented on issue #1631: What kind of consideration is it based on that one MQ client only has one connection to the broker?
URL: https://github.com/apache/rocketmq/issues/1631#issuecomment-564362499
Do you mean use unitName in ClientConfig.class?
------------------ 原始邮件 ------------------
发件人: "程向往"<notifications@github.com>;
发送时间: 2019年12月11日(星期三) 上午8:59
收件人: "apache/rocketmq"<rocketmq@noreply.github.com>;
抄送: "915071628"<915071628@qq.com>;"Author"<author@noreply.github.com>;
主题: Re: [apache/rocketmq] What kind of consideration is it based on that one MQ client only has one connection to the broker? (#1631)
If the "MQ client" means MQClientInstance, yes, one MQClientInstance maintains one connection to one broker(but it maintains the connections with all brokers in the cluster).
And you can create producers/consumers in any numbers in your client-side, each holds one MQClientInstance.
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub, or unsubscribe.
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
With regards,
Apache Git Services