dubbo icon indicating copy to clipboard operation
dubbo copied to clipboard

Support native stream calls in generic call

Open mr3 opened this issue 2 years ago • 3 comments

  • [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.

mr3 avatar Sep 24 '23 14:09 mr3

#5928

mr3 avatar Sep 25 '23 04:09 mr3

I wonder if byte[] is enough. InputStream is not a good object to transfer on network.

AlbumenJ avatar Sep 25 '23 11:09 AlbumenJ

It's enough for our use case, just like content-type=application/octet-stream

ref: https://en.wikipedia.org/wiki/Octet_(computing)

mr3 avatar Sep 25 '23 12:09 mr3