diff options
author | Zuul <zuul@review.opendev.org> | 2021-02-01 16:47:19 +0000 |
---|---|---|
committer | Gerrit Code Review <review@openstack.org> | 2021-02-01 16:47:19 +0000 |
commit | e18553f5058ef6fd1200ac76e1f8e548afb1c043 (patch) | |
tree | 9254bcddcc81df00e9de922951535742fea7fb43 | |
parent | 0e7ac7d29e36a0d0496ca1886d869ab62c851c38 (diff) | |
parent | 2b89d97888c9b6cd8b4f23e5ae7ce3103d5f9e5b (diff) | |
download | oslo-messaging-e18553f5058ef6fd1200ac76e1f8e548afb1c043.tar.gz |
Merge "Deprecate the mandatory flag"12.7.0
-rw-r--r-- | oslo_messaging/_drivers/impl_rabbit.py | 10 | ||||
-rw-r--r-- | releasenotes/notes/disable-mandatory-flag-a6210a534f3853f0.yaml | 5 |
2 files changed, 12 insertions, 3 deletions
diff --git a/oslo_messaging/_drivers/impl_rabbit.py b/oslo_messaging/_drivers/impl_rabbit.py index ec5cda9..0d7673e 100644 --- a/oslo_messaging/_drivers/impl_rabbit.py +++ b/oslo_messaging/_drivers/impl_rabbit.py @@ -171,10 +171,14 @@ rabbit_opts = [ 'we check the heartbeat.'), cfg.BoolOpt('direct_mandatory_flag', default=True, - help='Enable/Disable the RabbitMQ mandatory flag ' - 'for direct send. The direct send is used as reply, ' + deprecated_for_removal=True, + deprecated_reason='Mandatory flag no longer deactivable.', + help='(DEPRECATED) Enable/Disable the RabbitMQ mandatory ' + 'flag for direct send. The direct send is used as reply, ' 'so the MessageUndeliverable exception is raised ' - 'in case the client queue does not exist.'), + 'in case the client queue does not exist.' + 'This flag is deprecated and it will not be possible to ' + 'deactivate this functionality anymore'), cfg.BoolOpt('enable_cancel_on_failover', default=False, help="Enable x-cancel-on-ha-failover flag so that " diff --git a/releasenotes/notes/disable-mandatory-flag-a6210a534f3853f0.yaml b/releasenotes/notes/disable-mandatory-flag-a6210a534f3853f0.yaml new file mode 100644 index 0000000..3c14aad --- /dev/null +++ b/releasenotes/notes/disable-mandatory-flag-a6210a534f3853f0.yaml @@ -0,0 +1,5 @@ +--- +upgrade: + - | + Deprecating the ``direct_mandatory_flag``. It will not be possible to + deactivate this functionality anymore. |