| # |
| # Licensed to the Apache Software Foundation (ASF) under one or more |
| # contributor license agreements. See the NOTICE file distributed with |
| # this work for additional information regarding copyright ownership. |
| # The ASF licenses this file to You under the Apache License, Version 2.0 |
| # (the "License"); you may not use this file except in compliance with |
| # the License. You may obtain a copy of the License at |
| # |
| # http://www.apache.org/licenses/LICENSE-2.0 |
| # |
| # Unless required by applicable law or agreed to in writing, software |
| # distributed under the License is distributed on an "AS IS" BASIS, |
| # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. |
| # See the License for the specific language governing permissions and |
| # limitations under the License. |
| # |
| |
| seata.enabled=true |
| seata.scan-packages=firstPackage,secondPackage |
| seata.excludes-for-scanning=firstBeanNameForExclude,secondBeanNameForExclude |
| seata.excludes-for-auto-proxying=firstClassNameForExclude,secondClassNameForExclude |
| seata.application-id=applicationName |
| seata.tx-service-group=default_tx_group |
| seata.access-key=aliyunAccessKey |
| seata.secret-key=aliyunSecretKey |
| seata.enable-auto-data-source-proxy=true |
| seata.data-source-proxy-mode=AT |
| seata.use-jdk-proxy=false |
| seata.expose-proxy=false |
| seata.client.rm.async-commit-buffer-limit=10000 |
| seata.client.rm.report-retry-count=5 |
| seata.client.rm.table-meta-check-enable=false |
| seata.client.rm.report-success-enable=false |
| seata.client.rm.saga-branch-register-enable=false |
| seata.client.rm.saga-json-parser=fastjson |
| seata.client.rm.saga-retry-persist-mode-update=false |
| seata.client.rm.saga-compensate-persist-mode-update=false |
| seata.client.rm.tcc-action-interceptor-order=-2147482648 #Ordered.HIGHEST_PRECEDENCE + 1000 |
| seata.client.rm.sql-parser-type=druid |
| seata.client.rm.lock.retry-interval=10 |
| seata.client.rm.lock.retry-times=30 |
| seata.client.rm.lock.retry-policy-branch-rollback-on-conflict=true |
| seata.client.rm.branchExecutionTimeoutXA=60000 |
| seata.client.rm.connectionTwoPhaseHoldTimeoutXA=10000 |
| seata.client.rm.applicationDataLimit=64000 |
| seata.client.rm.applicationDataLimitCheck=false |
| seata.client.tm.commit-retry-count=5 |
| seata.client.tm.rollback-retry-count=5 |
| seata.client.tm.default-global-transaction-timeout=60000 |
| seata.client.tm.degrade-check=false |
| seata.client.tm.degrade-check-allow-times=10 |
| seata.client.tm.degrade-check-period=2000 |
| seata.client.tm.interceptor-order=-2147482648 #Ordered.HIGHEST_PRECEDENCE + 1000 |
| seata.client.undo.data-validation=true |
| seata.client.undo.log-serialization=jackson |
| seata.client.undo.only-care-update-columns=true |
| seata.client.undo.log-table=undo_log |
| seata.client.undo.compress.enable=true |
| seata.client.undo.compress.type=zip |
| seata.client.undo.compress.threshold=64k |
| seata.client.load-balance.type=XID |
| seata.client.load-balance.virtual-nodes=10 |
| seata.log.exception-rate=100 |
| seata.service.vgroup-mapping.default_tx_group=default |
| seata.service.grouplist.default=127.0.0.1:8091 |
| seata.service.disable-global-transaction=false |
| seata.transport.protocol=seata |
| seata.transport.shutdown.wait=3 |
| seata.transport.thread-factory.boss-thread-prefix=NettyBoss |
| seata.transport.thread-factory.worker-thread-prefix=NettyServerNIOWorker |
| seata.transport.thread-factory.server-executor-thread-prefix=NettyServerBizHandler |
| seata.transport.thread-factory.share-boss-worker=false |
| seata.transport.thread-factory.client-selector-thread-prefix=NettyClientSelector |
| seata.transport.thread-factory.client-selector-thread-size=1 |
| seata.transport.thread-factory.client-worker-thread-prefix=NettyClientWorkerThread |
| seata.transport.thread-factory.worker-thread-size=default |
| seata.transport.thread-factory.boss-thread-size=1 |
| seata.transport.type=TCP |
| seata.transport.server=NIO |
| seata.transport.heartbeat=true |
| seata.transport.serialization=seata |
| seata.transport.compressor=none |
| seata.transport.enable-tm-client-batch-send-request=false |
| seata.transport.enable-rm-client-batch-send-request=true |
| seata.transport.rpc-rm-request-timeout=15000 |
| seata.transport.rpc-tm-request-timeout=30000 |
| |
| seata.config.type=file |
| |
| seata.config.consul.server-addr=127.0.0.1:8500 |
| seata.config.consul.acl-token= |
| |
| seata.config.apollo.apollo-meta=http://192.168.1.204:8801 |
| seata.config.apollo.apollo-accesskey-secret= |
| seata.config.apollo.app-id=seata-server |
| seata.config.apollo.namespace=application |
| seata.config.apollo.cluster= |
| |
| seata.config.etcd3.server-addr=http://localhost:2379 |
| |
| seata.config.nacos.namespace= |
| seata.config.nacos.server-addr=127.0.0.1:8848 |
| seata.config.nacos.group=SEATA_GROUP |
| seata.config.nacos.contextPath= |
| seata.config.nacos.data-id=seata.properties |
| ##1.The following configuration is for the open source version of Nacos |
| seata.config.nacos.username= |
| seata.config.nacos.password= |
| ##2.The following configuration is for the MSE Nacos on aliyun |
| #seata.config.nacos.access-key= |
| #seata.config.nacos.secret-key= |
| ##3.The following configuration is used to deploy on Aliyun ECS or ACK without authentication |
| #seata.config.nacos.ram-role-name= |
| |
| seata.config.zk.server-addr=127.0.0.1:2181 |
| seata.config.zk.session-timeout=6000 |
| seata.config.zk.connect-timeout=2000 |
| seata.config.zk.username= |
| seata.config.zk.password= |
| seata.config.zk.node-path=/seata/seata.properties |
| |
| seata.config.custom.name= |
| |
| seata.registry.type=file |
| |
| seata.registry.raft.server-addr= |
| seata.registry.raft.metadata-max-age-ms=30000 |
| seata.registry.raft.username=seata |
| seata.registry.raft.password=seata |
| seata.registry.raft.tokenValidityInMilliseconds=1740000 |
| seata.registry.raft.protocol=http |
| seata.registry.consul.server-addr=127.0.0.1:8500 |
| |
| seata.registry.etcd3.server-addr=http://localhost:2379 |
| |
| seata.registry.eureka.weight=1 |
| seata.registry.eureka.service-url=http://localhost:8761/eureka |
| |
| seata.registry.seata.server-addr=127.0.0.1:8081 |
| seata.registry.seata.namespace=public |
| seata.registry.seata.heartbeat-period=5000 |
| |
| seata.registry.nacos.application=seata-server |
| seata.registry.nacos.server-addr=127.0.0.1:8848 |
| seata.registry.nacos.group=SEATA_GROUP |
| seata.registry.nacos.namespace= |
| seata.registry.nacos.contextPath= |
| seata.registry.nacos.clientApplication=${spring.application.name} |
| ##1.The following configuration is for the open source version of Nacos |
| seata.registry.nacos.username= |
| seata.registry.nacos.password= |
| ##2.The following configuration is for the MSE Nacos on aliyun |
| #seata.registry.nacos.access-key= |
| #seata.registry.nacos.secret-key= |
| ##3.The following configuration is used to deploy on Aliyun ECS or ACK without authentication |
| #seata.registry.nacos.ram-role-name= |
| ##if use Nacos naming meta-data for SLB service registry, specify nacos address pattern rules here |
| #seata.registry.nacos.slb-pattern= |
| |
| seata.registry.redis.server-addr=localhost:6379 |
| seata.registry.redis.db=0 |
| seata.registry.redis.password= |
| seata.registry.redis.timeout=0 |
| |
| seata.registry.sofa.server-addr=127.0.0.1:9603 |
| seata.registry.sofa.region=DEFAULT_ZONE |
| seata.registry.sofa.datacenter=DefaultDataCenter |
| seata.registry.sofa.group=SEATA_GROUP |
| seata.registry.sofa.address-wait-time=3000 |
| seata.registry.sofa.application=default |
| |
| seata.registry.zk.server-addr=127.0.0.1:2181 |
| seata.registry.zk.session-timeout=6000 |
| seata.registry.zk.connect-timeout=2000 |
| seata.registry.zk.username= |
| seata.registry.zk.password= |
| |
| seata.registry.custom.name= |
| |
| seata.tcc.fence.log-table-name=tcc_fence_log |
| seata.tcc.fence.clean-period=1h |
| #You can choose from the following options: fastjson, jackson, gson |
| seata.tcc.context-json-parser-type=fastjson |
| |
| |
| seata.saga.enabled=false |
| seata.saga.state-machine.table-prefix=seata_ |
| seata.saga.state-machine.enable-async=false |
| seata.saga.state-machine.async-thread-pool.core-pool-size=1 |
| seata.saga.state-machine.async-thread-pool.max-pool-size=20 |
| seata.saga.state-machine.async-thread-pool.keep-alive-time=60 |
| seata.saga.state-machine.trans-operation-timeout=1800000 |
| seata.saga.state-machine.service-invoke-timeout=300000 |
| seata.saga.state-machine.auto-register-resources=true |
| seata.saga.state-machine.resources[0]=classpath*:seata/saga/statelang/**/*.json |
| seata.saga.state-machine.default-tenant-id=000001 |
| seata.saga.state-machine.charset=UTF-8 |