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

Document Type Active Internet-Draft (individual)
Last updated 2020-05-09
Stream (None)
Intended RFC status (None)
Formats plain text pdf htmlized (tools) 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                                May 9, 2020
Expires: November 10, 2020

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

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 November 10, 2020.

Copyright Notice

   Copyright (c) 2020 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 November 10, 2020               [Page 1]
Internet-Draft   Publish/Subscribe over CoAP using CoRAL        May 2020

   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 Creation and 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 to a Topic . . . . . . . . . . . . . . . .  11
       4.3.2.  Subscribing to a Topic  . . . . . . . . . . . . . . .  12
       4.3.3.  Unsubscribing from a Topic  . . . . . . . . . . . . .  13
       4.3.4.  Getting the Latest Published Data . . . . . . . . . .  13
   5.  Security Considerations . . . . . . . . . . . . . . . . . . .  14
   6.  IANA Considerations . . . . . . . . . . . . . . . . . . . . .  14
   7.  References  . . . . . . . . . . . . . . . . . . . . . . . . .  14
     7.1.  Normative References  . . . . . . . . . . . . . . . . . .  14
     7.2.  Informative References  . . . . . . . . . . . . . . . . .  15
   Acknowledgements  . . . . . . . . . . . . . . . . . . . . . . . .  15
   Author's Address  . . . . . . . . . . . . . . . . . . . . . . . .  15

1.  Preamble

   This document explores how CoAP Publish/Subscribe Broker
Show full document text