subSyncResubAC1endAfter1.json 969 字节
Newer Older
haoranc's avatar
haoranc 已提交
1 2 3 4 5 6 7 8 9 10 11 12 13
{
    "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":
      {
       "concurrent":2, 
       "mode":"sync", 
haoranc's avatar
haoranc 已提交
14 15
       "interval":0, 
       "resubAfterConsume":1,
16 17 18
       "endAfterConsume":1,
       "keepProgress":"yes",
       "restart":"no",
haoranc's avatar
haoranc 已提交
19 20 21 22 23
       "sqls": [
        {
          "sql": "select * from stb00_0", 
          "result": "./subscribe_res0.txt"
        }]
haoranc's avatar
haoranc 已提交
24 25 26 27 28 29 30
      },
    "super_table_query": 
      {
       "stblname": "stb0",
       "threads":2, 
       "mode":"sync", 
       "interval":1000, 
31 32
       "resubAfterConsume":1,
       "endAfterConsume":1,
haoranc's avatar
haoranc 已提交
33 34 35 36 37 38 39
       "keepProgress":"yes",
       "restart":"no",
       "sqls": [
        {
          "sql": "select * from xxxx where ts >= '2021-02-25 10:00:01.000' ", 
          "result": "./subscribe_res2.txt"
        }]
haoranc's avatar
haoranc 已提交
40 41
      }
  }