diff --git a/packages/i18n/lib/enActionsLabel.ts b/packages/i18n/lib/enActionsLabel.ts index d555503..9bf7d0c 100644 --- a/packages/i18n/lib/enActionsLabel.ts +++ b/packages/i18n/lib/enActionsLabel.ts @@ -1,4 +1,8 @@ export const enActionsLabel: Record> = { + common: { + health_check_interval: 'Health Check Interval', + query_mode: 'Query Mode', + }, kafka_producer: { topic: 'Kafka Topic', key: 'Message Key', @@ -19,8 +23,19 @@ export const enActionsLabel: Record> = { per_partition_limit: 'Per-partition Buffer Limit', segment_bytes: 'Segment File Bytes', memory_overload_protection: 'Memory Overload Protection', - query_mode: 'Query Mode', sync_query_timeout: 'Synchronous Query Timeout', - health_check_interval: 'Health Check Interval', + }, + http: { + body: 'Body', + headers: 'Headers', + method: 'Method', + path: 'URL Path', + max_retries: 'Max Retries', + worker_pool_size: 'Buffer Pool Size', + start_after_created: 'Start After Created', + start_timeout: 'Start Timeout', + request_ttl: 'Request TTL', + inflight_window: 'Inflight Window', + max_buffer_bytes: 'Max Buffer Queue Size', }, } diff --git a/packages/i18n/lib/enConnectorsLabel.ts b/packages/i18n/lib/enConnectorsLabel.ts index ea5f09c..9849b53 100644 --- a/packages/i18n/lib/enConnectorsLabel.ts +++ b/packages/i18n/lib/enConnectorsLabel.ts @@ -1,7 +1,9 @@ export const enConnectorsLabel: Record> = { + common: { + connect_timeout: 'Connect Timeout', + }, kafka_producer: { bootstrap_hosts: 'Bootstrap Hosts', - connect_timeout: 'Connect Timeout', min_metadata_refresh_interval: 'Min Metadata Refresh Interval', metadata_request_timeout: 'Metadata Request Timeout', tcp_keepalive: 'TCP Keepalive', @@ -14,4 +16,11 @@ export const enConnectorsLabel: Record> = { username: 'Username', password: 'Password', }, + http: { + url: 'URL', + headers: 'Headers', + enable_pipelining: 'HTTP Pipelining', + pool_size: 'Connection Pool Size', + pool_type: 'Pool Type', + }, } diff --git a/packages/i18n/lib/zhActionsLabel.ts b/packages/i18n/lib/zhActionsLabel.ts index a874d04..b9d8877 100644 --- a/packages/i18n/lib/zhActionsLabel.ts +++ b/packages/i18n/lib/zhActionsLabel.ts @@ -1,4 +1,8 @@ export const zhActionsLabel: Record> = { + common: { + health_check_interval: '健康检查间隔', + query_mode: '请求模式', + }, kafka_producer: { topic: 'Kafka 主题名称', key: '消息的键', @@ -19,8 +23,19 @@ export const zhActionsLabel: Record> = { per_partition_limit: 'Kafka 分区缓存上限', segment_bytes: '缓存文件大小', memory_overload_protection: '内存过载保护', - query_mode: '请求模式', sync_query_timeout: '同步查询超时时间', - health_check_interval: '健康检查间隔', + }, + http: { + body: '请求体', + headers: '请求头', + method: '请求方法', + path: 'URL 路径', + max_retries: '最大重试次数', + worker_pool_size: '缓存池大小', + start_after_created: '资源自动启动', + start_timeout: '启动超时时间', + request_ttl: '请求超期', + inflight_window: '请求飞行队列窗口', + max_buffer_bytes: '缓存队列最大长度', }, } diff --git a/packages/i18n/lib/zhConnectorsLabel.ts b/packages/i18n/lib/zhConnectorsLabel.ts index 2504fbd..b97e1d0 100644 --- a/packages/i18n/lib/zhConnectorsLabel.ts +++ b/packages/i18n/lib/zhConnectorsLabel.ts @@ -1,7 +1,9 @@ export const zhConnectorsLabel: Record> = { + common: { + connect_timeout: '连接超时', + }, kafka_producer: { bootstrap_hosts: '主机列表', - connect_timeout: '连接超时', min_metadata_refresh_interval: '元数据刷新最小间隔', metadata_request_timeout: '元数据请求超时', tcp_keepalive: 'TCP Keepalive', @@ -14,4 +16,11 @@ export const zhConnectorsLabel: Record> = { username: '用户名', password: '密码', }, + http: { + url: 'URL', + headers: '请求头', + enable_pipelining: 'HTTP 管道', + pool_size: '连接池大小', + pool_type: '连接池类型', + }, }