--- title: "分片级限流处理动作配置" date: 2026-03-03 lastmod: 2026-03-03 description: "控制分片级限流触发时的处理动作" tags: ["限流配置", "写入控制", "分片管理"] summary: "配置项作用 # 当分片级限流触发时的处理动作。 默认值 # DROP 取值范围 # DROP:丢弃超出的请求 THROTTLE:延迟处理 配置格式 # # 丢弃超出的请求(默认) cluster.throttle.shard.write.action: DROP # 延迟处理 cluster.throttle.shard.write.action: THROTTLE " --- ## 配置项作用 当分片级限流触发时的处理动作。 ## 默认值 ``` DROP ``` ## 取值范围 - `DROP`:丢弃超出的请求 - `THROTTLE`:延迟处理 ## 配置格式 ```yaml # 丢弃超出的请求(默认) cluster.throttle.shard.write.action: DROP # 延迟处理 cluster.throttle.shard.write.action: THROTTLE ```