change user to username

This commit is contained in:
dingbo 2021-12-16 17:00:08 +08:00
parent 6d27133ff4
commit 61dc03e9f8
3 changed files with 11 additions and 11 deletions

View File

@ -42,7 +42,7 @@ TDengineWriter 通过 DataX 框架获取 Reader生成的协议数据根据rea
"host": "192.168.1.180", "host": "192.168.1.180",
"port": 6030, "port": 6030,
"dbName": "test", "dbName": "test",
"user": "root", "username": "root",
"password": "taosdata" "password": "taosdata"
} }
} }
@ -63,7 +63,7 @@ TDengineWriter 通过 DataX 框架获取 Reader生成的协议数据根据rea
| --------- | -------------------- | -------- | -------- | | --------- | -------------------- | -------- | -------- |
| host | TDengine实例的host | 是 | 无 | | host | TDengine实例的host | 是 | 无 |
| port | TDengine实例的port | 是 | 无 | | port | TDengine实例的port | 是 | 无 |
| user | TDengine实例的用户名 | 否 | root | | username | TDengine实例的用户名 | 否 | root |
| password | TDengine实例的密码 | 否 | taosdata | | password | TDengine实例的密码 | 否 | taosdata |
| dbName | 目的数据库的名称 | 是 | 无 | | dbName | 目的数据库的名称 | 是 | 无 |
| batchSize | 每次批量插入多少记录 | 否 | 1 | | batchSize | 每次批量插入多少记录 | 否 | 1 |
@ -142,7 +142,7 @@ TDengineWriter 通过 DataX 框架获取 Reader生成的协议数据根据rea
"host": "localhost", "host": "localhost",
"port": 6030, "port": 6030,
"dbName": "test", "dbName": "test",
"user": "root", "username": "root",
"password": "taosdata", "password": "taosdata",
"stable": "stock", "stable": "stock",
"tagColumn": { "tagColumn": {
@ -174,7 +174,7 @@ TDengineWriter 通过 DataX 框架获取 Reader生成的协议数据根据rea
| --------------- | -------------------- | ---------------- | -------- | ------------------ | | --------------- | -------------------- | ---------------- | -------- | ------------------ |
| host | TDengine实例的host | 是 | 无 | | host | TDengine实例的host | 是 | 无 |
| port | TDengine实例的port | 是 | 无 | | port | TDengine实例的port | 是 | 无 |
| user | TDengine实例的用户名 | 否 | root | | username | TDengine实例的用户名 | 否 | root |
| password | TDengine实例的密码 | 否 | taosdata | | password | TDengine实例的密码 | 否 | taosdata |
| dbName | 目的数据库的名称 | 是 | 无 | | dbName | 目的数据库的名称 | 是 | 无 |
| batchSize | 每次批量插入多少记录 | 否 | 1000 | | batchSize | 每次批量插入多少记录 | 否 | 1000 |
@ -290,7 +290,7 @@ CREATE TABLE IF NOT EXISTS weather(
"host": "127.0.0.1", "host": "127.0.0.1",
"port": 6030, "port": 6030,
"dbName": "test", "dbName": "test",
"user": "root", "username": "root",
"password": "taosdata", "password": "taosdata",
"batchSize": 1000, "batchSize": 1000,
"stable": "weather", "stable": "weather",

View File

@ -39,7 +39,7 @@ TDengineWriter get records from DataX Framework that are generated from reader s
"host": "192.168.1.180", "host": "192.168.1.180",
"port": 6030, "port": 6030,
"dbName": "test", "dbName": "test",
"user": "root", "username": "root",
"password": "taosdata" "password": "taosdata"
} }
} }
@ -60,7 +60,7 @@ TDengineWriter get records from DataX Framework that are generated from reader s
| --------- | ------------------------------ | -------- | -------- | | --------- | ------------------------------ | -------- | -------- |
| host | host of TDengine | Yes | | | host | host of TDengine | Yes | |
| port | port of TDengine | Yes | | | port | port of TDengine | Yes | |
| user | use name of TDengine | No | root | | username | use name of TDengine | No | root |
| password | password of TDengine | No | taosdata | | password | password of TDengine | No | taosdata |
| dbName | name of target database | No | | | dbName | name of target database | No | |
| batchSize | batch size of insert operation | No | 1 | | batchSize | batch size of insert operation | No | 1 |
@ -137,7 +137,7 @@ TDengineWriter get records from DataX Framework that are generated from reader s
"host": "localhost", "host": "localhost",
"port": 6030, "port": 6030,
"dbName": "test", "dbName": "test",
"user": "root", "username": "root",
"password": "taosdata", "password": "taosdata",
"stable": "stock", "stable": "stock",
"tagColumn": { "tagColumn": {
@ -170,7 +170,7 @@ TDengineWriter get records from DataX Framework that are generated from reader s
| --------------- | --------------------------------------------------------------- | ------------------------ | -------- | ------------------- | | --------------- | --------------------------------------------------------------- | ------------------------ | -------- | ------------------- |
| host | host ofTDengine | Yes | | | host | host ofTDengine | Yes | |
| port | port of TDengine | Yes | | | port | port of TDengine | Yes | |
| user | user name of TDengine | No | root | | username | username of TDengine | No | root |
| password | password of TDengine | No | taosdata | | password | password of TDengine | No | taosdata |
| dbName | name of target database | Yes | | | dbName | name of target database | Yes | |
| batchSize | batch size of insert operation | No | 1000 | | batchSize | batch size of insert operation | No | 1000 |
@ -287,7 +287,7 @@ CREATE TABLE IF NOT EXISTS weather(
"host": "127.0.0.1", "host": "127.0.0.1",
"port": 6030, "port": 6030,
"dbName": "test", "dbName": "test",
"user": "root", "username": "root",
"password": "taosdata", "password": "taosdata",
"batchSize": 1000, "batchSize": 1000,
"stable": "weather", "stable": "weather",

View File

@ -4,7 +4,7 @@ public class Key {
public static final String HOST = "host"; public static final String HOST = "host";
public static final String PORT = "port"; public static final String PORT = "port";
public static final String DBNAME = "dbName"; public static final String DBNAME = "dbName";
public static final String USER = "user"; public static final String USER = "username";
public static final String PASSWORD = "password"; public static final String PASSWORD = "password";
public static final String BATCH_SIZE = "batchSize"; public static final String BATCH_SIZE = "batchSize";
public static final String STABLE = "stable"; public static final String STABLE = "stable";