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.43k stars 861 forks source link

Supports custom netty ChannelDuplexHandler #83

Open killme2008 opened 6 years ago

killme2008 commented 6 years ago

Is your feature request related to a problem? Please describe.

I want to implement the protocol in HTTP pipeline semantic, just like

https://github.com/spinscale/netty4-http-pipelining/blob/master/src/main/java/de/spinscale/netty/http/pipelining/HttpPipeliningHandler.java

But there is no way to add a such custom ChannelDuplexHandler to netty under bolt framework.

Describe the solution you'd like

  1. Supports user custom netty ChannelDuplexHandler to be added.
  2. Or a bolt pipeline handler to be extendted that wraps netty handler, do not export netty directly.

Describe alternatives you've considered A clear and concise description of any alternative solutions or features you've considered.

Additional context Add any other context or screenshots about the feature request here.

Viyond commented 6 years ago

focus..