sofastack / sofa-bolt

SOFABolt is a lightweight, easy to use and high performance remoting framework based on Netty.
https://www.sofastack.tech/projects/sofa-bolt/
Apache License 2.0
2.42k stars 860 forks source link

Can I use the 808 protocol on sofa-bolt? #179

Closed jewin closed 4 years ago

jewin commented 5 years ago

Your question

计划在sofa-bolt上使用808协议,请问除了替换编解码协议以外,还需要做哪些工作呢?

Your scenes

describe your use scenes (why need this feature)

Your advice

describe the advice or solution you'd like

Environment

sofastack-bot[bot] commented 5 years ago

Hi @jewin, we detect non-English characters in the issue. This comment is an auto translation by @sofastack-robot to help other users to understand this issue.

We encourage you to describe your issue in English which is more friendly to other users.

Your question Plan to use the 808 protocol on sofa-bolt. What else do you need to do in addition to replacing the codec protocol? ### Your scenes describe your use scenes (why need this feature) ### Your advice describe the advice or solution you'd like ### Environment - SOFABolt version: - JVM version (eg java -version): jdk8 - OS version (eg uname -a): - Maven version: - IDE version:

dbl-x commented 4 years ago

@jewin 目前Bolt集成了一个比较通用的,进过多年验证的协议,推荐使用。Bolt目前对用户使用特定其他的协议的支持还不是很友好,需要通过修改比较多的源码才能实现。

calebzhao commented 4 years ago

这个要改很多的扩展,我以前也是有自定义协议的需求(老系统原来是.net写的),改过相当多的代码,你可以看看我去年改的, https://gitee.com/passion/netty-protocol-skd.git src\main\test里有测试代码

jewin commented 4 years ago

3q,这个场景已经通过自定义扩展完成了。