9c7036ff4eaa093e72a9dfa5b0c2301f576d1d38
This patch adds shard management capability to the queues mongodb driver. The storage API is also correctly split into an control and data interfaces. The data drivers are loaded by default. The control drivers are loaded as needed by the transport layer. Unit tests are also provided to verify that the driver (and future drivers) work as expected. Change-Id: Iad034a429a763c9a2ce161f05c928b090ab58944 Partially-implements: blueprint storage-sharding Partially-Closes: 1241686
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/openstack/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-queues.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:
pip install -e .Start the marconi server:
marconi-server
Description
Languages
Python
95.6%
PHP
1.8%
Shell
1.3%
HTML
0.9%
Lua
0.3%