brpc
brpc copied to clipboard
协议中能不能直接支持基于特殊分隔符的分包和基于包长的分包
Is your feature request related to a problem? (你需要的功能是否与某个问题有关?) 这俩是比较常用的分包功能了
Describe the solution you'd like (描述你期望的解决方法) 默认协议中直接支持 配置即可
Describe alternatives you've considered (描述你想到的折衷方案) 无
Additional context/screenshots (更多上下文/截图) 无
每种协议都有自己的规范,如果您想扩展实现自己的协议,可以参考这个文档:https://github.com/apache/brpc/blob/master/docs/cn/new_protocol.md