Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/dancespiele/celery_consumer
Example of celery consumer
https://github.com/dancespiele/celery_consumer
Last synced: 5 days ago
JSON representation
Example of celery consumer
- Host: GitHub
- URL: https://github.com/dancespiele/celery_consumer
- Owner: dancespiele
- License: apache-2.0
- Created: 2020-11-21T22:48:02.000Z (almost 4 years ago)
- Default Branch: master
- Last Pushed: 2020-11-22T13:46:49.000Z (almost 4 years ago)
- Last Synced: 2024-10-10T05:35:23.930Z (28 days ago)
- Language: Rust
- Size: 16.6 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE.md
Awesome Lists containing this project
README
# Celery Consumer
This is an example of consumer with [Rust Celery](https://rusty-celery.github.io/) that save a completed task in [Sled](https://sled.rs/) database.
# how it works
1. Install [Rabbitmq](https://www.rabbitmq.com/)
2. Clone the project: `git clone https://github.com/dancespiele/celery_consumer.git`
3. Inside of the project directory add the .env file with the path of you Sled database:
```
SLED_URL=[YOUR SLED PATH]
AMPQ_ADDR=[YOUR AMPQ URL]
```4. Execute `cargo run`
5. Install the [Provider example](https://github.com/dancespiele/celery_provider) to see all the complete flow
## Do you like it?
If you liked, please help me to make more different examples in rust with:
- BAT rewards in case that you use [Brave Browser](https://brave.com/)
- [Github Sponsors](https://github.com/sponsors/dancespiele)
- Burst coins to the address BURST-DPN6-2AT3-FCRL-9BBKG## License
Celery consumer is [Apache-2.0](LICENSE.md) licensed