David Pedersen
David Pedersen
I don't know for sure but feels like it could be related to server to client (or bidirectional) streams. So the client is able to receive data from the server.
Making the requests themselves Clone is hard due to streaming. There are tricks you can pull like buffering the http_body::Body as it's being generated and then "replay" it when retrying....
> Can client generator be customizable so that non-streaming APIs can have this type of retry integration? No I don't think so. http2 is always streaming whether you want to...
> Can you explain why is it a bad idea to store request behind an Arc, making it clonable without having to clone it? Prost requires owned buffers for encoding....
I would love for tonic to support tower::retry out of the box. I just don't know how to make it work 😞 But we should keep the issue open. EDIT:...
And cors can be done with https://docs.rs/tower-http/0.3.4/tower_http/cors/index.html
Async interceptors currently requires writing a tower service middleware. Several people have asked about it so probably does make sense to have a convenient API for 😊
The paths are actually passed directly to prost. That is done [here](https://github.com/hyperium/tonic/blob/master/tonic-build/src/prost.rs#L369). So perhaps it would be better to add glob support there. Would you mind filing an issue with...
I'm also having issues with this. Any possible solutions?
> In the past when I've built something similar, the topic subscribed to was frequent enough that the lack of a message after x seconds would send an alert Neat...