Need claim ID to delete message

Registered by Feilong Wang

Currently, any client who knows the message ID can delete the message though the message may be processing by another client.
It could cause some unexpected problems. A better way to delete a message is make sure the message is deleted by the client who is claiming the message. So there are two options:

1. Add a quick receipt handler which is combined by claim id and message id, when delete a message, client must provide the receipt handler

2. When delete a message, client must provide both claim id and message id

Blueprint information

Status:
Complete
Approver:
Feilong Wang
Priority:
High
Drafter:
Feilong Wang
Direction:
Approved
Assignee:
wanghao
Definition:
Approved
Series goal:
Accepted for stein
Implementation:
Implemented
Milestone target:
milestone icon stein-1
Started by
wanghao
Completed by
wanghao

Related branches

Sprints

Whiteboard

it seems that we have already satisfied this use case.

Gerrit topic: https://review.openstack.org/#q,topic:bp/delete-message-with-claim-id,n,z

Addressed by: https://review.openstack.org/531286
    Spec of bp delete-message-with-claim-id support

Addressed by: https://review.openstack.org/614433
    Support delete messages with claim_ids

(?)

Work Items

This blueprint contains Public information 
Everyone can see this information.

Subscribers

No subscribers.