manhunto / webhooks-rs Goto Github PK
View Code? Open in Web Editor NEWConfigurable webhooks engine with retry policy and circuit breaker written in rust. Includes server + sdk + cli
License: MIT License
Configurable webhooks engine with retry policy and circuit breaker written in rust. Includes server + sdk + cli
License: MIT License
In dispatcher.rs
, reject messages that have been dispatched to the disabled endpoint. This is possible due to the retry policy, etc.
It cannot be implemented now because no persistence is implemented (database to fetch endpoint status).
Add a simple retry policy in case message delivery fails. For example queue again message with 5 sec delay and max 5 attempts.
It doesn't work, probably due to running in container and POSTGRES_HOST should be postgres instead of localhost.
example: just run-cli application create 'from cli'
error: unexpected argument 'cli' found
Usage: cli application create <NAME>
For more information, try '--help'.
error: Recipe `run-cli` failed on line 50 with exit code 2
Example: https://github.com/manhunto/webhooks-rs/actions/runs/9245972212/job/25432991441
cargo +nightly-2024-05-18 udeps --all-targets
shell: sh -e {0}
env:
CARGO_TERM_COLOR: always
RUSTFLAGS: -Dwarnings
NIGHTLY_VERSION: nightly-202[4](https://github.com/manhunto/webhooks-rs/actions/runs/9245972212/job/25432991441#step:7:4)-05-18
CACHE_ON_FAILURE: false
CARGO_INCREMENTAL: 0
Updating crates.io index
error: failed to get `clap` as a dependency of package `cli v0.1.0 (/__w/webhooks-rs/webhooks-rs/cli)`
Caused by:
download of config.json failed
Caused by:
failed to download from `https://index.crates.io/config.json`
Caused by:
[[6](https://github.com/manhunto/webhooks-rs/actions/runs/9245972212/job/25432991441#step:7:6)0] SSL peer certificate or SSH remote key was not OK (SSL certificate problem: unable to get local issuer certificate)
Error: Process completed with exit code [10](https://github.com/manhunto/webhooks-rs/actions/runs/9245972212/job/25432991441#step:7:11)1.
webhooks-rs/server/src/configuration/domain.rs
Lines 53 to 61 in a8703e3
Endpoint::new
should return ResultA declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.