a30092c55e6745268328404a62825e5f9a5d77e7
Mongodb's driver currently queries the queue's collection to get queue id and then filter messages with it. Instead of storing the id, this patches stores the queue name and the project in the message collection and use that for querying messages. It's safe to assume that the queue exists when messages are returned by the query, however, posts operation will still verify queue's existence. Fixes bug: #1207018 Change-Id: Iaa7bc3f1300b3349a5cfad5a9f6ecabb2f75e95e
Marconi
Message queuing service for OpenStack
Running a local Marconi server with MongoDB
Start a MongoDB instance:
mongodClone the Marconi repo:
git clone https://github.com/stackforge/marconi.gitcd to your local copy of the repo
Copy the Marconi config files to the directory ~/.marconi:
cp -r marconi/etc/*.conf-sample ~/.marconi/marconi.confFind the
[drivers:storage:mongodb]section in ~/.marconi/marconi.conf and modify the URI to point to your local mongod instance:uri = mongodb://localhostRun 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 developStart the marconi server:
marconi-server
Description
Languages
Python
95.6%
PHP
1.8%
Shell
1.3%
HTML
0.9%
Lua
0.3%