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 2022/06/21 05:21:17 UTC

[GitHub] [rocketmq] skasj opened a new issue, #4492: Can KQueue be supported on the mac platform?

skasj opened a new issue, #4492:
URL: https://github.com/apache/rocketmq/issues/4492

   Can KQueue be supported on the mac platform? Looks like only a small amount of code needs to be added:


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

To unsubscribe, e-mail: dev-unsubscribe@rocketmq.apache.org.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


[GitHub] [rocketmq] lizhanhui commented on issue #4492: Can RocketMQ support KQueue on the mac platform?

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

   Of course...Yes. 
   
   Netty created a dedicated transport module for KQueue for BSD-family OS, including FreeBSD and OpenBSD, which still take up markets in the [traffic-intensive nodes](https://papers.freebsd.org/2019/fosdem/looney-netflix_and_freebsd/). 
   
   So, do not confine KQueue to Mac only, expose it to BSD-family, please.


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

To unsubscribe, e-mail: dev-unsubscribe@rocketmq.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


[GitHub] [rocketmq] skasj closed issue #4492: Can RocketMQ support KQueue on the mac platform?

Posted by "skasj (via GitHub)" <gi...@apache.org>.
skasj closed issue #4492: Can RocketMQ support KQueue on the mac platform?
URL: https://github.com/apache/rocketmq/issues/4492


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

To unsubscribe, e-mail: commits-unsubscribe@rocketmq.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


[GitHub] [rocketmq] Oliverwqcwrw commented on issue #4492: Can RocketMQ support KQueue on the mac platform?

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

   I notice the jdk can return appropriate `SelectorProvider` 
   such as Mac
   
   > 
   public static Selector open() throws IOException {
           return SelectorProvider.provider().openSelector();
       }
   provider = sun.nio.ch.DefaultSelectorProvider.create();
   
   public static SelectorProvider create() {
           return new KQueueSelectorProvider();
       }
   
   and window can return WindowsSelectorProvider, so it is necessary whether  to adapt different platform @skasj @lizhanhui 


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

To unsubscribe, e-mail: dev-unsubscribe@rocketmq.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


[GitHub] [rocketmq] skasj commented on issue #4492: Can RocketMQ support KQueue on the mac platform?

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

   @lizhanhui Thank you for your guidance, I will try it out


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

To unsubscribe, e-mail: dev-unsubscribe@rocketmq.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


[GitHub] [rocketmq] lizhanhui commented on issue #4492: Can RocketMQ support KQueue on the mac platform?

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

   @skasj Your contribution is welcome...Looking forward to your pull request.


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

To unsubscribe, e-mail: dev-unsubscribe@rocketmq.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org