META-INF.spring-configuration-metadata.json Maven / Gradle / Ivy
{
"groups": [
{
"name": "eventbus",
"type": "com.github.likavn.eventbus.prop.BusProperties",
"sourceType": "com.github.likavn.eventbus.prop.BusProperties"
},
{
"name": "eventbus.test-connect",
"type": "com.github.likavn.eventbus.core.metadata.BusConfig$TestConnect",
"sourceType": "com.github.likavn.eventbus.core.metadata.BusConfig"
},
{
"name": "eventbus.fail",
"type": "com.github.likavn.eventbus.core.metadata.BusConfig$Fail",
"sourceType": "com.github.likavn.eventbus.core.metadata.BusConfig"
},
{
"name": "eventbus.redis",
"type": "com.github.likavn.eventbus.prop.BusProperties$RedisProperties",
"sourceType": "com.github.likavn.eventbus.prop.BusProperties"
}
],
"properties": [
{
"name": "eventbus.service-id",
"type": "java.lang.String",
"description":"服务ID/消息来源ID,可以不用配置,默认为:spring.application.name",
"sourceType": "com.github.likavn.eventbus.core.metadata.BusConfig",
"defaultValue": "${spring.application.name}"
},
{
"name": "eventbus.type",
"type": "java.lang.String",
"description":"消息引擎类别(redis、rabbitmq、rocketmq) ",
"sourceType": "com.github.likavn.eventbus.core.metadata.BusConfig"
},
{
"name": "eventbus.old-type",
"type": "java.lang.String",
"description":"原消息引擎类别(redis、rabbitmq、rocketmq),用于消息引擎切换时兼容原始消息,消息引擎没做迁移时可不做配置",
"sourceType": "com.github.likavn.eventbus.core.metadata.BusConfig"
},
{
"name": "eventbus.concurrency",
"type": "java.lang.Integer",
"description":"异步消息接收并发数,默认为:2",
"sourceType": "com.github.likavn.eventbus.core.metadata.BusConfig",
"defaultValue": 2
},
{
"name": "eventbus.retry-concurrency",
"type": "java.lang.Integer",
"description":"重发/重试消息接收并发数,默认为:1",
"sourceType": "com.github.likavn.eventbus.core.metadata.BusConfig",
"defaultValue": 1
},
{
"name": "eventbus.msg-batch-size",
"type": "java.lang.Integer",
"description":"单次获取消息数量,默认:16条",
"sourceType": "com.github.likavn.eventbus.core.metadata.BusConfig",
"defaultValue": 16
},
{
"name": "eventbus.test-connect.poll-second",
"type": "java.lang.Long",
"description":"轮询检测时间间隔,单位:秒,默认:35秒进行检测一次",
"sourceType": "com.github.likavn.eventbus.core.metadata.BusConfig$TestConnect",
"defaultValue": 35
},
{
"name": "eventbus.test-connect.lose-connect-max-milli-second",
"type": "java.lang.Long",
"description":"丢失连接最长时间大于等于次值设置监听容器为连接断开,单位:秒,默认:120秒",
"sourceType": "com.github.likavn.eventbus.core.metadata.BusConfig$TestConnect",
"defaultValue": 120
},
{
"name": "eventbus.fail.retry-count",
"type": "java.lang.Integer",
"description":"消息投递失败时,一定时间内再次进行投递的次数,默认:3次",
"sourceType": "com.github.likavn.eventbus.core.metadata.BusConfig$Fail",
"defaultValue": 3
},
{
"name": "eventbus.fail.next-time",
"type": "java.lang.Long",
"description":"失败重试下次触发时间,单位:秒,默认10秒 ,(rocketMq为18个延时消息级别)",
"sourceType": "com.github.likavn.eventbus.core.metadata.BusConfig$Fail",
"defaultValue": 10
},
{
"name": "eventbus.redis.poll-thread-pool-size",
"type": "java.lang.Integer",
"description": "轮询时拉取Redis Stream中消息的线程池大小,默认为:2",
"sourceType": "com.github.likavn.eventbus.prop.BusProperties$RedisProperties",
"defaultValue": 2
},
{
"name": "eventbus.redis.poll-block-millis",
"type": "java.lang.Long",
"description": "轮询时拉取Redis Stream中消息的阻塞时间,单位:毫秒,默认为:5ms",
"sourceType": "com.github.likavn.eventbus.prop.BusProperties$RedisProperties",
"defaultValue": 5
},
{
"name": "eventbus.redis.deliver-group-thread-pool-size",
"type": "java.lang.Integer",
"description": "投递消息的初始化线程池大小,默认为:5",
"sourceType": "com.github.likavn.eventbus.prop.BusProperties$RedisProperties",
"defaultValue": 5
},
{
"name": "eventbus.redis.deliver-group-thread-keep-alive-time",
"type": "java.lang.Long",
"description": "投递消息线程池中空闲线程存活时长,单位:毫秒,默认为:60s",
"sourceType": "com.github.likavn.eventbus.prop.BusProperties$RedisProperties",
"defaultValue": 60000
},
{
"name": "eventbus.redis.deliver-timeout",
"type": "java.lang.Long",
"description": "消息超时时间,超时消息未被确认,才会被重新投递,单位:秒,默认:5分钟",
"sourceType": "com.github.likavn.eventbus.prop.BusProperties$RedisProperties",
"defaultValue": 300
},
{
"name": "eventbus.redis.pending-messages-batch-size",
"type": "java.lang.Integer",
"description": "未确认消息,重新投递时每次最多拉取多少条待确认消息数据,默认:100条;",
"sourceType": "com.github.likavn.eventbus.prop.BusProperties$RedisProperties",
"defaultValue": 100
},
{
"name": "eventbus.redis.stream-expired-hours",
"type": "java.lang.Long",
"description": "stream 过期时间,6.2及以上版本支持,单位:小时,默认:3 天",
"sourceType": "com.github.likavn.eventbus.prop.BusProperties$RedisProperties",
"defaultValue": 72
},
{
"name": "eventbus.redis.stream-expired-length",
"type": "java.lang.Long",
"description": "stream 过期数据截取,值为当前保留的消息数,5.0~<6.2版本支持,单位:条,默认:10000条",
"sourceType": "com.github.likavn.eventbus.prop.BusProperties$RedisProperties",
"defaultValue": 10000
}
],
"hints": []
}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy