Consume notifications via messaging API
The RPC library in Oslo currently has no support for consuming notifications (as ceilometer needs). It's currently a hack and it ack()'s the event too early and always. This needs to change to remove the "method" structure, add versioning and not ack() until the event has been processed.
Blueprint information
- Status:
- Complete
- Approver:
- Mark McLoughlin
- Priority:
- Low
- Drafter:
- Mark McLoughlin
- Direction:
- Approved
- Assignee:
- Sandy Walsh
- Definition:
- Approved
- Series goal:
- Accepted for havana
- Implementation:
- Implemented
- Milestone target:
- 2013.2
- Started by
- Sandy Walsh
- Completed by
- Mark McLoughlin
Related branches
Related bugs
Sprints
Whiteboard
targeting to havana-2, since that's what the rest of the messaging API work is being targeted to -- markmc
----
Hmm, no real api per se, just the consuming counterpart to
https:/
And perhaps another method to ack() the message. (poorman two-phase commit)
Currently the ack is done in the rpc framework
https:/
This is what ceilometer's collector is using, but with some hacks to strip out the "method" stuff.
But notifications aren't rpc calls (they don't have methods or parameters, just a payload)
-- sandy
----
We could do with an API proposal :-) -- markmc
---
I'm implementing this in a separate service within Ceilometer currently (not part of Olso). Perhaps you can use it when you get to the other refactorings? -Sandy
The "method" part was already removed from another branch. The ack() handling is here:
https:/
---
This is implemented by:
https:/
https:/
Work Items
Dependency tree
* Blueprints in grey have been implemented.