{
|
"groups": [
|
{
|
"name": "blade.xsequence.db",
|
"type": "com.qianwen.core.sequence.properties.SequenceDbProperties",
|
"sourceType": "com.qianwen.core.sequence.properties.SequenceDbProperties"
|
},
|
{
|
"name": "blade.xsequence.redis",
|
"type": "com.qianwen.core.sequence.properties.SequenceRedisProperties",
|
"sourceType": "com.qianwen.core.sequence.properties.SequenceRedisProperties"
|
},
|
{
|
"name": "blade.xsequence.snowflake",
|
"type": "com.qianwen.core.sequence.properties.SequenceSnowflakeProperties",
|
"sourceType": "com.qianwen.core.sequence.properties.SequenceSnowflakeProperties"
|
}
|
],
|
"properties": [
|
{
|
"name": "blade.xsequence.db.biz-name",
|
"type": "java.lang.String",
|
"description": "业务名称",
|
"sourceType": "com.qianwen.core.sequence.properties.SequenceDbProperties",
|
"defaultValue": "MasterLink"
|
},
|
{
|
"name": "blade.xsequence.db.enabled",
|
"type": "java.lang.Boolean",
|
"description": "是否启用",
|
"sourceType": "com.qianwen.core.sequence.properties.SequenceDbProperties",
|
"defaultValue": false
|
},
|
{
|
"name": "blade.xsequence.db.retry-times",
|
"type": "java.lang.Integer",
|
"description": "重试次数",
|
"sourceType": "com.qianwen.core.sequence.properties.SequenceDbProperties",
|
"defaultValue": 1
|
},
|
{
|
"name": "blade.xsequence.db.step",
|
"type": "java.lang.Integer",
|
"description": "获取range步长[可选,默认:1000]",
|
"sourceType": "com.qianwen.core.sequence.properties.SequenceDbProperties",
|
"defaultValue": 1000
|
},
|
{
|
"name": "blade.xsequence.db.step-start",
|
"type": "java.lang.Long",
|
"description": "序列号分配起始值[可选:默认:0]",
|
"sourceType": "com.qianwen.core.sequence.properties.SequenceDbProperties",
|
"defaultValue": 0
|
},
|
{
|
"name": "blade.xsequence.db.table-name",
|
"type": "java.lang.String",
|
"description": "表名称",
|
"sourceType": "com.qianwen.core.sequence.properties.SequenceDbProperties",
|
"defaultValue": "blade_sequence"
|
},
|
{
|
"name": "blade.xsequence.redis.auth",
|
"type": "java.lang.String",
|
"description": "验证权限",
|
"sourceType": "com.qianwen.core.sequence.properties.SequenceRedisProperties"
|
},
|
{
|
"name": "blade.xsequence.redis.biz-name",
|
"type": "java.lang.String",
|
"description": "业务名称",
|
"sourceType": "com.qianwen.core.sequence.properties.SequenceRedisProperties",
|
"defaultValue": "MasterLink"
|
},
|
{
|
"name": "blade.xsequence.redis.enabled",
|
"type": "java.lang.Boolean",
|
"description": "是否启用",
|
"sourceType": "com.qianwen.core.sequence.properties.SequenceRedisProperties",
|
"defaultValue": false
|
},
|
{
|
"name": "blade.xsequence.redis.ip",
|
"type": "java.lang.String",
|
"description": "IP",
|
"sourceType": "com.qianwen.core.sequence.properties.SequenceRedisProperties"
|
},
|
{
|
"name": "blade.xsequence.redis.port",
|
"type": "java.lang.Integer",
|
"description": "PORT",
|
"sourceType": "com.qianwen.core.sequence.properties.SequenceRedisProperties"
|
},
|
{
|
"name": "blade.xsequence.redis.step",
|
"type": "java.lang.Integer",
|
"description": "获取range步长[可选,默认:1000]",
|
"sourceType": "com.qianwen.core.sequence.properties.SequenceRedisProperties",
|
"defaultValue": 1000
|
},
|
{
|
"name": "blade.xsequence.redis.step-start",
|
"type": "java.lang.Long",
|
"description": "序列号分配起始值[可选:默认:0]",
|
"sourceType": "com.qianwen.core.sequence.properties.SequenceRedisProperties",
|
"defaultValue": 0
|
},
|
{
|
"name": "blade.xsequence.snowflake.biz-name",
|
"type": "java.lang.String",
|
"description": "业务名称",
|
"sourceType": "com.qianwen.core.sequence.properties.SequenceSnowflakeProperties",
|
"defaultValue": "MasterLink"
|
},
|
{
|
"name": "blade.xsequence.snowflake.datacenter-id",
|
"type": "java.lang.Long",
|
"description": "数据中心ID,值的范围在[0,31]之间,一般可以设置机房的IDC[必选]",
|
"sourceType": "com.qianwen.core.sequence.properties.SequenceSnowflakeProperties",
|
"defaultValue": 0
|
},
|
{
|
"name": "blade.xsequence.snowflake.enabled",
|
"type": "java.lang.Boolean",
|
"description": "是否启用",
|
"sourceType": "com.qianwen.core.sequence.properties.SequenceSnowflakeProperties",
|
"defaultValue": false
|
},
|
{
|
"name": "blade.xsequence.snowflake.step",
|
"type": "java.lang.Integer",
|
"description": "获取range步长[可选,默认:1000]",
|
"sourceType": "com.qianwen.core.sequence.properties.SequenceSnowflakeProperties",
|
"defaultValue": 1000
|
},
|
{
|
"name": "blade.xsequence.snowflake.step-start",
|
"type": "java.lang.Long",
|
"description": "序列号分配起始值[可选:默认:0]",
|
"sourceType": "com.qianwen.core.sequence.properties.SequenceSnowflakeProperties",
|
"defaultValue": 0
|
},
|
{
|
"name": "blade.xsequence.snowflake.worker-id",
|
"type": "java.lang.Long",
|
"description": "工作机器ID,值的范围在[0,31]之间,一般可以设置机器编号[必选]",
|
"sourceType": "com.qianwen.core.sequence.properties.SequenceSnowflakeProperties",
|
"defaultValue": 0
|
}
|
],
|
"hints": []
|
}
|