googleapis / googleapis/google-cloud-rust

Ideal exactly-once + `NackImmediately` shutdown behavior

Open
#5,109 0 comments 0 reactions 0 assignees View on GitHub
api: pubsub type: cleanup
Dominant language
Rust
Stars
955
Forks
144
Avg merge
1d 5h
Merged PRs (30d)
279

Description

Ideally for exactly-once messages, if the client is configured to `NackImmediately`, it should:

- flush all pending acks
- await all pending ack RPCs

The client should not retry transient errors for an acknowledge RPC after shutdown.

---

This is a nice to have. The current behavior is well-defined. It could just be more helpful by returning fewer `Shutdown` errors, where the application does not know if acks were successful or not.

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.