
In the function{ClaimController:create} for mongodb backend, there is an error when a message is inserted to the dead letter queue.Because a mongodb collection(messages) is shared by many queues, we need to delete first and then insert, otherwise insert_one will cause the following error: pymongo.errors.DuplicateKeyError: insertDocument :: caused by :: 11000 E11000 duplicate key error index: admin.test.$_id_ dup key: { : ObjectId('xxxxxxxxxxxxxxxxxxxxxx') } Depends-On: I1ee88a8963e2bc80172710da5ab60313952495e4 Depends-On: I8c3642f3883ecc68853735636fc3a748b9c780b6 Closes-Bug: #1707814 Change-Id: If7824d135ecd6999716954e6fa4fa000434c4ed4
Team and repository tags
Zaqar
Zaqar is a multi-tenant cloud messaging and notification service for web and mobile developers. It combines the ideas pioneered by Amazon's SQS product with additional semantics to support event broadcasting.
The service features a fully RESTful API, which developers can use to send messages between various components of their SaaS and mobile applications, by using a variety of communication patterns. Underlying this API is an efficient messaging engine designed with scalability and security in mind.
Other OpenStack components can integrate with Zaqar to surface events to end users and to communicate with guest agents that run in the "over-cloud" layer. Cloud operators can leverage Zaqar to provide equivalents of SQS and SNS to their customers.
General information is available in wiki:
The API v2.0 (stable) specification and documentation are available at:
Zaqar's Documentation, the source of which is in
doc/source/
, is available at:
Contributors are encouraged to join IRC
(#openstack-zaqar
channel on
irc.freenode.net
):
Information on how to run unit and functional tests is available at:
Information on how to run benchmarking tool is available at:
https://docs.openstack.org/zaqar/admin/running_benchmark.html
Using Zaqar
If you are new to Zaqar and just want to try it, you can set up Zaqar in the development environment.
Using Zaqar in production environment:
Coming soon!
Using Zaqar in development environment:
The instruction is available at:
https://docs.openstack.org/zaqar/contributor/development.environment.html
This will allow you to run local Zaqar server with MongoDB as database.
This way is the easiest, quickest and most suitable for beginners.