G.7. connectionRouters
connectionRouters.<name>.cacheConfiguration
Type: CacheConfiguration
Default:
XML name: cache
Description: Controls if the cache entries are persist and a cache removed its entries.
connectionRouters.<name>.cacheConfiguration.persisted
type: boolean
Default: false
XML name: persist
Description: true
值表示缓存条目是持久的。
connectionRouters.<name>.cacheConfiguration.timeout
Type: int
Default: -1
XML name: timeout
Description: The timeout, in milliseconds, before cache entries are removed.
connectionRouters.<name>.keyFilter
Description:
connectionRouters.<name>.keyType
Type: KeyType (CLIENT_ID SNI_HOST SOURCE_IP USER_NAME ROLE_NAME)
Default:
XML name: key-type
Description: 可选 target key。
connectionRouters.<name>.localTargetFilter
Description:
connectionRouters.<name>.poolConfiguration
Type: PoolConfiguration
Default:
XML name: pool
Description: pool configuration.
connectionRouters.<name>.poolConfiguration.quorumTimeout
Type: int
Default: 3000
XML name: quorum-timeout
Description: timeout (以毫秒为单位),用于获取最少就绪目标的数量。
connectionRouters.<name>.poolConfiguration.password
Type:
connectionRouters.<name>.poolConfiguration.localTargetEnabled
Type: boolean
Default: false
XML name: local-target-enabled
Description: true
的值表示启用了本地目标。
connectionRouters.<name>.poolConfiguration.checkPeriod
Type: int
Default: 5000
XML name: check-period
Description: The period (毫秒)用于检查目标是否已就绪。
connectionRouters.<name>.poolConfiguration.quorumSize
Type: int
Default: 1
XML name: quorum-size
Description: 最小就绪目标数。
connectionRouters.<name>.poolConfiguration.staticConnectors
Type: List
Default:
XML name: static-connectors
Description: 通过连接器配置的连接器引用列表。
connectionRouters.<name>.poolConfiguration.discoveryGroupName
Description:
connectionRouters.<name>.poolConfiguration.clusterConnection
Type:
connectionRouters.<name>.poolConfiguration.username
Type:
connectionRouters.<name>.policyConfiguration
Type: NamedPropertyConfiguration
Default:
XML name: policy-configuration
Description:
connectionRouters.<name>..properties.{PROPERTY}
Type: Properties
Default:
XML name: property
Description: 特定于每个指定属性的键值对集合。
更新于 2024-11-08