Skip to content

dancespiele/celery_provider

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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

About

Example of Celery Provide with Warp

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages