Skip to content

yutiansut/Actix-Job-Worker

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

21 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Actix-Job-Worker

Content

Introduction

An event-driven job-worker that runs background jobs on receiving messages from RabbitMQ.

Basically it is based on Actix and Amiquip.

Lapin is not considered because I want a simple approach with minimal black-magic.

This can be used as a template for quick application scaffolding.

Planning to make 2 templates out of this:

  • An atix-job-worker working with a single amqp broker - single consumer, one exchange one queue , from one single connection
  • Multi-Brokers (WIP)

Setup

Install dependencies

$ cargo check

Refer to .env for environment config, make any adjustment if neccesary

Run the app

$ cargo run

About

actix job worker with rabbitmq example

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Rust 100.0%