[zeromq-dev] OpenStack cloud API

Martin Sustrik sustrik at 250bpm.com
Tue Aug 3 13:58:40 CEST 2010

Pieter Hintjens wrote:
> On Tue, Aug 3, 2010 at 9:22 AM, Martin Sustrik <sustrik at 250bpm.com> wrote:
>> I'm going to write a simple 0MQ/AMQP adapter shortly so 0MQ applications
>> will be able to join the OpenStack message bus easily (there's RabbitMQ
>> running at it's core).
> From the architecture diagrams it's not clear how far applications
> need to speak AMQP; OpenStack provides an API that abstracts the
> internals.  From looking at the source code, it's a work in progress,
> and I don't see anything about nodes let alone AMQP.

Quite possible. I haven't looked into it in detail.

> An 0MQ/AMQP adaptor would be useful in any case; the code is well
> known. Presumably AMQP/0.9.1?

Yes. 0-9-1. It'll allow to use 0MQ as a client for existing AMQP 
deployments. Also, it allows to interject an AMQP-enabled broker, say 
RabbitMQ in-between 0MQ applications to provide persistence and increase 
manageability (monitoring queue sizes etc.)

>> 2. The examples should be in C given that accompanying text uses C API.
> It's a deliberate choice to make examples in random languages to
> emphasize that 0MQ has a single cross-language API.

On the other hand showing C++ code and discussing C functions is bound 
to be confusing.

Showing examples in different languages is important, however, it should 
be done in more controlled manner IMO.


More information about the zeromq-dev mailing list