Skip to content

Configurations

Fangfang.Xu徐芳方 edited this page Apr 9, 2019 · 7 revisions

here is configurations using in spring profile

key default describe
spring.application.name null requied,use for tcc namespace and Transaction logic
easytcc.transaction.remote.realtime true real time for transaction,It takes up a small amount of resources, and it is recommended to close it eventually when the magnitude is large.事务实时处理,需占用少量资源,推荐在量级大时关闭其最终一致
easytcc.transaction.handle.threadpool.corePoolSize 15 realtime handle pool
easytcc.transaction.handle.threadpool.maxPoolSize 30
easytcc.transaction.handle.threadpool.keepAliveSeconds 60
easytcc.transaction.handle.threadpool.queueSize Integer.MAX_VALUE
easytcc.transaction.recovery.enabled true recovery
easytcc.transaction.recovery.maxRetrys 5 recovery maxRetrys for every transaction
easytcc.transaction.recovery.initialDelaySeconds 60
easytcc.transaction.recovery.periodSeconds 30
easytcc.transaction.recovery.createdBeforeSeconds 60 recovery target transactions were created before this seconds
easytcc.metrics.enabled true metrics for total、day、time consuming
easytcc.netty.server.port 16789 netty server port
easytcc.netty.server.weight 50 between 0 and 100,client loadbalance weight
easytcc.netty.client.requestTimeout 3000
easytcc.netty.client.responseTimeout 3000
easytcc.netty.heartbeat 10000
easytcc.jedisPool.host null At least one jedis Pool or jedis Sentinel Pool, jedis Sentinel Pool takes precedence
easytcc.jedisPool.port null
easytcc.jedisPool.connectionTimeout null
easytcc.jedisPool.soTimeout null
easytcc.jedisPool.password null
easytcc.jedisPool.database null
easytcc.jedisPool.maxTotal null
easytcc.jedisPool.maxIdle null
easytcc.jedisPool.minIdle null
easytcc.jedisSentinelPool.masterName null At least one jedis Pool or jedis Sentinel Pool, jedis Sentinel Pool takes precedence
easytcc.jedisSentinelPool.sentinels null
easytcc.jedisSentinelPool.connectionTimeout null
easytcc.jedisSentinelPool.soTimeout null
easytcc.jedisSentinelPool.password null
easytcc.jedisSentinelPool.database null
easytcc.jedisSentinelPool.maxTotal null
easytcc.jedisSentinelPool.maxIdle null
easytcc.jedisSentinelPool.minIdle null
Clone this wiki locally