Difference between revisions of "Zaqar/specs/api/v2.0"
< Zaqar
(Created page with "== Marconi API v2.0 == Brainstorming * Remove bulk delete by id, also get/delete by a single id - allows us to be more flexible with backend storage, also discourage messagin...") |
m (→Marconi API v2.0) |
||
Line 2: | Line 2: | ||
Brainstorming | Brainstorming | ||
− | |||
* Migrate to topic-based semantics. | * Migrate to topic-based semantics. | ||
** Can post a single message to multiple topics in one request | ** Can post a single message to multiple topics in one request | ||
** Can consumers read more than one topic in a single request? | ** Can consumers read more than one topic in a single request? | ||
− | * | + | * Delete a claim to delete all it's messages? |
+ | ** Need to decide if we want to encourage deleting multiple messages at a time, or if that is an anti-pattern | ||
+ | * Only provide a message ID for claimed messages? | ||
+ | ** Con: user may want to have an auditor that uses the feeds api, and the auditor will need to match up message IDs with the ones being claimed by the workers |
Revision as of 19:45, 27 May 2014
Marconi API v2.0
Brainstorming
- Migrate to topic-based semantics.
- Can post a single message to multiple topics in one request
- Can consumers read more than one topic in a single request?
- Delete a claim to delete all it's messages?
- Need to decide if we want to encourage deleting multiple messages at a time, or if that is an anti-pattern
- Only provide a message ID for claimed messages?
- Con: user may want to have an auditor that uses the feeds api, and the auditor will need to match up message IDs with the ones being claimed by the workers