diff --git a/doc/source/zmq_driver.rst b/doc/source/zmq_driver.rst index a1de898c6..eff2bf3ce 100644 --- a/doc/source/zmq_driver.rst +++ b/doc/source/zmq_driver.rst @@ -197,16 +197,6 @@ The parameters for the script oslo-messaging-zmq-receiver should be:: You can specify ZeroMQ options in /etc/oslo/zeromq.conf if necessary. -Listening Ports (mandatory) ---------------------------- - -The ZeroMQ driver uses TCP to communicate. The port is configured with -'rpc_zmq_port' in [DEFAULT] section of each project, which defaults to 9501. - -For example:: - - rpc_zmq_port = 9501 - Thread Pool (optional) ----------------------- diff --git a/oslo_messaging/_drivers/impl_zmq.py b/oslo_messaging/_drivers/impl_zmq.py index 0213bdaf9..f91c34166 100644 --- a/oslo_messaging/_drivers/impl_zmq.py +++ b/oslo_messaging/_drivers/impl_zmq.py @@ -52,10 +52,6 @@ zmq_opts = [ cfg.StrOpt('rpc_zmq_concurrency', default='eventlet', help='Type of concurrency used. Either "native" or "eventlet"'), - # The following port is unassigned by IANA as of 2012-05-21 - cfg.IntOpt('rpc_zmq_port', default=9501, - help='ZeroMQ receiver listening port.'), - cfg.IntOpt('rpc_zmq_contexts', default=1, help='Number of ZeroMQ contexts, defaults to 1.'),