mirror of
https://github.com/bytedance/g3.git
synced 2026-05-03 14:10:39 +00:00
g3proxy: only allow id match in user egress path selection
This commit is contained in:
parent
2997dc815c
commit
e3ae1fa2f7
21 changed files with 161 additions and 337 deletions
|
|
@ -24,16 +24,11 @@ or just one :ref:`peer <config_escaper_dynamic_peer>`.
|
|||
|
||||
The following egress path selection methods is supported:
|
||||
|
||||
* :ref:`by json <proto_egress_path_selection_by_json>`
|
||||
* :ref:`by id map <proto_egress_path_selection_by_id_map>`
|
||||
|
||||
The json value will be either of:
|
||||
If matched, a :ref:`peer <config_escaper_dynamic_peer>` with the same `ID` will be used.
|
||||
|
||||
- just one :ref:`peer <config_escaper_dynamic_peer>`
|
||||
- an array of :ref:`peer <config_escaper_dynamic_peer>`, a random one will be selected
|
||||
- just one :ref:`peer id <config_escaper_dynamic_peer_id>`, the ID should be present in escaper config
|
||||
- an array of :ref:`peer id <config_escaper_dynamic_peer_id>`, a usable ID wil be selected randomly
|
||||
|
||||
.. versionadded:: 1.7.22
|
||||
.. versionadded:: 1.9.0
|
||||
|
||||
Config Keys
|
||||
===========
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue