您当前的位置: 首页 >  kafka

段智华

暂无认证

  • 0浏览

    0关注

    1232博文

    0收益

  • 0浏览

    0点赞

    0打赏

    0留言

私信
关注
热门博文

第36课:Kafka源码解读SocketServer下的Acceptor、Processor、Handler

段智华 发布时间:2016-07-03 09:26:13 ,浏览量:0

第36课:Kafka源码解读SocketServer下的Acceptor、Processor、Handler 1 socketServer下的NIO 2 Acceptor、Processor、Handler

/**  * An NIO socket server. The threading model is  *   1 Acceptor thread that handles new connections  *   Acceptor has N Processor threads that each have their own selector and read requests from sockets  *   M Handler threads that handle requests and produce responses back to the processor threads for writing.  */

class SocketServer(val config: KafkaConfig, val metrics: Metrics, val time: Time) extends Logging 
关注
打赏
1659361485
查看更多评论
立即登录/注册

微信扫码登录

0.0445s