3067dbd198
The main issue with eventlet.green.zmq is that libzmq as a C-library is completely monkey-patch unfriendly. So any blocking call inside the native library makes calling process stuck. We can't avoid this actually in an absolutely normal situation when a client appears earlier than listener we have all client process get stuck until listener raised. If the listener for example is also blocked awaiting for some other service to appear we have a chain of locks which may occasionally result in a dead-lock. The other situation with Notifier is quite similar. For that reason zmq-broker was restored, but now it serves as an outgoing queue on a client side. Servers remained the same dynamically port-binded. Now all clients can still use green-zmq, but presence of the broker-queue on a host guarantees that green threads will never blocked in a client because all messages will wait their listeners inside the broker queue. The broker process's modules are not monkey-patched, they make use of native threading and native zmq. Possibility to run without broker also remains. The option zmq_use_broker introduced for that reason. Closes-Bug: #1497315 Change-Id: I786b100fd6ee1cf4b99139db0ca044d358d36345
85 lines
2.6 KiB
INI
85 lines
2.6 KiB
INI
[metadata]
|
|
name = oslo.messaging
|
|
author = OpenStack
|
|
author-email = openstack-dev@lists.openstack.org
|
|
summary = Oslo Messaging API
|
|
description-file =
|
|
README.rst
|
|
home-page = https://launchpad.net/oslo
|
|
classifier =
|
|
Development Status :: 4 - Beta
|
|
Environment :: OpenStack
|
|
Intended Audience :: Developers
|
|
Intended Audience :: Information Technology
|
|
License :: OSI Approved :: Apache Software License
|
|
Operating System :: OS Independent
|
|
Programming Language :: Python
|
|
Programming Language :: Python :: 2.7
|
|
|
|
[files]
|
|
packages =
|
|
oslo_messaging
|
|
|
|
[entry_points]
|
|
console_scripts =
|
|
oslo-messaging-zmq-broker = oslo_messaging._cmd.zmq_broker:main
|
|
|
|
oslo.messaging.drivers =
|
|
rabbit = oslo_messaging._drivers.impl_rabbit:RabbitDriver
|
|
qpid = oslo_messaging._drivers.impl_qpid:QpidDriver
|
|
zmq = oslo_messaging._drivers.impl_zmq:ZmqDriver
|
|
amqp = oslo_messaging._drivers.protocols.amqp.driver:ProtonDriver
|
|
|
|
# To avoid confusion
|
|
kombu = oslo_messaging._drivers.impl_rabbit:RabbitDriver
|
|
|
|
# This is just for internal testing
|
|
fake = oslo_messaging._drivers.impl_fake:FakeDriver
|
|
|
|
oslo.messaging.executors =
|
|
aioeventlet = oslo_messaging._executors.impl_aioeventlet:AsyncioEventletExecutor
|
|
blocking = oslo_messaging._executors.impl_blocking:BlockingExecutor
|
|
eventlet = oslo_messaging._executors.impl_eventlet:EventletExecutor
|
|
threading = oslo_messaging._executors.impl_thread:ThreadExecutor
|
|
|
|
oslo.messaging.notify.drivers =
|
|
messagingv2 = oslo_messaging.notify._impl_messaging:MessagingV2Driver
|
|
messaging = oslo_messaging.notify._impl_messaging:MessagingDriver
|
|
log = oslo_messaging.notify._impl_log:LogDriver
|
|
test = oslo_messaging.notify._impl_test:TestDriver
|
|
noop = oslo_messaging.notify._impl_noop:NoOpDriver
|
|
routing = oslo_messaging.notify._impl_routing:RoutingDriver
|
|
|
|
oslo.messaging.zmq.matchmaker =
|
|
# Matchmakers for ZeroMQ
|
|
dummy = oslo_messaging._drivers.zmq_driver.matchmaker.base:DummyMatchMaker
|
|
redis = oslo_messaging._drivers.zmq_driver.matchmaker.matchmaker_redis:RedisMatchMaker
|
|
|
|
oslo.config.opts =
|
|
oslo.messaging = oslo_messaging.opts:list_opts
|
|
|
|
[build_sphinx]
|
|
source-dir = doc/source
|
|
build-dir = doc/build
|
|
all_files = 1
|
|
|
|
[upload_sphinx]
|
|
upload-dir = doc/build/html
|
|
|
|
[compile_catalog]
|
|
directory = oslo.messaging/locale
|
|
domain = oslo.messaging
|
|
|
|
[update_catalog]
|
|
domain = oslo.messaging
|
|
output_dir = oslo.messaging/locale
|
|
input_file = oslo.messaging/locale/oslo.messaging.pot
|
|
|
|
[extract_messages]
|
|
keywords = _ gettext ngettext l_ lazy_gettext
|
|
mapping_file = babel.cfg
|
|
output_file = oslo.messaging/locale/oslo.messaging.pot
|
|
|
|
[pbr]
|
|
warnerrors = true
|