emqx/apps/emqx_resource/i18n/emqx_resource_schema_i18n.conf

162 lines
3.9 KiB
Plaintext
Raw Permalink Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

emqx_resource_schema {
resource_opts {
desc {
en: """Resource options."""
zh: """资源相关的选项。"""
}
label {
en: """Resource Options"""
zh: """资源选项"""
}
}
creation_opts {
desc {
en: """Creation options."""
zh: """资源启动相关的选项。"""
}
label {
en: """Creation Options"""
zh: """资源启动选项"""
}
}
worker_pool_size {
desc {
en: """The number of buffer workers. Only applicable for egress type bridges.
For bridges only have ingress direction data flow, it can be set to 0 otherwise must be greater than 0."""
zh: """缓存队列 worker 数量。仅对 egress 类型的桥接有意义。当桥接仅有 ingress 方向时,可设置为 0否则必须大于 0。"""
}
label {
en: """Buffer Pool Size"""
zh: """缓存池大小"""
}
}
health_check_interval {
desc {
en: """Health check interval, in milliseconds."""
zh: """健康检查间隔,单位毫秒。"""
}
label {
en: """Health Check Interval"""
zh: """健康检查间隔"""
}
}
start_after_created {
desc {
en: """Whether start the resource right after created."""
zh: """是否在创建资源后立即启动资源。"""
}
label {
en: """Start After Created"""
zh: """创建后立即启动"""
}
}
start_timeout {
desc {
en: """If 'start_after_created' enabled, how long time do we wait for the resource get started, in milliseconds."""
zh: """如果选择了创建后立即启动资源,此选项用来设置等待资源启动的超时时间,单位毫秒。"""
}
label {
en: """Start Timeout"""
zh: """启动超时时间"""
}
}
auto_restart_interval {
desc {
en: """The auto restart interval after the resource is disconnected, in milliseconds."""
zh: """资源断开以后,自动重连的时间间隔,单位毫秒。"""
}
label {
en: """Auto Restart Interval"""
zh: """自动重连间隔"""
}
}
query_mode {
desc {
en: """Query mode. Optional 'sync/async', default 'sync'."""
zh: """请求模式。可选 '同步/异步',默认为'同步'模式。"""
}
label {
en: """Query mode"""
zh: """请求模式"""
}
}
enable_batch {
desc {
en: """Batch mode enabled."""
zh: """启用批量模式。"""
}
label {
en: """Enable batch"""
zh: """启用批量模式"""
}
}
enable_queue {
desc {
en: """Enable disk buffer queue (only applicable for egress bridges).
When Enabled, messages will be buffered on disk when the bridge connection is down.
When disabled the messages are buffered in RAM only."""
zh: """启用磁盘缓存队列(仅对 egress 方向桥接有用)。"""
}
label {
en: """Enable disk buffer queue"""
zh: """启用磁盘缓存队列"""
}
}
async_inflight_window {
desc {
en: """Async query inflight window."""
zh: """异步请求飞行队列窗口大小。"""
}
label {
en: """Async inflight window"""
zh: """异步请求飞行队列窗口"""
}
}
batch_size {
desc {
en: """Maximum batch count. If equal to 1, there's effectively no batching."""
zh: """批量请求大小。如果设为1则无批处理。"""
}
label {
en: """Batch size"""
zh: """批量请求大小"""
}
}
batch_time {
desc {
en: """Maximum batch waiting interval."""
zh: """最大批量请求等待时间。"""
}
label {
en: """Batch time"""
zh: """批量等待间隔"""
}
}
max_queue_bytes {
desc {
en: """Maximum number of bytes to buffer for each buffer worker."""
zh: """每个缓存 worker 允许使用的最大字节数。"""
}
label {
en: """Max buffer queue size"""
zh: """缓存队列最大长度"""
}
}
}