alexkcode / flask-webhook-listener-producer

Webhook listener on flask that pushes messages to RabbitMQ

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Install and Docker Setup

Prerequisites

  • Docker
    • Install using official instructions
  • Docker-Compose
    • Install using official instructions

Code Deployment

  • Run docker-compose up -d to build the container and run the container in background mode.
  • Go to http://localhost:5000 in a web browser. If it shows "OK" the code has been deployed successfully.

Message Brokering

Authorization

Message authorization is based on plain text credentials, i.e. send the message with the correct username and password.

Routing

Queues will be automatically created based on a queue attribute in the message JSON. Any messages with that same value for queue will then be routed to the queue of the same name.

About

Webhook listener on flask that pushes messages to RabbitMQ

License:MIT License


Languages

Language:Python 77.3%Language:Dockerfile 22.7%