You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@dubbo.apache.org by GitBox <gi...@apache.org> on 2021/11/04 10:18:37 UTC

[GitHub] [dubbo] l42111996 opened a new issue #9206: 游戏中使用dubbo的一些疑问

l42111996 opened a new issue #9206:
URL: https://github.com/apache/dubbo/issues/9206


   <!-- If you need to report a security issue please visit https://github.com/apache/dubbo/security/policy -->
   
   - [ ] I have searched the [issues](https://github.com/apache/dubbo/issues) of this repository and believe that this is not a duplicate.
   
   ## Ask your question here
   我们想在游戏中使用dubbo,有个需求是要根据参数决定这个请求在指定的线程执行,比如同一个接口某些参数在固定的串行线程,某些在另一个,这种需求有什么好的解决方式吗?
   dubbo线程的Dispatcher在协议decode之前执行了这样在Dispatcher的时候取不到对应的参数
   


-- 
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: notifications-unsubscribe@dubbo.apache.org

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



---------------------------------------------------------------------
To unsubscribe, e-mail: notifications-unsubscribe@dubbo.apache.org
For additional commands, e-mail: notifications-help@dubbo.apache.org


[GitHub] [dubbo] l42111996 commented on issue #9206: 游戏中使用dubbo的一些疑问

Posted by GitBox <gi...@apache.org>.
l42111996 commented on issue #9206:
URL: https://github.com/apache/dubbo/issues/9206#issuecomment-963915713


   > 建议自己实现一个 Dispatcher
   
   感谢大佬提供的思想,我定义了一个dispatcher在里面提前decode了协议体也实现了对应的线程调用,但是配置了
   dubbo.provider.dispatcher=gameThreadPool 后provider启动没问题,对应的consumer端出现了找不到对应的dispatcher的exception,为什么会出现这个,这个应该怎么解决?
   
   No such extension org.apache.dubbo.remoting.Dispatcher by name gameThreadPool, no related exception was found, please check whether related SPI module is missing.


-- 
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: notifications-unsubscribe@dubbo.apache.org

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



---------------------------------------------------------------------
To unsubscribe, e-mail: notifications-unsubscribe@dubbo.apache.org
For additional commands, e-mail: notifications-help@dubbo.apache.org


[GitHub] [dubbo] AlbumenJ commented on issue #9206: 游戏中使用dubbo的一些疑问

Posted by GitBox <gi...@apache.org>.
AlbumenJ commented on issue #9206:
URL: https://github.com/apache/dubbo/issues/9206#issuecomment-963761499


   建议自己实现一个 Dispatcher


-- 
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: notifications-unsubscribe@dubbo.apache.org

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



---------------------------------------------------------------------
To unsubscribe, e-mail: notifications-unsubscribe@dubbo.apache.org
For additional commands, e-mail: notifications-help@dubbo.apache.org


[GitHub] [dubbo] AlbumenJ commented on issue #9206: 游戏中使用dubbo的一些疑问

Posted by GitBox <gi...@apache.org>.
AlbumenJ commented on issue #9206:
URL: https://github.com/apache/dubbo/issues/9206#issuecomment-963953326


   目前 dispatcher 这个参数确实有这个问题,消费端要独立重新指定下


-- 
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: notifications-unsubscribe@dubbo.apache.org

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



---------------------------------------------------------------------
To unsubscribe, e-mail: notifications-unsubscribe@dubbo.apache.org
For additional commands, e-mail: notifications-help@dubbo.apache.org


[GitHub] [dubbo] l42111996 closed issue #9206: 游戏中使用dubbo的一些疑问

Posted by GitBox <gi...@apache.org>.
l42111996 closed issue #9206:
URL: https://github.com/apache/dubbo/issues/9206


   


-- 
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: notifications-unsubscribe@dubbo.apache.org

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



---------------------------------------------------------------------
To unsubscribe, e-mail: notifications-unsubscribe@dubbo.apache.org
For additional commands, e-mail: notifications-help@dubbo.apache.org


[GitHub] [dubbo] l42111996 commented on issue #9206: 游戏中使用dubbo的一些疑问

Posted by GitBox <gi...@apache.org>.
l42111996 commented on issue #9206:
URL: https://github.com/apache/dubbo/issues/9206#issuecomment-963988491


   > 目前 dispatcher 这个参数确实有这个问题,消费端要独立重新指定下
   
   我只能在consumer端配置一个SPI文件指定 gameThreadPool=org.apache.dubbo.remoting.transport.dispatcher.message.MessageOnlyDispatcher
   绕过这个问题了,谢谢大佬


-- 
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: notifications-unsubscribe@dubbo.apache.org

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



---------------------------------------------------------------------
To unsubscribe, e-mail: notifications-unsubscribe@dubbo.apache.org
For additional commands, e-mail: notifications-help@dubbo.apache.org