mirror of
https://github.com/taosdata/TDengine
synced 2026-05-24 10:09:01 +00:00
* merge: taos-tools and case 3.0 to main branch * add -s option and modify concurrent name to threads
26 lines
808 B
JSON
26 lines
808 B
JSON
{
|
|
"filetype": "subscribe",
|
|
"cfgdir": "/etc/taos",
|
|
"host": "127.0.0.1",
|
|
"port": 6030,
|
|
"user": "root",
|
|
"password": "taosdata",
|
|
"confirm_parameter_prompt": "no",
|
|
"result_file": "./tmq_result.txt",
|
|
"tmq_info": {
|
|
"concurrent": 2,
|
|
"poll_delay": 3000,
|
|
"client.id": "clientId",
|
|
"auto.offset.reset": "earliest",
|
|
"enable.auto.commit": "true",
|
|
"auto.commit.interval.ms": 1000,
|
|
"experimental.snapshot.enable": "true",
|
|
"msg.with.table.name": "true",
|
|
"rows_file": "./consumed_rows",
|
|
"expect_rows": -1,
|
|
"topic_list": [
|
|
{"name": "tmq_topic_0", "sql": "select * from db.stb;"},
|
|
{"name": "tmq_topic_1", "sql": "select * from db.stb"}
|
|
]
|
|
}
|
|
}
|