Skip to content

Commit

Permalink
fix(mqtt): update dispatch strategy descriptions for shared subscript…
Browse files Browse the repository at this point in the history
…ions
  • Loading branch information
ysfscream authored and Kinplemelon committed Apr 8, 2024
1 parent 7e309b0 commit cf0c015
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions src/schemaText/schema-text-en.json
Original file line number Diff line number Diff line change
Expand Up @@ -1055,7 +1055,7 @@
"label": "Supported subprotocols"
},
"broker_shared_subscription_strategy": {
"desc": "Dispatch strategy for shared subscription.\n - `random`: dispatch the message to a random selected subscriber\n - `round_robin`: select the subscribers in a round-robin manner\n - `round_robin_per_group`: select the subscribers in round-robin fashion within each shared subscriber group\n - `local`: select random local subscriber otherwise select random cluster-wide\n - `sticky`: always use the last selected subscriber to dispatch, until the subscriber disconnects.\n - `hash_clientid`: select the subscribers by hashing the `clientIds`\n - `hash_topic`: select the subscribers by hashing the source topic"
"desc": "Dispatch strategy for shared subscription.\n - `random`: dispatch the message to a random selected subscriber\n - `round_robin`: select the subscribers in a round-robin manner\n - `round_robin_per_group`: select the subscribers in round-robin fashion within each shared subscriber group\n - `local`: select random local subscriber otherwise select random cluster-wide\n - `sticky`: always use the last selected subscriber to dispatch, until the subscriber disconnects.\n - `hash_clientid`: select the subscribers by hashing the `clientIds` of senders.\n - `hash_topic`: select the subscribers by hashing the source topic"
},
"fields_deflate_opts_mem_level": {
"desc": "Specifies the size of the compression state.<br/>\nLower values decrease memory usage per connection.",
Expand Down Expand Up @@ -1349,7 +1349,7 @@
},
"mqtt_shared_subscription_strategy": {
"label": "Shared Subscription Strategy",
"desc": "Dispatch strategy for shared subscription.<br/>- `random`: dispatch the message to a random selected subscriber<br/>- `round_robin`: select the subscribers in a round-robin manner<br/>- `round_robin_per_group`: select the subscribers in round-robin fashion within each shared subscriber group<br/>- `sticky`: always use the last selected subscriber to dispatch, until the subscriber disconnects.<br/>- `local`: select random local subscriber otherwise select random cluster-wide<br/>- `hash_topic`: select the subscribers by hashing the source topic<br/>- `hash_clientid`: select the subscribers by hashing the clientIds"
"desc": "Dispatch strategy for shared subscription.<br/>- `random`: dispatch the message to a random selected subscriber<br/>- `round_robin`: select the subscribers in a round-robin manner<br/>- `round_robin_per_group`: select the subscribers in round-robin fashion within each shared subscriber group<br/>- `sticky`: always use the last selected subscriber to dispatch, until the subscriber disconnects.<br/>- `local`: select random local subscriber otherwise select random cluster-wide<br/>- `hash_topic`: select the subscribers by hashing the source topic<br/>- `hash_clientid`: select the subscribers by hashing the `clientIds` of senders"
}
}
}
2 changes: 1 addition & 1 deletion src/schemaText/schema-text-zh.json
Original file line number Diff line number Diff line change
Expand Up @@ -1345,7 +1345,7 @@
},
"mqtt_shared_subscription_strategy": {
"label": "共享订阅策略",
"desc": "共享订阅的调度策略。<br/>- `random`:将消息分配给随机选择的订阅者。<br/>- `round_robin`:以循环方式选择订阅者。<br/>- `round_robin_per_group`:在每个共享订阅组内以循环方式选择订阅者。<br/>- `sticky`:始终使用最后选择的订阅者进行调度,直到订阅者断开连接。<br/>- `local`:如果本地订阅者不存在,则选择随机本地订阅者,否则选择随机集群广域订阅者。<br/>- `hash_topic`:通过主题源的哈希值选择订阅者。<br/>- `hash_clientid`:通过客户端 ID 的哈希值选择订阅者"
"desc": "共享订阅的调度策略。<br/>- `random`:将消息分配给随机选择的订阅者。<br/>- `round_robin`:以循环方式选择订阅者。<br/>- `round_robin_per_group`:在每个共享订阅组内以循环方式选择订阅者。<br/>- `sticky`:始终使用最后选择的订阅者进行调度,直到订阅者断开连接。<br/>- `local`:如果本地订阅者不存在,则选择随机本地订阅者,否则选择随机集群广域订阅者。<br/>- `hash_topic`:通过主题源的哈希值选择订阅者。<br/>- `hash_clientid`:通过对发送者的客户端 ID 进行 Hash 处理来选择订阅者"
}
}
}

0 comments on commit cf0c015

Please sign in to comment.