google-cloud-rust icon indicating copy to clipboard operation
google-cloud-rust copied to clipboard

Implement subscriber

Open dbolduc opened this issue 1 month ago • 0 comments

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 LeaseState to track at-least-once acks/nacks/leases
  • [ ] Introduce Leaser trait to the LeaseState
  • [ ] 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 MessagePool abstraction (no ordering key support)
  • [ ] Add real impl for Session
  • [ ] Add support for closing a session? (if not included in the above PR)

dbolduc avatar Dec 02 '25 16:12 dbolduc