G.7. connectionRouters
connectionRouters.<name>.cacheConfiguration
type: CacheConfiguration
Default:
XML name: cache
Description: 控制缓存条目是否保留,以及缓存删除其条目的频率。
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
Template for the a filter for the target key.
connectionRouters.<name>.keyType
Type: KeyType (CLIENT_ID SNI_HOST SOURCE_IP USER_NAME ROLE_NAME)
Default:
XML name: key-type
Description: 可选的目标键。
connectionRouters.<name>.localTargetFilter
Description:
connectionRouters.<name>.poolConfiguration
Type: PoolConfiguration
Default:
XML name: pool
Description: the 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: period,以毫秒为单位,用于检查目标是否已就绪。
connectionRouters.<name>.poolConfiguration.quorumSize
type: int
Default: 1
XML name: quorum-size
Description: 最小就绪目标数量。
connectionRouters.<name>.poolConfiguration.staticConnectors
type:
Default:
XML name: static-connectors
Description: 通过连接器配置的连接器引用列表。
connectionRouters.<name>.poolConfiguration.discoveryGroupName
Description:
connectionRouters.<name>.poolConfiguration.clusterConnection
类型 :字符串
默认:
XML 名称:cluster-connection
Description: 集群连接的名称。
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: 特定于每个命名属性的一组 Key value 对。
更新于 2024-06-11