Topic Name used as Queue Name for QPID Consumers
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
oslo.messaging |
Fix Released
|
Undecided
|
Mehdi Abaakouk |
Bug Description
Currently a couple of PowerVC Topic Consumers are directly using QPID client calls to subscribe and listen for messages sent to a given topic, but given the planned switch to RabbitMQ and the fact we might be in limbo for a while, these consumers were trying to switch to use oslo.messaging rather than direct QPID calls in order to minimize the churn when toggling back and forth .
When switching over though they ran into an issue where it seemed like only a subset of the messages were getting through. In debugging through this, it looks like the issue is that in the impl_qpid.py when it constructs a TopicConsumer, it is specifying the topic name as the "queue name" (if the queue name isn't passed in, which the way the oslo messaging code is setup it could never be passed in by the caller).
The problem with this is that it means that every consumer of a given topic would end up using the same queue in qpid, and since there is no requeueing support provided, this means that only the first one to read the message will get that message and no others will.
Changed in oslo.messaging: | |
assignee: | Ma Wen Cheng (mars914) → Terry Yao (yaohaif) |
Changed in oslo.messaging: | |
assignee: | Terry Yao (yaohaif) → Mehdi Abaakouk (sileht) |
Changed in oslo.messaging: | |
milestone: | none → 1.5.0 |
status: | Fix Committed → Fix Released |
Fix proposed to branch: master /review. openstack. org/113808
Review: https:/