Jump to: navigation, search

Zaqar/specs/api/v2.0

< Zaqar
Revision as of 18:42, 7 August 2014 by Malini (talk | contribs) (Malini moved page Marconi/specs/api/v2.0 to Zaqar/specs/api/v2.0: Project Rename)

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
  • Allow custom media types?
    • Message attributes move into X-headers
    • Allows for all kinds of binary types
    • Con: if an error occurs, there isn't an obvious media type the client accepts to use in reporting structured error information
    • Con: X-headers are unwieldy if we need structured message attributes (YAGNI?)