subSyncResubACMinus1.json 973 字节
Newer Older
1 2 3 4 5 6 7 8 9 10 11
{
    "filetype":"subscribe",
    "cfgdir": "/etc/taos",
    "host": "127.0.0.1",
    "port": 6030,
    "user": "root",
    "password": "taosdata",
    "databases": "db",
    "confirm_parameter_prompt": "no",
    "specified_table_query":
      {
12
       "concurrent":2, 
13 14
       "mode":"sync", 
       "interval":0, 
15 16 17 18
       "resubAfterConsume":-1,
       "endAfterConsume":-1,
       "keepProgress":"no",
       "restart":"yes",
19 20
       "sqls": [
        {
21
          "sql": "select * from stb00_0", 
22 23 24 25 26 27
          "result": "./subscribe_res0.txt"
        }]
      },
    "super_table_query": 
      {
       "stblname": "stb0",
28
       "threads":2, 
29
       "mode":"sync", 
30 31 32 33 34
       "interval":1000, 
       "resubAfterConsume":-1,
       "endAfterConsume":-1,
       "keepProgress":"no",
       "restart":"yes",
35 36
       "sqls": [
        {
37 38
          "sql": "select * from xxxx where ts >= '2021-02-25 10:00:01.000' ", 
          "result": "./subscribe_res2.txt"
39 40 41
        }]
      }
  }