New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Support streaming HttpBody proto? #5540
Comments
@npuichigo we don't have specific timeline to implement that. That is useful so if you're interested feel free to open a PR and I can help you with that. |
I tried to add the logic of httpbody streaming in grpc-gateway repo, and maybe I can try to implement that in envoy. (https://github.com/grpc-ecosystem/grpc-gateway/pull/1088/files) Can you give me some advice? |
Is this issue about this to-be-done part? envoy/source/extensions/filters/http/grpc_json_transcoder/json_transcoder_filter.cc Lines 521 to 525 in 404d73c
|
@lizan - ping, |
Yes, I think it is referring to support server streaming of HttpBody. But HttpBody has content-type, will we allow different content-type from different HttpBody? I don't think different chunk can have different content-type. |
Yep, I think it is suppose to be either:
As for workaround for "misbehaves" upstream - seems we can just ignore |
@belyalov yes the part of code you're referring is right.
I think this is fine, as long as we clearly document it. |
@belyalov Many thanks if you can help to fix this.😀 |
@lizan by the way, is this kind of transcoder can be directly used in ambassador or istio? |
…ming (envoyproxy#10673) Description: Add support for `httpBody` for response streaming use case. Risk Level: Low Testing: New unit / integration test Docs Changes: Added Release Notes: Added Fixes envoyproxy#5540 Signed-off-by: Konstantin Belyalov <arsenicus@mail.ru> Signed-off-by: pengg <pengg@google.com>
The support for handling google.api.HttpBody is cool, especially when I want to directly reply http response with audio
content_type
. I notice that streaming case is remained to be done, so may I ask you when will that be supported? It's really use for me in implementing speech synthesis because l can transfer large audio data to client by clipping them into audio clips with chunked audio/mp3content_type
.The text was updated successfully, but these errors were encountered: