google-cloud-rust
google-cloud-rust copied to clipboard
Implement subscriber
We need to implement the internals for the subscriber. I may spin out these tasks into their own issues, with more details.
- [x] Generate internals owned by sidekick
- [x] Introduce
LeaseStateto track at-least-once acks/nacks/leases - [ ] Introduce
Leasertrait to theLeaseState - [ ] Introduce lease loop task
- [ ] Add message expiration to
LeaseState - [ ] Add default leaser (actually sends RPCs)
- [x] Add keepalive task for stream
- [ ] Open subscribe stream
- [ ] Add real impl for
Handler - [ ] Add
MessagePoolabstraction (no ordering key support) - [ ] Add real impl for
Session - [ ] Add support for closing a session? (if not included in the above PR)