154 lines
3.6 KiB
Plaintext
154 lines
3.6 KiB
Plaintext
emqx_connector_mongo {
|
|
|
|
single_mongo_type {
|
|
desc {
|
|
en: "Standalone instance."
|
|
zh: "Standalone模式。"
|
|
}
|
|
label: {
|
|
en: "Standalone instance"
|
|
zh: "Standalone模式"
|
|
}
|
|
}
|
|
|
|
rs_mongo_type {
|
|
desc {
|
|
en: "Replica set."
|
|
zh: "Replica set模式。"
|
|
}
|
|
label: {
|
|
en: "Replica set"
|
|
zh: "Replica set模式"
|
|
}
|
|
}
|
|
|
|
sharded_mongo_type {
|
|
desc {
|
|
en: "Sharded cluster."
|
|
zh: "Sharded cluster模式。"
|
|
}
|
|
label: {
|
|
en: "Sharded cluster"
|
|
zh: "Sharded cluster模式"
|
|
}
|
|
}
|
|
|
|
auth_source {
|
|
desc {
|
|
en: "Database name associated with the user's credentials."
|
|
zh: "与用户证书关联的数据库名称。"
|
|
}
|
|
label: {
|
|
en: "Auth Source"
|
|
zh: "认证源"
|
|
}
|
|
}
|
|
|
|
server {
|
|
desc {
|
|
en: """
|
|
The IPv4 or IPv6 address or the hostname to connect to.<br/>
|
|
A host entry has the following form: `Host[:Port]`.<br/>
|
|
The MongoDB default port 27017 is used if `[:Port]` is not specified.
|
|
"""
|
|
zh: """
|
|
将要连接的 IPv4 或 IPv6 地址,或者主机名。<br/>
|
|
主机名具有以下形式:`Host[:Port]`。<br/>
|
|
如果未指定 `[:Port]`,则使用 MongoDB 默认端口 27017。
|
|
"""
|
|
}
|
|
label: {
|
|
en: "Server Host"
|
|
zh: "服务器地址"
|
|
}
|
|
}
|
|
|
|
servers {
|
|
desc {
|
|
en: """
|
|
A Node list for Cluster to connect to. The nodes should be separated with commas, such as: `Node[,Node].<br/>`
|
|
For each Node should be: The IPv4 or IPv6 address or the hostname to connect to.<br/>
|
|
A host entry has the following form: `Host[:Port]`.<br/>
|
|
The MongoDB default port 27017 is used if `[:Port]` is not specified.
|
|
"""
|
|
zh: """
|
|
集群要连接的节点列表。 节点之间用逗号分隔,如:`Node[,Node].<br/>`
|
|
对于每个节点,应为:将要连接的 IPv4 或 IPv6 地址或主机名。<br/>
|
|
主机条目具有以下形式:`Host[:Port]`。<br/>
|
|
如果未指定 `[:Port]`,则使用 MongoDB 默认端口 27017。
|
|
"""
|
|
}
|
|
label: {
|
|
en: "Servers"
|
|
zh: "服务器列表"
|
|
}
|
|
}
|
|
|
|
w_mode {
|
|
desc {
|
|
en: "Write mode."
|
|
zh: "写模式。"
|
|
}
|
|
label: {
|
|
en: "Write Mode"
|
|
zh: "写模式"
|
|
}
|
|
}
|
|
|
|
r_mode {
|
|
desc {
|
|
en: "Read mode."
|
|
zh: "读模式。"
|
|
}
|
|
label: {
|
|
en: "Read Mode"
|
|
zh: "读模式"
|
|
}
|
|
}
|
|
|
|
duration {
|
|
desc {
|
|
en: "Time interval, such as timeout or TTL."
|
|
zh: "时间间隔,例如超时或 TTL。"
|
|
}
|
|
label: {
|
|
en: "Time Interval"
|
|
zh: "时间间隔"
|
|
}
|
|
}
|
|
|
|
max_overflow {
|
|
desc {
|
|
en: "Max Overflow."
|
|
zh: "最大溢出。"
|
|
}
|
|
label: {
|
|
en: "Max Overflow"
|
|
zh: "最大溢出"
|
|
}
|
|
}
|
|
|
|
replica_set_name {
|
|
desc {
|
|
en: "Name of the replica set."
|
|
zh: "副本集的名称。"
|
|
}
|
|
label: {
|
|
en: "Replica Set Name"
|
|
zh: "副本集名称"
|
|
}
|
|
}
|
|
|
|
srv_record {
|
|
desc {
|
|
en: "Use DNS SRV record."
|
|
zh: "使用 DNS SRV 记录。"
|
|
}
|
|
label: {
|
|
en: "Srv Record"
|
|
zh: "SRV 记录"
|
|
}
|
|
}
|
|
|
|
}
|