OpenStack Messaging (Zaqar)
Go to file
Alejandro Cabrera 030c309476 feat: marconi proxy
This patchset introduces the marconi-proxy service. The service makes
it possible to abstract marconi deployments into partitions, as
defined in the referenced blue print.

This reference implementation uses falcon to manage WSGI aspects,
redis for catalogue storage, and recommends gunicorn or uwsgi as the
server.

Includes:
- registering partitions
- cataloguing queues
- forwarding requests to the appropriate marconi partitions
- round-robin selection of partition nodes
- weighted selection of partitions at queue creation time
- queue listing w/ metadata (GET /v1/queues?detailed=true)

Still needed, working on:
- unit tests

A few things that will be handled in later patchsets
- queue metadata handling + metadata endpoint (2)
- request forwarding to marconi (3)
- hierarchical caching with authoritative persistent storage (4)
- regeneration of the catalogue from authoritative cache (5)

Change-Id: I5dabc92497f3edf5bc32d58c8a2c4e43ff9833a3
Implements: blueprint placement-service
2013-09-17 11:03:34 -04:00
etc feat(storage): configurable default paging size 2013-09-05 13:43:16 -05:00
marconi feat: marconi proxy 2013-09-17 11:03:34 -04:00
tests Change Marconi's codebase structure 2013-09-17 14:49:24 +02:00
.coveragerc Suppress some Coverage report output 2013-03-29 16:07:20 -04:00
.gitignore Ignore *.egg dirs 2013-08-14 16:10:08 -05:00
.gitreview Update .gitreview for incubation org move 2013-09-14 17:44:26 +00:00
AUTHORS.rst refactor: Rename AUTHORS so that it doesn't keep getting overwritten 2013-03-19 16:33:43 -04:00
HACKING.rst Use format instead of % for string formatting 2013-09-10 15:49:43 +02:00
MANIFEST.in Initial import. 2012-11-01 09:52:20 +01:00
openstack-common.conf chore: Update openstack.common, add lockutils 2013-08-29 14:49:36 -05:00
README.rst Update README and make it more explicit 2013-07-10 20:40:20 +02:00
requirements.txt chore: Update Falcon dep to allow version 0.1.7 2013-09-16 12:20:02 -05:00
setup.cfg Change Marconi's codebase structure 2013-09-17 14:49:24 +02:00
setup.py Migrate to pbr 2013-06-14 14:14:42 +02:00
test-requirements.txt Run functional tests under tox 2013-09-10 11:39:51 +02:00
tox.ini Make tox use develop instead of sdist 2013-09-05 17:12:13 +02:00

Marconi

Message queuing service for OpenStack

Running a local Marconi server with MongoDB

  1. Install MongoDB

  2. Start a MongoDB instance:

    mongod
  3. Clone the Marconi repo:

    git clone https://github.com/stackforge/marconi.git
  4. cd to your local copy of the repo

  5. Copy the Marconi config files to the directory ~/.marconi:

    cp -r marconi/etc/*.conf-sample ~/.marconi/marconi.conf
  6. Find the [drivers:storage:mongodb] section in ~/.marconi/marconi.conf and modify the URI to point to your local mongod instance:

    uri = mongodb://localhost
  7. Run the following so you can see the results of any changes you make to the code, without having to reinstall the package each time:

    python setup.py develop
  8. Start the marconi server:

    marconi-server