Feat: update userName to username (#175)

This commit is contained in:
ethfoo 2023-07-11 11:28:03 +08:00 committed by GitHub
parent 2620bcfac9
commit 7ee0b5eb23
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 3 additions and 3 deletions

View File

@ -20,7 +20,7 @@
topic: "demo" topic: "demo"
sasl: sasl:
type: scram type: scram
userName: *** username: ***
password: *** password: ***
algorithm: sha512 algorithm: sha512
``` ```
@ -172,7 +172,7 @@
| ---------- | ----------- | ----------- | --------- | -------- | | ---------- | ----------- | ----------- | --------- | -------- |
| sasl | | 非必填 | | SASL authentication | | sasl | | 非必填 | | SASL authentication |
| sasl.type | string | 必填 | | SASL类型可为`plain`、`scram` | | sasl.type | string | 必填 | | SASL类型可为`plain`、`scram` |
| sasl.userName | string | 必填 | | 用户名 | | sasl.username | string | 必填 | | 用户名请注意在v1.4和之前使用的名称为`userName`,当然后续版本也对此进行了兼容 |
| sasl.password | string | 必填 | | 密码 | | sasl.password | string | 必填 | | 密码 |
| sasl.algorithm | string | type=scram时必填 | | type=scram时使用的算法可选`sha256`、`sha512` | | sasl.algorithm | string | type=scram时必填 | | type=scram时使用的算法可选`sha256`、`sha512` |

View File

@ -97,6 +97,6 @@ Kafka source用于接收Kafka数据。
| ---------- | ----------- | ----------- | --------- | -------- | | ---------- | ----------- | ----------- | --------- | -------- |
| sasl | | 非必填 | | SASL authentication | | sasl | | 非必填 | | SASL authentication |
| sasl.type | string | 必填 | | SASL类型可为`plain`、`scram` | | sasl.type | string | 必填 | | SASL类型可为`plain`、`scram` |
| sasl.userName | string | 必填 | | 用户名 | | sasl.userName | string | 必填 | | 用户名请注意在v1.4和之前使用的名称为`userName`,当然后续版本也对此进行了兼容 |
| sasl.password | string | 必填 | | 密码 | | sasl.password | string | 必填 | | 密码 |
| sasl.algorithm | string | type=scram时必填 | | type=scram时使用的算法可选`sha256`、`sha512` | | sasl.algorithm | string | type=scram时必填 | | type=scram时使用的算法可选`sha256`、`sha512` |