@emqx/shared-ui-i18n 0.0.83 → 0.0.85
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +65 -0
- package/dist/index.js +202 -26
- package/dist/index.umd.cjs +9 -9
- package/dist/zh-TW/actionsLabel.d.ts +1 -0
- package/dist/zh-TW/connectorsLabel.d.ts +1 -0
- package/dist/zh-TW/flow.cjs +1 -0
- package/dist/zh-TW/flow.d.ts +53 -0
- package/dist/zh-TW/flow.js +56 -0
- package/dist/zh-TW/integration.cjs +32 -0
- package/dist/zh-TW/integration.d.ts +4 -0
- package/dist/zh-TW/integration.js +1268 -0
- package/dist/zh-TW/integrationDesc.d.ts +1 -0
- package/dist/zh-TW/ruleFunction.cjs +1 -0
- package/dist/zh-TW/ruleFunction.d.ts +69 -0
- package/dist/zh-TW/ruleFunction.js +72 -0
- package/dist/zh-TW/ruleSQL.cjs +1 -0
- package/dist/zh-TW/ruleSQL.d.ts +16 -0
- package/dist/zh-TW/ruleSQL.js +19 -0
- package/dist/zh-TW/symbolLabel.d.ts +1 -0
- package/package.json +22 -2
package/README.md
ADDED
|
@@ -0,0 +1,65 @@
|
|
|
1
|
+
# Shared UI i18n
|
|
2
|
+
|
|
3
|
+
Traditional Chinese data integration resources are available through an optional
|
|
4
|
+
subpath. They are not re-exported by the root entry, so existing consumers do not
|
|
5
|
+
load these resources. The npm archive includes both entries.
|
|
6
|
+
|
|
7
|
+
```ts
|
|
8
|
+
import {
|
|
9
|
+
zhTWConnectorsLabel,
|
|
10
|
+
zhTWActionsLabel,
|
|
11
|
+
zhTWIntegrationDesc,
|
|
12
|
+
zhTWSymbolLabel,
|
|
13
|
+
} from '@emqx/shared-ui-i18n/zh-TW/integration'
|
|
14
|
+
```
|
|
15
|
+
|
|
16
|
+
The first three exports use the same type/field structure as the corresponding
|
|
17
|
+
Simplified Chinese resources; symbol labels are a flat key/value map. Register
|
|
18
|
+
them with the application's own i18n instance. Merge connector labels first,
|
|
19
|
+
action labels second, then application overrides. Merge description overrides
|
|
20
|
+
after shared descriptions. Avoid mutating the exported objects when merging.
|
|
21
|
+
|
|
22
|
+
Keep Traditional Chinese keys aligned with the corresponding files in lib/zh.
|
|
23
|
+
Preserve placeholders, code snippets and technical identifiers when translating.
|
|
24
|
+
Application-specific wording belongs in the consuming project's overrides.
|
|
25
|
+
|
|
26
|
+
AI SQL generator resources use a separate optional entry:
|
|
27
|
+
|
|
28
|
+
```ts
|
|
29
|
+
import { zhTWRuleSQL } from '@emqx/shared-ui-i18n/zh-TW/ruleSQL'
|
|
30
|
+
```
|
|
31
|
+
|
|
32
|
+
Register this dictionary under the application's ruleSQL namespace, alongside
|
|
33
|
+
enRuleSQL and zhRuleSQL from the root entry. Its keys match those dictionaries.
|
|
34
|
+
|
|
35
|
+
Built-in function resources are also optional:
|
|
36
|
+
|
|
37
|
+
```ts
|
|
38
|
+
import { zhTWRuleFunction } from '@emqx/shared-ui-i18n/zh-TW/ruleFunction'
|
|
39
|
+
|
|
40
|
+
app.use(FlowComponents, {
|
|
41
|
+
locale: 'zh-TW',
|
|
42
|
+
messages: { ruleFunction: zhTWRuleFunction },
|
|
43
|
+
})
|
|
44
|
+
```
|
|
45
|
+
|
|
46
|
+
Flow's messages option accepts additional common and flow dictionaries. Resources
|
|
47
|
+
are selected by the consumer, so default component and utility imports do not
|
|
48
|
+
include Traditional Chinese dictionaries. Missing zh-TW entries fall back to
|
|
49
|
+
English, without implicitly using Simplified Chinese. Existing en/zh/ja consumers
|
|
50
|
+
continue to use the built-in dictionaries.
|
|
51
|
+
|
|
52
|
+
Flow labels and validation messages have their own optional entry:
|
|
53
|
+
|
|
54
|
+
```ts
|
|
55
|
+
import { zhTWFlow } from '@emqx/shared-ui-i18n/zh-TW/flow'
|
|
56
|
+
|
|
57
|
+
app.use(FlowComponents, {
|
|
58
|
+
locale: 'zh-TW',
|
|
59
|
+
messages: { flow: zhTWFlow, ruleFunction: zhTWRuleFunction },
|
|
60
|
+
})
|
|
61
|
+
```
|
|
62
|
+
|
|
63
|
+
This dictionary covers all keys in zhFlow, including node status and AI connection
|
|
64
|
+
settings. Add application-specific Flow messages separately when registering the
|
|
65
|
+
application's own i18n instance.
|
package/dist/index.js
CHANGED
|
@@ -227,7 +227,8 @@ FROM
|
|
|
227
227
|
qos: "QoS",
|
|
228
228
|
retain: "Retain",
|
|
229
229
|
retain_as_published: "Retain As Published",
|
|
230
|
-
payload: "Payload"
|
|
230
|
+
payload: "Payload",
|
|
231
|
+
ack_deadline: "Ack Deadline"
|
|
231
232
|
},
|
|
232
233
|
kafka_producer: {
|
|
233
234
|
timestamp: "Message Timestamp",
|
|
@@ -264,9 +265,12 @@ FROM
|
|
|
264
265
|
ordering_key_template: "Ordering Key template",
|
|
265
266
|
payload_template: "Payload Template"
|
|
266
267
|
},
|
|
267
|
-
|
|
268
|
+
gcp_pubsub_consumer_grpc: {
|
|
268
269
|
topic: "GCP PubSub Topic",
|
|
269
|
-
|
|
270
|
+
max_outstanding_messages: "Max Outstanding Messages"
|
|
271
|
+
},
|
|
272
|
+
gcp_pubsub_consumer: {
|
|
273
|
+
topic: "GCP PubSub Topic"
|
|
270
274
|
},
|
|
271
275
|
syskeeper_forwarder: {
|
|
272
276
|
target_topic: "Topic",
|
|
@@ -460,6 +464,15 @@ FROM
|
|
|
460
464
|
},
|
|
461
465
|
quasardb: {
|
|
462
466
|
health_check_table: "Health Check Table"
|
|
467
|
+
},
|
|
468
|
+
zerobus: {
|
|
469
|
+
catalog: "Catalog",
|
|
470
|
+
schema: "Schema",
|
|
471
|
+
table: "Table",
|
|
472
|
+
record: "Record Type",
|
|
473
|
+
parameters_record_type: "Record Type",
|
|
474
|
+
schema_name: "Protobuf Schema Name",
|
|
475
|
+
message_type: "Protobuf Message Type"
|
|
463
476
|
}
|
|
464
477
|
}, a = {
|
|
465
478
|
common: {
|
|
@@ -520,7 +533,8 @@ FROM
|
|
|
520
533
|
qos: "QoS",
|
|
521
534
|
retain: "Retain",
|
|
522
535
|
retain_as_published: "保留发布时 Retain 标志",
|
|
523
|
-
payload: "消息模版"
|
|
536
|
+
payload: "消息模版",
|
|
537
|
+
ack_deadline: "消息确认截止时间"
|
|
524
538
|
},
|
|
525
539
|
kafka_producer: {
|
|
526
540
|
timestamp: "消息的时间戳",
|
|
@@ -557,9 +571,12 @@ FROM
|
|
|
557
571
|
ordering_key_template: "排序键模板",
|
|
558
572
|
payload_template: "HTTP 请求消息体模板"
|
|
559
573
|
},
|
|
560
|
-
|
|
574
|
+
gcp_pubsub_consumer_grpc: {
|
|
561
575
|
topic: "GCP PubSub 主题",
|
|
562
|
-
|
|
576
|
+
max_outstanding_messages: "最大未确认消息数"
|
|
577
|
+
},
|
|
578
|
+
gcp_pubsub_consumer: {
|
|
579
|
+
topic: "GCP PubSub 主题"
|
|
563
580
|
},
|
|
564
581
|
syskeeper_forwarder: {
|
|
565
582
|
target_topic: "主题",
|
|
@@ -753,6 +770,15 @@ FROM
|
|
|
753
770
|
},
|
|
754
771
|
quasardb: {
|
|
755
772
|
health_check_table: "健康检查表"
|
|
773
|
+
},
|
|
774
|
+
zerobus: {
|
|
775
|
+
catalog: "目录",
|
|
776
|
+
schema: "模式",
|
|
777
|
+
table: "表",
|
|
778
|
+
record: "记录类型",
|
|
779
|
+
parameters_record_type: "记录类型",
|
|
780
|
+
schema_name: "Protobuf Schema 名称",
|
|
781
|
+
message_type: "Protobuf 消息类型"
|
|
756
782
|
}
|
|
757
783
|
}, o = {
|
|
758
784
|
common: {
|
|
@@ -853,6 +879,10 @@ FROM
|
|
|
853
879
|
oauth2_timeout: "Token Request Timeout",
|
|
854
880
|
oauth2_ssl: "Token Endpoint TLS"
|
|
855
881
|
},
|
|
882
|
+
gcp_pubsub_consumer_grpc: {
|
|
883
|
+
authentication_type: "Authentication Type",
|
|
884
|
+
authentication_initial_token_type: "Credential Type"
|
|
885
|
+
},
|
|
856
886
|
gcp_pubsub_producer: {
|
|
857
887
|
authentication_type: "Authentication Type",
|
|
858
888
|
authentication_initial_token_type: "Credential Type",
|
|
@@ -978,7 +1008,8 @@ FROM
|
|
|
978
1008
|
},
|
|
979
1009
|
s3: {
|
|
980
1010
|
host: "Host",
|
|
981
|
-
port: "Port"
|
|
1011
|
+
port: "Port",
|
|
1012
|
+
region: "Signing Region"
|
|
982
1013
|
},
|
|
983
1014
|
azure_blob_storage: {
|
|
984
1015
|
account_name: "Account Name",
|
|
@@ -1038,6 +1069,33 @@ FROM
|
|
|
1038
1069
|
},
|
|
1039
1070
|
azure_event_grid: {
|
|
1040
1071
|
tcp_opts_keepalive: "TCP Keepalive"
|
|
1072
|
+
},
|
|
1073
|
+
dameng: {
|
|
1074
|
+
dsn: "ODBC DSN",
|
|
1075
|
+
server: "Server Host",
|
|
1076
|
+
port: "Server Port",
|
|
1077
|
+
driver: "ODBC Driver",
|
|
1078
|
+
charset: "Charset",
|
|
1079
|
+
ssl_path: "SSL Certificate Directory",
|
|
1080
|
+
ssl_pwd: "SSL Certificate Password"
|
|
1081
|
+
},
|
|
1082
|
+
zerobus: {
|
|
1083
|
+
zerobus_endpoint: "Zerobus Endpoint",
|
|
1084
|
+
authentication: "Authentication",
|
|
1085
|
+
authentication_enable: "Enable Authentication",
|
|
1086
|
+
workspace_id: "Workspace ID",
|
|
1087
|
+
workspace_url: "Workspace URL",
|
|
1088
|
+
client_id: "Client ID",
|
|
1089
|
+
client_secret: "Client Secret",
|
|
1090
|
+
authentication_timeout: "Authentication Timeout",
|
|
1091
|
+
authentication_ssl: "Authentication TLS",
|
|
1092
|
+
transport: "Transport Type",
|
|
1093
|
+
transport_type: "Transport Type",
|
|
1094
|
+
transport_connect_timeout: "Connect Timeout",
|
|
1095
|
+
transport_pool_size: "Connection Pool Size",
|
|
1096
|
+
transport_pipelining: "HTTP Pipelining",
|
|
1097
|
+
transport_max_inactive: "Maximum Inactivity",
|
|
1098
|
+
ssl: "Zerobus TLS"
|
|
1041
1099
|
}
|
|
1042
1100
|
}, r = {
|
|
1043
1101
|
common: {
|
|
@@ -1138,6 +1196,10 @@ FROM
|
|
|
1138
1196
|
oauth2_timeout: "Token 请求超时",
|
|
1139
1197
|
oauth2_ssl: "Token 端点 TLS"
|
|
1140
1198
|
},
|
|
1199
|
+
gcp_pubsub_consumer_grpc: {
|
|
1200
|
+
authentication_type: "认证方式",
|
|
1201
|
+
authentication_initial_token_type: "凭证类型"
|
|
1202
|
+
},
|
|
1141
1203
|
gcp_pubsub_producer: {
|
|
1142
1204
|
authentication_type: "认证类型",
|
|
1143
1205
|
query_mode: "请求模式",
|
|
@@ -1263,7 +1325,8 @@ FROM
|
|
|
1263
1325
|
},
|
|
1264
1326
|
s3: {
|
|
1265
1327
|
host: "地址",
|
|
1266
|
-
port: "端口"
|
|
1328
|
+
port: "端口",
|
|
1329
|
+
region: "签名区域"
|
|
1267
1330
|
},
|
|
1268
1331
|
azure_blob_storage: {
|
|
1269
1332
|
account_name: "账户名称",
|
|
@@ -1323,6 +1386,33 @@ FROM
|
|
|
1323
1386
|
},
|
|
1324
1387
|
azure_event_grid: {
|
|
1325
1388
|
tcp_opts_keepalive: "TCP Keepalive"
|
|
1389
|
+
},
|
|
1390
|
+
dameng: {
|
|
1391
|
+
dsn: "ODBC DSN",
|
|
1392
|
+
server: "服务器地址",
|
|
1393
|
+
port: "服务器端口",
|
|
1394
|
+
driver: "ODBC 驱动",
|
|
1395
|
+
charset: "字符集",
|
|
1396
|
+
ssl_path: "SSL 证书目录",
|
|
1397
|
+
ssl_pwd: "SSL 证书密码"
|
|
1398
|
+
},
|
|
1399
|
+
zerobus: {
|
|
1400
|
+
zerobus_endpoint: "Zerobus 服务地址",
|
|
1401
|
+
authentication: "认证",
|
|
1402
|
+
authentication_enable: "启用认证",
|
|
1403
|
+
workspace_id: "工作区 ID",
|
|
1404
|
+
workspace_url: "工作区 URL",
|
|
1405
|
+
client_id: "客户端 ID",
|
|
1406
|
+
client_secret: "客户端密钥",
|
|
1407
|
+
authentication_timeout: "Token 请求超时",
|
|
1408
|
+
authentication_ssl: "认证 TLS",
|
|
1409
|
+
transport: "传输协议",
|
|
1410
|
+
transport_type: "传输协议",
|
|
1411
|
+
transport_connect_timeout: "连接超时",
|
|
1412
|
+
transport_pool_size: "连接池大小",
|
|
1413
|
+
transport_pipelining: "HTTP 流水线",
|
|
1414
|
+
transport_max_inactive: "最大空闲时间",
|
|
1415
|
+
ssl: "Zerobus TLS"
|
|
1326
1416
|
}
|
|
1327
1417
|
}, i = {
|
|
1328
1418
|
authn: {
|
|
@@ -1488,7 +1578,11 @@ HGETALL mqtt_acl:\${username}`
|
|
|
1488
1578
|
rotation_period_day: "Every Day",
|
|
1489
1579
|
auto: "Auto",
|
|
1490
1580
|
ipv4: "IPv4",
|
|
1491
|
-
ipv6: "IPv6"
|
|
1581
|
+
ipv6: "IPv6",
|
|
1582
|
+
transport_transport_grpc: "gRPC",
|
|
1583
|
+
transport_transport_rest: "REST",
|
|
1584
|
+
parameters_record_record_json: "JSON",
|
|
1585
|
+
parameters_record_record_proto: "Protobuf"
|
|
1492
1586
|
}, n = {
|
|
1493
1587
|
async: "异步",
|
|
1494
1588
|
sync: "同步",
|
|
@@ -1586,7 +1680,11 @@ HGETALL mqtt_acl:\${username}`
|
|
|
1586
1680
|
rotation_period_day: "每天",
|
|
1587
1681
|
auto: "自动",
|
|
1588
1682
|
ipv4: "IPv4",
|
|
1589
|
-
ipv6: "IPv6"
|
|
1683
|
+
ipv6: "IPv6",
|
|
1684
|
+
transport_transport_grpc: "gRPC",
|
|
1685
|
+
transport_transport_rest: "REST",
|
|
1686
|
+
parameters_record_record_json: "JSON",
|
|
1687
|
+
parameters_record_record_proto: "Protobuf"
|
|
1590
1688
|
}, c = {
|
|
1591
1689
|
common: {
|
|
1592
1690
|
auto_restart_interval: "资源断开以后,自动重连的时间间隔。",
|
|
@@ -1598,7 +1696,7 @@ HGETALL mqtt_acl:\${username}`
|
|
|
1598
1696
|
inflight_window: "请求飞行队列窗口大小。当请求模式为异步时,如果需要严格保证来自同一 MQTT 客户端的消息有序,则必须将此值设为 1。",
|
|
1599
1697
|
query_mode: "请求模式。可选 '同步/异步',默认为'异步'模式。",
|
|
1600
1698
|
dispatch_strategy: "当请求未显式设置 pick key 时的分发策略。默认值 <code>按客户端 ID</code> 保持现有行为;设置为 <code>随机</code> 时,此类请求会随机分散到多个 worker。",
|
|
1601
|
-
request_ttl: "
|
|
1699
|
+
request_ttl: "从请求进入缓冲区开始计时,如果请求在规定的时间内仍停留在缓冲区内或者已发送但未能及时收到响应或确认,该请求将被视为过期。<br/>连接器断开连接期间,不会尝试发送消息。如果请求超期小于健康检查超时时间(<code>health_check_timeout</code>)与连接重建耗时之和,连接器断开时排队的消息可能在连接恢复前过期。<br/>建议将请求超期设置为大于健康检查超时时间,并为连接建立预留额外时间。",
|
|
1602
1700
|
start_timeout: "在回复资源创建请求前等待资源进入健康状态的时间。",
|
|
1603
1701
|
worker_pool_size: "缓存队列 worker 数量。仅对 egress 类型的桥接有意义。当桥接仅有 ingress 方向时,可设置为 0,否则必须大于 0。",
|
|
1604
1702
|
max_buffer_bytes: "每个缓存 worker 允许使用的最大字节数。",
|
|
@@ -1642,7 +1740,9 @@ HGETALL mqtt_acl:\${username}`
|
|
|
1642
1740
|
default_compression: "用于压缩 Parquet 行组中数据页的默认算法。",
|
|
1643
1741
|
def: "JSON 格式的 Avro Schema。",
|
|
1644
1742
|
audience: "指定请求 OAuth 访问令牌时提供的 `audience` 参数。",
|
|
1645
|
-
authentication: "选择 EMQX 连接 GCP 时使用的认证方式。<br/>- 服务账号 JSON:上传服务账号密钥 JSON 文件。<br/>- 工作负载身份联合 (WIF):使用外部 OIDC Token 换取 Google 凭证。<br/>- 附加服务账号:使用运行环境绑定的服务账号。"
|
|
1743
|
+
authentication: "选择 EMQX 连接 GCP 时使用的认证方式。<br/>- 服务账号 JSON:上传服务账号密钥 JSON 文件。<br/>- 工作负载身份联合 (WIF):使用外部 OIDC Token 换取 Google 凭证。<br/>- 附加服务账号:使用运行环境绑定的服务账号。",
|
|
1744
|
+
service_account_json: "包含将与 PubSub 一起使用的 GCP 服务账户凭证的 JSON。<br/>当创建 GCP 服务账户时(如 https://developers.google.com/identity/protocols/oauth2/service-account#creatinganaccount ),可以选择下载 JSON 形式的凭证,然后在该配置项中使用。",
|
|
1745
|
+
ack_deadline: "PubSub 等待订阅者确认收到消息的大致时长(尽力而为)。超过该时长后,Pub/Sub 将重新发送消息。"
|
|
1646
1746
|
},
|
|
1647
1747
|
mqtt: {
|
|
1648
1748
|
bridge_mode: "该设置仅适用于 MQTT 协议版本低于 5.0 的情况,且远程 MQTT 服务必须支持该功能。开启后,远端服务器将识别当前连接为一个桥接,消息回环检测更高效,收到的保留消息标志位会透传给本地。",
|
|
@@ -1687,24 +1787,27 @@ HGETALL mqtt_acl:\${username}`
|
|
|
1687
1787
|
template: `模板,默认值为空。当此值为空时,整个消息将存储在数据库中。<br/>模板可以是任何带有占位符的有效 JSON,并确保表中所有的键都在这里,例如:<br/> \`{'{'}"id" : "\${'{'}id{'}'}", "clientid" : "\${'{'}clientid{'}'}", "data" : "\${'{'}payload.data{'}'}"{'}'}\``,
|
|
1688
1788
|
url: "DynamoDB 的地址。",
|
|
1689
1789
|
table: "DynamoDB 的表。",
|
|
1690
|
-
aws_access_key_id: "DynamoDB
|
|
1691
|
-
aws_secret_access_key: "DynamoDB
|
|
1790
|
+
aws_access_key_id: "用于连接 DynamoDB 的 AWS 访问密钥 ID。<br/>在支持 IAM Role 认证的 EMQX 版本中,访问密钥 ID 和秘密访问密钥均留空时,将使用 EMQX 运行环境的 EC2 实例角色或 ECS 任务角色提供的临时凭据。手动配置凭据时,必须同时填写这两个字段。<br/>不支持此功能的版本仍需填写两项凭据。具体支持版本请参阅版本兼容性说明。",
|
|
1791
|
+
aws_secret_access_key: "用于连接 DynamoDB 的 AWS 秘密访问密钥。<br/>在支持 IAM Role 认证的 EMQX 版本中,访问密钥 ID 和秘密访问密钥均留空时,将使用 EMQX 运行环境的 EC2 实例角色或 ECS 任务角色提供的临时凭据。手动配置凭据时,必须同时填写这两个字段。<br/>不支持此功能的版本仍需填写两项凭据。具体支持版本请参阅版本兼容性说明。",
|
|
1692
1792
|
region: "AWS DynamoDB 所在的区域"
|
|
1693
1793
|
},
|
|
1694
1794
|
gcp_pubsub_producer: {
|
|
1695
1795
|
pipelining: "正整数,设置最大可发送的异步 HTTP 请求数量。当设置为 1 时,表示每次发送完成 HTTP 请求后都需要等待服务器返回,再继续发送下一个请求。",
|
|
1696
1796
|
connect_timeout: "连接 GCP 服务器的超时时间。",
|
|
1697
|
-
service_account_json: "包含将与 PubSub 一起使用的 GCP 服务账户凭证的 JSON。<br/>当创建 GCP 服务账户时(如 https://developers.google.com/identity/protocols/oauth2/service-account#creatinganaccount ),可以选择下载 JSON 形式的凭证,然后在该配置项中使用。",
|
|
1698
1797
|
pubsub_topic: "要发布消息的 GCP PubSub 主题。",
|
|
1699
1798
|
payload_template: "用于格式化外发信息的模板。 如果未定义,将以 JSON 格式发送所有可用的上下文。",
|
|
1700
1799
|
attributes_template: "用于格式化消息属性的模板。未定义的值将被渲染为空字符串。空键将从属性映射中删除。",
|
|
1701
1800
|
ordering_key_template: "用于格式化消息排序键的模板。未定义的值将被渲染为空字符串。如果此值为空,则不会将其添加到消息中。"
|
|
1702
1801
|
},
|
|
1802
|
+
gcp_pubsub_consumer_grpc: {
|
|
1803
|
+
authentication_initial_token_type: "工作负载身份联合(WIF)获取初始 OIDC 令牌时使用的凭证类型。",
|
|
1804
|
+
connect_timeout: "建立 GCP PubSub gRPC 连接的超时时间。",
|
|
1805
|
+
topic: "要消费的 GCP PubSub 主题。",
|
|
1806
|
+
max_outstanding_messages: "已发送给客户端但尚未处理并确认的最大消息数。达到上限时,PubSub 暂停发送消息;未确认消息数低于上限后恢复发送。设置为 0 表示不限制,默认 100。"
|
|
1807
|
+
},
|
|
1703
1808
|
gcp_pubsub_consumer: {
|
|
1704
1809
|
topic: "要消费的 GCP PubSub 主题。",
|
|
1705
1810
|
pipelining: "正整数,设置最大可发送的异步 HTTP 请求数量。当设置为 1 时,表示每次发送完成 HTTP 请求后都需要等待服务器返回,再继续发送下一个请求。",
|
|
1706
|
-
service_account_json: "包含将与 PubSub 一起使用的 GCP 服务账户凭证的 JSON。<br/>当创建 GCP 服务账户时(如 https://developers.google.com/identity/protocols/oauth2/service-account#creatinganaccount ),可以选择下载 JSON 形式的凭证,然后在该配置项中使用。",
|
|
1707
|
-
ack_deadline: "PubSub 等待订阅者确认收到消息的大致时长(尽力而为)。超过该时长后,Pub/Sub 将重新发送消息。",
|
|
1708
1811
|
pull_max_messages: `从 GCP PubSub 中在一个拉取请求里检索的最大消息数。
|
|
1709
1812
|
实际数量可能小于指定的值。`,
|
|
1710
1813
|
connect_timeout: "连接 GCP 服务器的超时时间。"
|
|
@@ -2017,6 +2120,7 @@ HGETALL mqtt_acl:\${username}`
|
|
|
2017
2120
|
doc_as_upsert: "尝试更新的文档不存在时,将更新操作当作一个插入操作,并将提供的文档当作新文档插入。"
|
|
2018
2121
|
},
|
|
2019
2122
|
s3: {
|
|
2123
|
+
region: "用于对 S3 端点请求进行签名的区域,例如 `us-west-2`。显式配置的值优先于从端点地址推断的区域。留空时会从端点地址自动推断区域;无法推断时使用 `us-east-1`。当自定义端点地址不包含预期区域时,可通过此字段指定。",
|
|
2020
2124
|
acl: "上传的对象的访问权限。",
|
|
2021
2125
|
content: "要存储的对象的内容。默认情况下,它是包含所有字段的 JSON 文本格式。支持如 ${'{'}payload{'}'} 的占位符设置。存储格式取决于变量的格式,支持二进制内容。",
|
|
2022
2126
|
bucket: "将要上传文件的存储桶的名称。需要在 S3 中预先创建好,支持 ${'{'}var{'}'} 占位符格式。",
|
|
@@ -2087,6 +2191,39 @@ HGETALL mqtt_acl:\${username}`
|
|
|
2087
2191
|
- TLS_ECDHE_ECDSA_WITH_AES_128_GCM_SHA256
|
|
2088
2192
|
- TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384
|
|
2089
2193
|
- TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256`
|
|
2194
|
+
},
|
|
2195
|
+
dameng: {
|
|
2196
|
+
dsn: "odbc.ini 中配置的 ODBC 数据源名称。设置后将忽略服务器地址、端口、驱动和字符集;用户名和密码留空时使用 DSN 中的凭据。",
|
|
2197
|
+
server: "达梦 DM8 服务器的 IP 地址或主机名,可包含端口(host:port)。未设置 ODBC DSN 时必填。",
|
|
2198
|
+
port: "达梦 DM8 服务器端口,在服务器地址未包含端口时使用。设置 ODBC DSN 后忽略此项。",
|
|
2199
|
+
driver: "odbcinst.ini 中注册的 ODBC 驱动名称(例如 DM8 ODBC DRIVER),或 EMQX 节点上驱动库的绝对路径。设置 ODBC DSN 后忽略此项。",
|
|
2200
|
+
username: "未设置 ODBC DSN 时默认为 SYSDBA;设置 DSN 时留空可使用 DSN 中配置的用户名。",
|
|
2201
|
+
charset: "传递给 ODBC 连接的字符集。设置 ODBC DSN 后忽略此项。",
|
|
2202
|
+
ssl_path: "每个 EMQX 节点上的证书目录,包含 ca-cert.pem;双向 TLS 还需 client-cert.pem 和 client-key.pem。仅在 DM8 服务器启用加密时需要,由 DM8 ODBC 驱动读取文件并完成 TLS 握手。",
|
|
2203
|
+
ssl_pwd: "SSL 证书目录中客户端加密私钥的密码;私钥未加密时可留空。",
|
|
2204
|
+
sql: "仅支持 INSERT SQL 模板,必须明确列出目标列,并在 VALUES 中使用占位符。单条与批量写入均使用参数绑定,请勿手动给占位符加引号或转义。"
|
|
2205
|
+
},
|
|
2206
|
+
zerobus: {
|
|
2207
|
+
zerobus_endpoint: "Databricks Zerobus 数据摄入服务端点,必须指定端口号。",
|
|
2208
|
+
authentication: "用于 Databricks 工作区认证的 OAuth 2.0 客户端凭据。",
|
|
2209
|
+
workspace_id: "Zerobus 使用的 Databricks 工作区 ID。",
|
|
2210
|
+
workspace_url: "Databricks 工作区 URL,EMQX 使用它构造认证端点。",
|
|
2211
|
+
client_id: "用于工作区认证的 OAuth 客户端 ID。",
|
|
2212
|
+
client_secret: "用于工作区认证的 OAuth 客户端密钥。",
|
|
2213
|
+
authentication_timeout: "请求认证令牌的超时时间。",
|
|
2214
|
+
authentication_ssl: "连接认证端点时使用的 TLS 配置。",
|
|
2215
|
+
ssl: "连接 Zerobus 数据摄入服务时使用的 TLS 配置。",
|
|
2216
|
+
transport: "连接 Zerobus 使用的传输类型。gRPC 支持 JSON 和 Protobuf,REST 仅支持 JSON。",
|
|
2217
|
+
transport_connect_timeout: "建立 Zerobus 连接的超时时间。",
|
|
2218
|
+
transport_pool_size: "Zerobus 连接池中的连接数。",
|
|
2219
|
+
transport_pipelining: "REST 连接上无需等待响应即可连续发送的 HTTP 请求数量上限。",
|
|
2220
|
+
transport_max_inactive: "REST 连接空闲多久后关闭。",
|
|
2221
|
+
catalog: "目标表所属的目录名称。",
|
|
2222
|
+
schema: "目标表所属的模式名称。",
|
|
2223
|
+
table: "Databricks 中的目标表名称。",
|
|
2224
|
+
record: "发送到 Zerobus 的记录格式。REST 传输仅支持 JSON;Protobuf 需要在 Schema Registry 中注册对应的 Schema。",
|
|
2225
|
+
schema_name: "EMQX Schema Registry 中的 Protobuf Schema 名称。",
|
|
2226
|
+
message_type: "编码数据时使用的 Protobuf 消息类型。"
|
|
2090
2227
|
}
|
|
2091
2228
|
}, l = {
|
|
2092
2229
|
common: {
|
|
@@ -2101,7 +2238,7 @@ When disabled the messages are buffered in RAM only.`,
|
|
|
2101
2238
|
inflight_window: "Query inflight window. When query_mode is set to async, this config has to be set to 1 if messages from the same MQTT client have to be strictly ordered.",
|
|
2102
2239
|
query_mode: "Query mode. Optional 'sync/async', default 'async'.",
|
|
2103
2240
|
dispatch_strategy: "The strategy for dispatching queries when a query does not set an explicit pick key. The default value <code>per_clientid</code> preserves the existing behavior. Set to <code>random</code> to spread such queries across multiple workers.",
|
|
2104
|
-
request_ttl: "Starting from the moment when the request enters the buffer, if the request remains in the buffer for the specified time or is sent but does not receive a response or acknowledgement in time, the request is considered expired.",
|
|
2241
|
+
request_ttl: "Starting from the moment when the request enters the buffer, if the request remains in the buffer for the specified time or is sent but does not receive a response or acknowledgement in time, the request is considered expired.<br/>Messages are not attempted to be sent while the connector is disconnected. If Request TTL is shorter than the health check timeout (<code>health_check_timeout</code>) plus the time needed to reestablish the connection, messages queued as the connector becomes disconnected can expire before the connection is reestablished.<br/>It is recommended to set Request TTL greater than the health check timeout, with an additional margin for connection establishment.",
|
|
2105
2242
|
start_timeout: "Time interval to wait for an auto-started resource to become healthy before responding resource creation requests.",
|
|
2106
2243
|
worker_pool_size: `The number of buffer workers. Only applicable for egress type bridges.
|
|
2107
2244
|
For bridges only have ingress direction data flow, it can be set to 0 otherwise must be greater than 0.`,
|
|
@@ -2145,7 +2282,9 @@ For bridges only have ingress direction data flow, it can be set to 0 otherwise
|
|
|
2145
2282
|
default_compression: "The default algorithm to use for compressing data pages in Parquet row groups.",
|
|
2146
2283
|
def: "Avro schema definition in JSON format.",
|
|
2147
2284
|
audience: "Specify the `audience` to be provided when requesting the OAuth access token.",
|
|
2148
|
-
authentication: "Choose how EMQX authenticates with GCP.<br/>- Service Account JSON: Upload a service account key JSON file.<br/>- Workload Identity Federation (WIF): Exchange an external OIDC token for Google credentials.<br/>- Attached Service Account: Use the service account attached to the runtime environment."
|
|
2285
|
+
authentication: "Choose how EMQX authenticates with GCP.<br/>- Service Account JSON: Upload a service account key JSON file.<br/>- Workload Identity Federation (WIF): Exchange an external OIDC token for Google credentials.<br/>- Attached Service Account: Use the service account attached to the runtime environment.",
|
|
2286
|
+
service_account_json: "JSON containing the GCP Service Account credentials to be used with PubSub.<br/>When a GCP Service Account is created (as described in https://developers.google.com/identity/protocols/oauth2/service-account#creatinganaccount), you have the option of downloading the credentials in JSON form. That's the file needed.",
|
|
2287
|
+
ack_deadline: "The approximate amount of time, on a best-effort basis, that PubSub waits for the subscriber to acknowledge receipt before resending the message."
|
|
2149
2288
|
},
|
|
2150
2289
|
mqtt: {
|
|
2151
2290
|
bridge_mode: "This setting is only for MQTT protocol version older than 5.0, and the remote MQTT broker MUST support this feature. After being enabled, the remote broker will recognize the current connection as a bridge, that loop detection will be more effective and that retained messages will be propagated correctly.",
|
|
@@ -2190,24 +2329,27 @@ For bridges only have ingress direction data flow, it can be set to 0 otherwise
|
|
|
2190
2329
|
template: `Template, the default value is empty. When this value is empty the whole message will be stored in the database.<br/>The template can be any valid JSON with placeholders and make sure all keys for table are here, example:<br/> \`{'{'}"id" : "\${'{'}id{'}'}", "clientid" : "\${'{'}clientid{'}'}", "data" : "\${'{'}payload.data{'}'}"{'}'}\``,
|
|
2191
2330
|
url: "The url of DynamoDB endpoint.",
|
|
2192
2331
|
table: "DynamoDB Table.",
|
|
2193
|
-
aws_access_key_id: "Access Key ID for connecting to DynamoDB.",
|
|
2194
|
-
aws_secret_access_key: "AWS Secret Access Key for connecting to DynamoDB.",
|
|
2332
|
+
aws_access_key_id: "AWS Access Key ID for connecting to DynamoDB.<br/>In EMQX versions that support IAM role authentication, leave both the Access Key ID and Secret Access Key blank to use temporary credentials from the EC2 instance role or ECS task role of the EMQX runtime environment. To use explicit credentials, provide both fields.<br/>Versions without this feature still require both credentials. Refer to the version compatibility notes for supported versions.",
|
|
2333
|
+
aws_secret_access_key: "AWS Secret Access Key for connecting to DynamoDB.<br/>In EMQX versions that support IAM role authentication, leave both the Access Key ID and Secret Access Key blank to use temporary credentials from the EC2 instance role or ECS task role of the EMQX runtime environment. To use explicit credentials, provide both fields.<br/>Versions without this feature still require both credentials. Refer to the version compatibility notes for supported versions.",
|
|
2195
2334
|
region: "Region of the AWS dynamo"
|
|
2196
2335
|
},
|
|
2197
2336
|
gcp_pubsub_producer: {
|
|
2198
2337
|
pipelining: "A positive integer. Whether to send HTTP requests continuously, when set to 1, it means that after each HTTP request is sent, you need to wait for the server to return and then continue to send the next request.",
|
|
2199
2338
|
connect_timeout: "The timeout when connecting to the GCP server.",
|
|
2200
|
-
service_account_json: "JSON containing the GCP Service Account credentials to be used with PubSub.<br/>When a GCP Service Account is created (as described in https://developers.google.com/identity/protocols/oauth2/service-account#creatinganaccount), you have the option of downloading the credentials in JSON form. That's the file needed.",
|
|
2201
2339
|
pubsub_topic: "The GCP PubSub topic to publish messages to.",
|
|
2202
2340
|
payload_template: "The template for formatting the outgoing messages. If undefined, will send all the available context in JSON format.",
|
|
2203
2341
|
attributes_template: "The template for formatting the outgoing message attributes. Undefined values will be rendered as empty string values. Empty keys are removed from the attribute map.",
|
|
2204
2342
|
ordering_key_template: "The template for formatting the outgoing message ordering key. Undefined values will be rendered as empty string values. This value will not be added to the message if it's empty."
|
|
2205
2343
|
},
|
|
2344
|
+
gcp_pubsub_consumer_grpc: {
|
|
2345
|
+
authentication_initial_token_type: "Credential type used to obtain the initial OIDC token for Workload Identity Federation.",
|
|
2346
|
+
connect_timeout: "Timeout when establishing a gRPC connection to GCP PubSub.",
|
|
2347
|
+
topic: "GCP PubSub topic to consume from.",
|
|
2348
|
+
max_outstanding_messages: "Maximum number of messages sent to the client that have not yet been processed and acknowledged. PubSub pauses delivery when this limit is reached and resumes when the number falls below the limit. Set to 0 for no limit. The default is 100."
|
|
2349
|
+
},
|
|
2206
2350
|
gcp_pubsub_consumer: {
|
|
2207
2351
|
topic: "GCP PubSub topic to consume from.",
|
|
2208
2352
|
pipelining: "A positive integer. Whether to send HTTP requests continuously, when set to 1, it means that after each HTTP request is sent, you need to wait for the server to return and then continue to send the next request.",
|
|
2209
|
-
service_account_json: "JSON containing the GCP Service Account credentials to be used with PubSub.<br/>When a GCP Service Account is created (as described in https://developers.google.com/identity/protocols/oauth2/service-account#creatinganaccount), you have the option of downloading the credentials in JSON form. That's the file needed.",
|
|
2210
|
-
ack_deadline: "The approximate amount of time, on a best-effort basis, that PubSub waits for the subscriber to acknowledge receipt before resending the message.",
|
|
2211
2353
|
pull_max_messages: `The maximum number of messages to retrieve from GCP PubSub in a single pull request.
|
|
2212
2354
|
The actual number may be less than the specified value.`,
|
|
2213
2355
|
connect_timeout: "The timeout when connecting to the GCP server."
|
|
@@ -2525,6 +2667,7 @@ Default: 1, i.e., the primary shard.`,
|
|
|
2525
2667
|
doc_as_upsert: "Treat the update operation as an insert operation when the document to be updated does not exist, and insert the provided document as a new document."
|
|
2526
2668
|
},
|
|
2527
2669
|
s3: {
|
|
2670
|
+
region: "The region used to sign requests to the S3 endpoint, for example `us-west-2`. An explicit value takes precedence over the region inferred from the endpoint host. Leave empty to infer the region from the host, with `us-east-1` as the fallback when no region can be inferred. Set this field for custom endpoint hosts that do not contain the intended region.",
|
|
2528
2671
|
acl: "The Access Control List (ACL) to use for the uploaded objects.",
|
|
2529
2672
|
content: "The content of the object to be uploaded supports placeholders.",
|
|
2530
2673
|
bucket: "The name of the bucket to which files will be uploaded. Needs to be pre-created in S3. Supports the ${'{'}var{'}'} placeholder format.",
|
|
@@ -2595,6 +2738,39 @@ Default: 1, i.e., the primary shard.`,
|
|
|
2595
2738
|
- TLS_ECDHE_ECDSA_WITH_AES_128_GCM_SHA256
|
|
2596
2739
|
- TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384
|
|
2597
2740
|
- TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256`
|
|
2741
|
+
},
|
|
2742
|
+
dameng: {
|
|
2743
|
+
dsn: "ODBC data source name in odbc.ini. When set, server, port, driver and charset are ignored. Leave username and password empty to use the DSN credentials.",
|
|
2744
|
+
server: "IP address or hostname of the Dameng DM8 server, optionally with a port (host:port). Required unless an ODBC DSN is set.",
|
|
2745
|
+
port: "Dameng DM8 server port, used when the server address does not contain a port. Ignored when an ODBC DSN is set.",
|
|
2746
|
+
driver: "ODBC driver registered in odbcinst.ini, such as DM8 ODBC DRIVER, or the absolute path to the driver library on the EMQX node. Ignored when an ODBC DSN is set.",
|
|
2747
|
+
username: "Defaults to SYSDBA without an ODBC DSN. With a DSN, leave empty to use the username configured in the DSN.",
|
|
2748
|
+
charset: "Character set passed to the ODBC connection. Ignored when an ODBC DSN is set.",
|
|
2749
|
+
ssl_path: "Directory on each EMQX node containing ca-cert.pem and, for mutual TLS, client-cert.pem and client-key.pem. Required only when encryption is enabled on the DM8 server. The DM8 ODBC driver loads these files and handles TLS.",
|
|
2750
|
+
ssl_pwd: "Password for the encrypted client private key in the SSL certificate directory. Leave empty if the key is not encrypted.",
|
|
2751
|
+
sql: "INSERT SQL template with an explicit target column list and placeholders in VALUES. Only INSERT statements are supported. Values are bound as query parameters for single and batched writes; do not manually quote or escape placeholders."
|
|
2752
|
+
},
|
|
2753
|
+
zerobus: {
|
|
2754
|
+
zerobus_endpoint: "Endpoint for the Databricks Zerobus ingestion service. The port number must be specified.",
|
|
2755
|
+
authentication: "OAuth 2.0 client credentials used to authenticate with the Databricks workspace.",
|
|
2756
|
+
workspace_id: "ID of the Databricks workspace used by Zerobus.",
|
|
2757
|
+
workspace_url: "URL of the Databricks workspace. EMQX uses it to construct the authentication endpoint.",
|
|
2758
|
+
client_id: "OAuth client ID used to authenticate with the workspace.",
|
|
2759
|
+
client_secret: "OAuth client secret used to authenticate with the workspace.",
|
|
2760
|
+
authentication_timeout: "Timeout for requesting an authentication token.",
|
|
2761
|
+
authentication_ssl: "TLS settings for the authentication endpoint.",
|
|
2762
|
+
ssl: "TLS settings for the Zerobus ingestion connection.",
|
|
2763
|
+
transport: "Transport used to connect to Zerobus. gRPC supports JSON and Protobuf records; REST supports JSON only.",
|
|
2764
|
+
transport_connect_timeout: "Timeout when establishing a connection to Zerobus.",
|
|
2765
|
+
transport_pool_size: "Number of connections in the Zerobus connection pool.",
|
|
2766
|
+
transport_pipelining: "Maximum number of HTTP requests that can be sent without waiting for responses on a REST connection.",
|
|
2767
|
+
transport_max_inactive: "Maximum time a REST connection can remain idle before it is closed.",
|
|
2768
|
+
catalog: "Name of the catalog containing the destination table.",
|
|
2769
|
+
schema: "Name of the schema containing the destination table.",
|
|
2770
|
+
table: "Name of the destination table in Databricks.",
|
|
2771
|
+
record: "Record format sent to Zerobus. REST transport supports JSON only. Protobuf requires a schema registered in Schema Registry.",
|
|
2772
|
+
schema_name: "Name of the Protobuf schema in EMQX Schema Registry.",
|
|
2773
|
+
message_type: "Protobuf message type used to encode the data."
|
|
2598
2774
|
}
|
|
2599
2775
|
}, d = {
|
|
2600
2776
|
title: "Streaming (beta)",
|
|
@@ -3317,7 +3493,7 @@ Default: 1, i.e., the primary shard.`,
|
|
|
3317
3493
|
checkoutTimeoutDesc: "Timeout for the checkout from connection pool for a request to the AI provider.",
|
|
3318
3494
|
confirm: "Confirm",
|
|
3319
3495
|
baseURLDesc: "The default value is {url}, or you can use any base URL that works with the {name} API format."
|
|
3320
|
-
},
|
|
3496
|
+
}, A = {
|
|
3321
3497
|
guideSourceNodeLabel: "ソース",
|
|
3322
3498
|
guideSourceNodeDesc: "複数のノードをドラッグしてメッセージとイベント入力を選択",
|
|
3323
3499
|
guideProcessingNodeLabel: "処理(任意)",
|
|
@@ -3389,7 +3565,7 @@ export {
|
|
|
3389
3565
|
d as enStreaming,
|
|
3390
3566
|
s as enSymbolLabel,
|
|
3391
3567
|
_ as jaCommon,
|
|
3392
|
-
|
|
3568
|
+
A as jaFlow,
|
|
3393
3569
|
g as jaRuleFunction,
|
|
3394
3570
|
k as jaRuleSQL,
|
|
3395
3571
|
m as jaStreaming,
|