Skip to content

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

RabbitMQ Task Processing System with Keycloak Authentication

This project is a task processing system where tasks are sent to a RabbitMQ queue and workers consume these tasks to perform various operations. The communication between the task producer and the worker is secured using OAuth 2 authentication with Keycloak.

Setup Instructions

  1. Clone the repository:

    git clone https://github.com/githubnext/workspace-blank.git
    cd workspace-blank
  2. Create a virtual environment and activate it:

    python3 -m venv venv
    source venv/bin/activate
  3. Install the required dependencies:

    pip install -r requirements.txt
  4. Configure RabbitMQ and Keycloak settings in config.py.

Usage Instructions

  1. Start the RabbitMQ server.

  2. Run the producer to send tasks to the RabbitMQ queue:

    python producer.py
  3. Run the worker to consume tasks from the RabbitMQ queue and process them:

    python worker.py
  4. Monitor task status and retry failed tasks using:

    python monitor.py

About

A repository for a task processing system with RabbitMQ and Keycloak

Resources

Stars

0 stars

Watchers

1 watching

Forks

Releases

Packages

Contributors

Languages