Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/megaads-vn/restq
Cool message queue server uses HTTP Gateway
https://github.com/megaads-vn/restq
Last synced: 10 days ago
JSON representation
Cool message queue server uses HTTP Gateway
- Host: GitHub
- URL: https://github.com/megaads-vn/restq
- Owner: megaads-vn
- License: mit
- Created: 2022-03-30T08:34:48.000Z (almost 3 years ago)
- Default Branch: main
- Last Pushed: 2024-11-22T08:47:48.000Z (about 2 months ago)
- Last Synced: 2024-11-22T09:19:48.355Z (about 2 months ago)
- Language: JavaScript
- Homepage:
- Size: 194 KB
- Stars: 2
- Watchers: 6
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# RestQ
Cool message queue server uses HTTP Gateway
## Usage:
1. You need to contact our contributors to configure consumers in restQ, so that restQ can deliver your request to the producer you want
2. Instead of sending a request directly to an endpoint, you can send it to restQ, restQ will queue it and will send the request to the endpoint.- Example:
- You send request to endpoint: ```api-domain.com/api/send-request```
- You send request to restQ: ```restQ-domain.com/api/send-request```
## Request data options:
**1. `is_callback`, `postback_url`**
- ```is_callback = 0```: not wait for returning
- ```is_callback = 1 (default)```:
- ```postback_url is empty (default)```: wait for the result to return itself
- ```postback_url is not empty```: wait for the result to return it to postback_url
**2. `priority`**: Priority of request.
- 0 is default
- Value is between 0 and 99
- larger numbers indicate higher priority**2. `delay`**: Delay time in seconds. 0 is default