Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

For authentication, it is pretty much the same as all other intra-CDAP RESTful calls. For authorization, we can do it at the topic level.

APIs

RESTful

...

Create Topic

  • Request method and URI
    • PUT [base_url]/topics/[topic]
  • Request body
    • Can be empty
    • If provided, it is a JSON object containing topic properties
      • e.g. {"ttl" : [ttl-in-seconds]}

Publish

Consume

Programmatic

TBA