You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@iotdb.apache.org by "gongning (Jira)" <ji...@apache.org> on 2022/03/18 10:15:00 UTC

[jira] [Created] (IOTDB-2766) Iotdb supports subscriptions

gongning created IOTDB-2766:
-------------------------------

             Summary: Iotdb supports subscriptions
                 Key: IOTDB-2766
                 URL: https://issues.apache.org/jira/browse/IOTDB-2766
             Project: Apache IoTDB
          Issue Type: Bug
          Components: Core/Server
            Reporter: gongning


Business systems often need to obtain data of time series including continuous query results in real time, and IoTDB is expected to support subscription function:
For example, support subscription storage groups, devices, fuzzy matching root.sg.**, precise matching root.sg.device1.t1 data write, etc.

Command format:
1) CREATE: CREATE SUBSCRIPTION "sub0" ON storageGroup DESTINATIONS ALL 'http://example.com:8080'
2) Query: SHOW SUBSCRIPTIONS
3) Delete: DROP SUBSCRIPTION

Note: http://example.com:8080 Service system address.

Protocol format of IoTDB sending business system:

+-----------+--------+-+---------+-+---------+
|fullpath | value | timestamp|
+-----------+--------+-+---------+-+---------+
root.sg.device1.t1  82  1465839830100400200

Influxdb Reference address:
https://docs.influxdata.com/influxdb/v1.8/write_protocols/line_protocol_tutorial/
https://docs.influxdata.com/influxdb/v1.8/administration/subscription-management/



--
This message was sent by Atlassian Jira
(v8.20.1#820001)