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 2021/01/12 03:17:41 UTC

[GitHub] [rocketmq] xhsky opened a new issue #2585: Customize the port of broker fastRemotingServer

xhsky opened a new issue #2585:
URL: https://github.com/apache/rocketmq/issues/2585


   The remaining 9876,10911 and 10912 ports have parameter configuration, but the configuration of 10909 port is not found, how to customize this port?


----------------------------------------------------------------
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



[GitHub] [rocketmq] xhsky commented on issue #2585: Customize the port of broker fastRemotingServer

Posted by GitBox <gi...@apache.org>.
xhsky commented on issue #2585:
URL: https://github.com/apache/rocketmq/issues/2585#issuecomment-758491293


   What I want to ask is how to define the port in the configuration file instead of the code file, for example, use haListenPort to specify 10912 in broker.conf


----------------------------------------------------------------
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



[GitHub] [rocketmq] githublaohu commented on issue #2585: Customize the port of broker fastRemotingServer

Posted by GitBox <gi...@apache.org>.
githublaohu commented on issue #2585:
URL: https://github.com/apache/rocketmq/issues/2585#issuecomment-761933063


   If you configure this port, both client and nameserver need to support the identification ability of this configurable port.
   你配置这个端口,那么需要client,nameserver都需要支持可以配置的这个端口的识别能力。


----------------------------------------------------------------
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



[GitHub] [rocketmq] lizhanhui commented on issue #2585: Customize the port of broker fastRemotingServer

Posted by GitBox <gi...@apache.org>.
lizhanhui commented on issue #2585:
URL: https://github.com/apache/rocketmq/issues/2585#issuecomment-760717577


   It looks dedicated heartbeat request is required to keep connections to
   this port alive. Otherwise, connections would get closed when sending
   messages less frequently.
   
   On Fri, Jan 15, 2021 at 3:26 PM sky <no...@github.com> wrote:
   
   > I understand this. Is there a separate configuration option, I need to set
   > it uniquely for each port instead of setting it through port dependence
   > (calculation)
   >
   > —
   > You are receiving this because you are subscribed to this thread.
   > Reply to this email directly, view it on GitHub
   > <https://github.com/apache/rocketmq/issues/2585#issuecomment-760706756>,
   > or unsubscribe
   > <https://github.com/notifications/unsubscribe-auth/AAE4WG45XLVQMSFHW4Z6SDDSZ7UYZANCNFSM4V6RWLAA>
   > .
   >
   


----------------------------------------------------------------
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



[GitHub] [rocketmq] xhsky commented on issue #2585: Customize the port of broker fastRemotingServer

Posted by GitBox <gi...@apache.org>.
xhsky commented on issue #2585:
URL: https://github.com/apache/rocketmq/issues/2585#issuecomment-760706756


   I understand this. Is there a separate configuration option, I need to set it uniquely for each port instead of setting it through port dependence (calculation)


----------------------------------------------------------------
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



[GitHub] [rocketmq] lizhiboo commented on issue #2585: Customize the port of broker fastRemotingServer

Posted by GitBox <gi...@apache.org>.
lizhiboo commented on issue #2585:
URL: https://github.com/apache/rocketmq/issues/2585#issuecomment-782631543


   > I understand this. Is there a separate configuration option, I need to set it uniquely for each port instead of setting it through port dependence (calculation)
   
   i agree with u, it's better allow client to config this port, it will be much flexible


----------------------------------------------------------------
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



[GitHub] [rocketmq] githublaohu commented on issue #2585: Customize the port of broker fastRemotingServer

Posted by GitBox <gi...@apache.org>.
githublaohu commented on issue #2585:
URL: https://github.com/apache/rocketmq/issues/2585#issuecomment-761933441


   If you must use this function, please submit an issue indicating that you need this function. If this requirement is adopted, it will be on the agenda
   
   如果你一定要这个功能,请提交一个issue,表明需要这个功能。如果这个需求被采纳,就有在日程里面了


----------------------------------------------------------------
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



[GitHub] [rocketmq] githublaohu commented on issue #2585: Customize the port of broker fastRemotingServer

Posted by GitBox <gi...@apache.org>.
githublaohu commented on issue #2585:
URL: https://github.com/apache/rocketmq/issues/2585#issuecomment-758488772


   look, BrokerController.java 267 link.  10911 - 2 = 10909


----------------------------------------------------------------
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



[GitHub] [rocketmq] githublaohu commented on issue #2585: Customize the port of broker fastRemotingServer

Posted by GitBox <gi...@apache.org>.
githublaohu commented on issue #2585:
URL: https://github.com/apache/rocketmq/issues/2585#issuecomment-760695300


   Listen port (10911) is configurable. Port 10909 is based on the listener port. So if you want to modify port 10909, you just need to modify listening port
   listenPort(10911)是可以配置。10909端口基于listenPort处理的。所以你想修改10909端口,只需要修改listenPort就行了


----------------------------------------------------------------
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



[GitHub] [rocketmq] xhsky commented on issue #2585: Customize the port of broker fastRemotingServer

Posted by GitBox <gi...@apache.org>.
xhsky commented on issue #2585:
URL: https://github.com/apache/rocketmq/issues/2585#issuecomment-760758167


   > It looks dedicated heartbeat request is required to keep connections to this port alive. Otherwise, connections would get closed when sending messages less frequently.
   > […](#)
   > On Fri, Jan 15, 2021 at 3:26 PM sky ***@***.***> wrote: I understand this. Is there a separate configuration option, I need to set it uniquely for each port instead of setting it through port dependence (calculation) — You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub <[#2585 (comment)](https://github.com/apache/rocketmq/issues/2585#issuecomment-760706756)>, or unsubscribe <https://github.com/notifications/unsubscribe-auth/AAE4WG45XLVQMSFHW4Z6SDDSZ7UYZANCNFSM4V6RWLAA> .
   
   We are talking about one thing ?


----------------------------------------------------------------
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