[openstack-dev] [Quantum][Common] Private rpc methods / declare_topic_consumer

Eric Windisch eric at cloudscaling.com
Wed Sep 5 18:42:21 UTC 2012


After a bit of a distraction, I've returned to working on some Quantum compatibility testing, analysis, etc. in regard to ZeroMQ.

Currently, Quantum's NotificationDispatcher class uses connection.declare_topic_consumer which is not part of the standardized RPC abstraction. As such, it has not been implemented in the ZeroMQ driver.

The obvious choices are to make this a required part of the abstraction, implementing it in impl_fake and impl_zmq, or changing the behavior of Quantum.  Also, relatedly, this isn't the first time this has happened in a project, we should really look at prefixing these private functions with _.

I think if we had a method /like/ declare_topic_consumer available, we could see more asynchronous-style development in OpenStack. That could be a good thing. However, we might need further discussion and consensus on the queue_name argument, potentially removing it from the standardized form.

Thoughts?

Regards,
Eric Windisch





More information about the OpenStack-dev mailing list