taosdemoTestSupportNanoSubscribe.json 769 字节
Newer Older
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32
{
  "filetype":"subscribe",
  "cfgdir": "/etc/taos",
  "host": "127.0.0.1",
  "port": 6030,
  "user": "root",
  "password": "taosdata",
  "databases": "subnsdb",
  "confirm_parameter_prompt": "no",
  "specified_table_query":
    {
     "concurrent":2, 
     "mode":"sync", 
     "interval":10000, 
     "restart":"yes", 
     "keepProgress":"yes",
     "sqls": [
      {
        "sql": "select * from stb0 where ts>= \"2021-07-01 00:00:00.000000000\" ;",
        "result": "./subscribe_res0.txt"
      },
      {
        "sql": "select * from stb0 where ts > now -20d-1h-3s ;",
        "result": "./subscribe_res1.txt"
      },
      {
          "sql": "select * from stb0 where ts < 1626918583000000000 ;",
          "result": "./subscribe_res2.txt"
      }]

    }
}