Publish/Subscribe over the Constrained Application Protocol (CoAP) using the Constrained RESTful Application Language (CoRAL)
draft-hartke-t2trg-coral-pubsub-00

Document Type Active Internet-Draft (individual)
Last updated 2019-11-04
Stream (None)
Intended RFC status (None)
Formats plain text pdf htmlized bibtex
Stream Stream state (No stream defined)
Consensus Boilerplate Unknown
RFC Editor Note (None)
IESG IESG state I-D Exists
Telechat date
Responsible AD (None)
Send notices to (None)
Thing-to-Thing Research Group                                  K. Hartke
Internet-Draft                                                  Ericsson
Intended status: Experimental                           November 4, 2019
Expires: May 7, 2020

   Publish/Subscribe over the Constrained Application Protocol (CoAP)
       using the Constrained RESTful Application Language (CoRAL)
                   draft-hartke-t2trg-coral-pubsub-00

Abstract

   This document explores how the Constrained RESTful Application
   Language (CoRAL) might be used for enabling publish/subscribe-style
   communication over the Constrained Application Protocol (CoAP), which
   allows CoAP nodes with long breaks in connectivity and/or up-time to
   exchange data via a publish/subscribe broker.

Status of This Memo

   This Internet-Draft is submitted in full conformance with the
   provisions of BCP 78 and BCP 79.

   Internet-Drafts are working documents of the Internet Engineering
   Task Force (IETF).  Note that other groups may also distribute
   working documents as Internet-Drafts.  The list of current Internet-
   Drafts is at https://datatracker.ietf.org/drafts/current/.

   Internet-Drafts are draft documents valid for a maximum of six months
   and may be updated, replaced, or obsoleted by other documents at any
   time.  It is inappropriate to use Internet-Drafts as reference
   material or to cite them other than as "work in progress."

   This Internet-Draft will expire on May 7, 2020.

Copyright Notice

   Copyright (c) 2019 IETF Trust and the persons identified as the
   document authors.  All rights reserved.

   This document is subject to BCP 78 and the IETF Trust's Legal
   Provisions Relating to IETF Documents
   (https://trustee.ietf.org/license-info) in effect on the date of
   publication of this document.  Please review these documents
   carefully, as they describe your rights and restrictions with respect
   to this document.  Code Components extracted from this document must
   include Simplified BSD License text as described in Section 4.e of

Hartke                     Expires May 7, 2020                  [Page 1]
Internet-Draft   Publish/Subscribe over CoAP using CoRAL   November 2019

   the Trust Legal Provisions and are provided without warranty as
   described in the Simplified BSD License.

Table of Contents

   1.  Preamble  . . . . . . . . . . . . . . . . . . . . . . . . . .   2
   2.  Introduction  . . . . . . . . . . . . . . . . . . . . . . . .   3
     2.1.  Brokers and Topics  . . . . . . . . . . . . . . . . . . .   3
     2.2.  Publish and Subscribe . . . . . . . . . . . . . . . . . .   4
     2.3.  Notational Conventions  . . . . . . . . . . . . . . . . .   5
   3.  Topics  . . . . . . . . . . . . . . . . . . . . . . . . . . .   5
     3.1.  Topic Configuration . . . . . . . . . . . . . . . . . . .   5
       3.1.1.  Configuration Properties  . . . . . . . . . . . . . .   6
       3.1.2.  Status Properties . . . . . . . . . . . . . . . . . .   6
       3.1.3.  Topic Configuration Representation  . . . . . . . . .   6
     3.2.  Topic Discovery . . . . . . . . . . . . . . . . . . . . .   6
       3.2.1.  Topic List Representation . . . . . . . . . . . . . .   6
       3.2.2.  Filter Query Representation . . . . . . . . . . . . .   7
     3.3.  Interactions  . . . . . . . . . . . . . . . . . . . . . .   7
       3.3.1.  Getting All Topics  . . . . . . . . . . . . . . . . .   7
       3.3.2.  Getting Topics by Properties  . . . . . . . . . . . .   7
       3.3.3.  Creating a Topic  . . . . . . . . . . . . . . . . . .   8
       3.3.4.  Reading the Configuration of a Topic  . . . . . . . .   8
       3.3.5.  Updating the Configuration of a Topic . . . . . . . .   9
       3.3.6.  Deleting a Topic  . . . . . . . . . . . . . . . . . .   9
   4.  Publish/Subscribe . . . . . . . . . . . . . . . . . . . . . .  10
     4.1.  Topic Lifecycle . . . . . . . . . . . . . . . . . . . . .  10
     4.2.  Rate Limiting . . . . . . . . . . . . . . . . . . . . . .  11
     4.3.  Interactions  . . . . . . . . . . . . . . . . . . . . . .  11
       4.3.1.  Publishing  . . . . . . . . . . . . . . . . . . . . .  11
       4.3.2.  Subscribing . . . . . . . . . . . . . . . . . . . . .  12
       4.3.3.  Unsubscribing . . . . . . . . . . . . . . . . . . . .  13
   5.  Security Considerations . . . . . . . . . . . . . . . . . . .  13
   6.  IANA Considerations . . . . . . . . . . . . . . . . . . . . .  13
   7.  References  . . . . . . . . . . . . . . . . . . . . . . . . .  13
     7.1.  Normative References  . . . . . . . . . . . . . . . . . .  13
     7.2.  Informative References  . . . . . . . . . . . . . . . . .  14
   Acknowledgements  . . . . . . . . . . . . . . . . . . . . . . . .  15
   Author's Address  . . . . . . . . . . . . . . . . . . . . . . . .  15

1.  Preamble

   This document explores how CoAP Publish/Subscribe Broker
   [I-D.ietf-core-coap-pubsub] might look like if based on CoRAL
   [I-D.ietf-core-coral].  The exploration is done in the style of a
Show full document text