TangSiyang2001 opened a new issue, #2145:
URL: https://github.com/apache/brpc/issues/2145

   **Is your feature request related to a problem? (你需要的功能是否与某个问题有关?)**
   
   Apache Doris currently supports `stream load` feature with `http`, which 
transmits large size (1-10G) of data progressively from user's client to doris' 
BE http server (currently implemented with `libevent` and is planned to be 
replaced by `brpc`).
   
   According to #1217 and its related issue, brpc needs the feature of this 
kind.
   
   **Describe the solution you'd like (描述你期望的解决方法)**
   
   1. We need a server end reader just like what the current `http client` 
does, 
![see](https://github.com/apache/brpc/blob/b569fad719334abc0d54db3fd563f4fd7b1d8abc/docs/cn/http_client.md#%E6%8C%81%E7%BB%AD%E4%B8%8B%E8%BD%BD).
   2. For the reason that `stream load` requires some pre-check once all the 
http headers are recieved, and stops the transmition if the pre-check is 
failed, we need a user-defined callback interface to control the reading 
process of the progressive reader.
   
   **Describe alternatives you've considered (描述你想到的折衷方案)**
   Imitates and implement a progressive reader for http server.
   
   **Additional context/screenshots (更多上下文/截图)**
   issue: #1217
   doris issue: https://github.com/apache/doris/issues/16087
   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to