| Summary: | mgsGroups: messages can be dequeued in different order than they were produced using one consumer | ||||||
|---|---|---|---|---|---|---|---|
| Product: | Red Hat Enterprise MRG | Reporter: | Petr Matousek <pematous> | ||||
| Component: | qpid-cpp | Assignee: | Ken Giusti <kgiusti> | ||||
| Status: | CLOSED NOTABUG | QA Contact: | MRG Quality Engineering <mrgqe-bugs> | ||||
| Severity: | unspecified | Docs Contact: | |||||
| Priority: | medium | ||||||
| Version: | Development | ||||||
| Target Milestone: | --- | ||||||
| Target Release: | --- | ||||||
| Hardware: | Unspecified | ||||||
| OS: | Unspecified | ||||||
| Whiteboard: | |||||||
| Fixed In Version: | Doc Type: | Bug Fix | |||||
| Doc Text: | Story Points: | --- | |||||
| Clone Of: | Environment: | ||||||
| Last Closed: | 2012-01-13 16:50:32 UTC | Type: | --- | ||||
| Regression: | --- | Mount Type: | --- | ||||
| Documentation: | --- | CRM: | |||||
| Verified Versions: | Category: | --- | |||||
| oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |||||
| Cloudforms Team: | --- | Target Upstream Version: | |||||
| Attachments: |
|
||||||
|
Description
Petr Matousek
2011-10-03 20:16:33 UTC
Created attachment 526124 [details]
test reproducer
Hi Petr, The example above does violate the desired ordering rules, but it really isn't a bug in the broker. The broker can only order the delivery of messages to consumers. If the consumer acknowledges messages too early, or out of order, or releases some messages and acknowledges others, then strict sequenced consumption cannot be guaranteed. This feature is a little weird in that it -requires- the consumers to follow certain consumption rules, but the broker really can't prevent them from violating them (and, in fact, some applications may need to behave this way). I've updated the upstream documentation to be a bit clearer regarding how consumers need to behave - take a look in qpid/doc/book and try building the C++ broker guide. There's a section on message groups in that document that is the "official" documentation - take a look at let me know if it needs more work. Latest changes to that document were committed @ r1196764 |