liumh8 opened a new issue #1115: URL: https://github.com/apache/incubator-brpc/issues/1115
**Is your feature request related to a problem? (你需要的功能是否与某个问题有关?)** 在我的场景中,每个redis命令的CommandHandler逻辑一样(调用一个相同的接口来处理所有命令)。那么每个命令还是都要AddCommandHandler一次。 **Describe the solution you'd like (描述你期望的解决方法)** 增加一个AddDefaultHandler接口. 找不到[CommandHandler](https://github.com/apache/incubator-brpc/blob/a3b22660096c4f00cfdffc7571063603ccb5a428/src/brpc/policy/redis_protocol.cpp#L93)时调用。这样只要AddDefaultHandler一次,就能处理所有命令。 **Describe alternatives you've considered (描述你想到的折衷方案)** **Additional context/screenshots (更多上下文/截图)** ---------------------------------------------------------------- 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: [email protected] --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
