写后配置文件

写后配置文件参考

写后配置文件

属性

名称 类型 描述 是否必需
applier
(Write-behind Applier Gear的配置详情)
object, null
connections object

applier: 写后应用器齿轮的配置详情

属性

名称 类型 描述 是否必需
on_failed_retry_interval
(失败时重试的间隔时间(以秒为单位))
integer, string 默认值: 5
模式: ^\${.*}$
最小值: 1
read_batch_size
(从源数据库读取数据的批次大小)
integer, string 默认值: 2000
模式: ^\${.*}$
最小值: 1
debezium_lob_encoded_placeholder
(启用 Debezium LOB 占位符)
string 默认值: "X19kZWJleml1bV91bmF2YWlsYWJsZV92YWx1ZQ=="
dedup
(启用去重机制)
boolean 默认值: false
dedup_max_size
(去重集合的最大大小)
integer 默认值: 1024
最小值: 1
duration
(时间(以毫秒为单位),即使未达到read_batch_size,数据也将从流中读取)
integer, string 默认值: 100
模式: ^\${.*}$
最小值: 1
write_batch_size
(写入目标Redis数据库的数据批次大小。应小于或等于read_batch_size)
integer, string 默认值: 200
模式: ^\${.*}$
最小值: 1
error_handling
(错误处理策略:ignore - 跳过,dlq - 将拒绝的消息存储在死信队列中)
string 默认值:"dlq"
模式:``^${.*}$
ignore dlq``
dlq_max_messages
(死信队列每个流的最大消息数)
integer, string 默认值: 1000
模式: ^\${.*}$
最小值: 1
target_data_type
(目标数据类型: hash/json - 目标数据库必须使用RedisJSON模块)
string 默认值: "hash"
模式: ``^${.*}$
hash json``
json_update_strategy
(目标更新策略:替换/合并 - 目标数据库中必须使用RedisJSON模块)
string (已弃用)
属性'json_update_strategy'将在未来的版本中弃用。使用'on_update'作业级别属性来定义json更新策略。
默认值:"replace"
模式:``^${.*}$
replace merge``
initial_sync_processes
(Write-behind Engine 创建的用于处理与源初始同步的进程数)
integer, string 默认值: 4
模式: ^\${.*}$
最小值: 1
最大值: 32
wait_enabled
(检查数据是否已写入副本分片)
boolean 默认值:false
wait_timeout
(检查写入副本分片时的超时时间,单位为毫秒)
integer, string 默认值: 1000
模式: ^\${.*}$
最小值: 1
retry_on_replica_failure
(确保数据已写入副本分片,如果未写入则持续重试)
boolean 默认值: true

附加属性: 不允许

连接: 连接

属性(模式)

名称 类型 描述 是否必需
.*
additionalProperties
RATE THIS PAGE
Back to top ↑