dubbo
dubbo copied to clipboard
Support native stream calls in generic call
- [x] I have searched the issues of this repository and believe that this is not a duplicate.
- [x] I have searched the release notes of this repository and believe that this is not a duplicate.
Describe the feature
In the traffic repaly scenario, we need to use the recorded request at that time to make a generic call. When an application uses a custom serialization, a lot of additional processing needs to be done before call. So I thought maybe Dubbo needs to support native stream in generic call.
#5928
I wonder if byte[] is enough. InputStream is not a good object to transfer on network.
It's enough for our use case, just like content-type=application/octet-stream
ref: https://en.wikipedia.org/wiki/Octet_(computing)