GithubHelp home page GithubHelp logo

rickhanlonii / declare-amqp Goto Github PK

View Code? Open in Web Editor NEW

This project forked from seatgeek/declare-amqp

0.0 2.0 0.0 97 KB

A standalone declarable configuration for AMQP exchanges, queues, and bindings.

declare-amqp's Introduction

Declare AMQP

A way to declare your exchanges, queues, and bindings outside of the application

Installing

pip install declare-amqp

Declaration

You can see the extend of configuration in the example_config.yml file. All fields used are currently required except for the arguments on exchanges.

exchanges:
  - name: example_exchange
    type: direct
    durable: True
    auto_delete: False
    arguments:
      alternate-exchange: your_alternate_exchange

queues:
  - name: test_queue
    auto_delete: False
    durable: True
    bindings:
      - exchange: example_exchange
        binding_key: test_binding

When I have the need for them exchange-to-exchange bindings will be added.

Running

ENVVARS

AMQP_HOST (default: localhost)

AMQP_USER (default: guest)

AMQP_PASS (default: guest)

AMQP_VHOST(default: /)

CLI

Once you have set the envvars you are set to run declare-amqp

declare-amqp --config your_config.yml

declare-amqp's People

Contributors

philipcristiano avatar

Watchers

 avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.