Skip to content

Latest commit

 

History

History
39 lines (24 loc) · 1.18 KB

README.md

File metadata and controls

39 lines (24 loc) · 1.18 KB

Celery Provider

This is an example of provider with Rust Celery and Warp which will get the complete result task from Sled database.

how it works

  1. Install Rabbitmq

  2. Clone the project: git clone https://github.com/dancespiele/celery_provider.git

  3. Inside of the project directory add the .env file with the path of you Sled database (notice that it will be sharing with the consumer):

SLED_URL=[YOUR SLED PATH]
AMPQ_ADDR=[YOUR AMPQ URL]
  1. Execute cargo run

  2. Run the Consumer example example to see all the complete flow

  3. Execute this curl

curl --location --request GET 'http://localhost:3000/hello' \
--header 'Content-Type: application/json'

Do you like it?

If you liked, please help me to make more different examples in rust with:

License

Celery consumer is Apache-2.0 licensed