-
Notifications
You must be signed in to change notification settings - Fork 213
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[rust] implement pushconsumer (#767)
* [WIP] push consumer * add push consumer * use enum BackOffRetryPolicy * refactor to optimize struct of Client * add testcases * implement standard push consumer * fix typo * format code * add license * remove extra clones * flush queues when shutting down actors * use TryFrom trait to parse retry policy * optimize message parsing error * return option instead of result * fix code style * remove lifetime * save time on repeating Box * chore: update README doc, reflecting we are supporting push-consumer in Rust Signed-off-by: Zhanhui Li <[email protected]> * refactor pushconsumer * fix typo * fix format * use correct tokio_util version * log error on process assignments * fix tokio-util version * implement Debug trait for AckEntryItem * increase converage rate * optimize code structure * chore: test macos on macos-12 Signed-off-by: Zhanhui Li <[email protected]> * fix: upgrade MSRV to 1.70 as dependent crate home requires it Signed-off-by: Zhanhui Li <[email protected]> * fix: remove Cargo.lock.min Signed-off-by: Zhanhui Li <[email protected]> * fix: fix MSRV check Signed-off-by: Zhanhui Li <[email protected]> * fix: specify working-directory Signed-off-by: Zhanhui Li <[email protected]> * chore: make cargo-clippy pass Signed-off-by: Zhanhui Li <[email protected]> --------- Signed-off-by: Zhanhui Li <[email protected]> Co-authored-by: Zhanhui Li <[email protected]>
- Loading branch information
Showing
18 changed files
with
3,132 additions
and
2,808 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.