Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

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

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