brpc icon indicating copy to clipboard operation
brpc copied to clipboard

协议中能不能直接支持基于特殊分隔符的分包和基于包长的分包

Open goldgreatscode opened this issue 1 year ago • 1 comments

Is your feature request related to a problem? (你需要的功能是否与某个问题有关?) 这俩是比较常用的分包功能了

Describe the solution you'd like (描述你期望的解决方法) 默认协议中直接支持 配置即可

Describe alternatives you've considered (描述你想到的折衷方案)

Additional context/screenshots (更多上下文/截图)

goldgreatscode avatar Jul 25 '24 23:07 goldgreatscode

每种协议都有自己的规范,如果您想扩展实现自己的协议,可以参考这个文档:https://github.com/apache/brpc/blob/master/docs/cn/new_protocol.md

wwbmmm avatar Jul 26 '24 02:07 wwbmmm