Enable 'auto_delete' of queue's property configurable

Bug #1157763 reported by Alex Xu
10
This bug affects 1 person
Affects Status Importance Assigned to Milestone
oslo.messaging
Won't Fix
Wishlist
Unassigned

Bug Description

Currently TopicConsumer and TopicPublisher declare exchange and queue as auto_delete = False by hardcode. We can enable 'auto_delete' configurable, that used to prevent publisher's rpc messages flood consumer. The reason was if consumer startup later then publisher, the queue will buffer all the message that sent by publisher. After publisher startup, all message that buffered in queue will send to publisher immediately, that may flood the publisher.

qpid didn't have this problem, because qpid backend set auto-delete as default.

So there is inconsistent between qpid and rabbitmq.

Tags: qpid
Alex Xu (xuhj)
Changed in oslo:
assignee: nobody → Alex Xu (xuhj)
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to oslo-incubator (master)

Fix proposed to branch: master
Review: https://review.openstack.org/24904

Changed in oslo:
status: New → In Progress
Revision history for this message
Mark McLoughlin (markmc) wrote :

Should it really be configurable, or is it that it should be enabled?

Revision history for this message
Doug Hellmann (doug-hellmann) wrote :

This doesn't seem like something the deployer needs to control, especially since whether it should be enabled depends on the topic. For example, ceilometer would never want notifications discarded.

Revision history for this message
Alex Xu (xuhj) wrote :

qpid backend have already enabled auto-delete. If we shouldn't enable this, there will be a bug for qpid.

Alex Xu (xuhj)
description: updated
Revision history for this message
Doug Hellmann (doug-hellmann) wrote :

I agree that qpid and Korbut should act the same way. I don't think that requires adding a configuration setting, though. It is not clear why the user would ever change the setting.

Alex Xu (xuhj)
Changed in oslo:
assignee: Alex Xu (xuhj) → nobody
status: In Progress → New
Changed in oslo:
importance: Undecided → Wishlist
status: New → Triaged
affects: oslo-incubator → oslo.messaging
Revision history for this message
Alexey Khivin (akhivin) wrote :
Mehdi Abaakouk (sileht)
Changed in oslo.messaging:
status: Triaged → Won't Fix
tags: added: qpid
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.