mirror of
https://gitee.com/mirrors/Spring-Cloud-Alibaba.git
synced 2021-06-26 13:25:11 +08:00
30 lines
908 B
Properties
30 lines
908 B
Properties
server.port=18081
|
|
spring.application.name=business-service
|
|
spring.cloud.nacos.discovery.server-addr=localhost:8848
|
|
# The following configuration can be omitted.
|
|
|
|
#feign.hystrix.enabled=true
|
|
#feign.sentinel.enabled=true
|
|
feign.client.config.default.connectTimeout=10000
|
|
feign.client.config.default.readTimeout=10000
|
|
|
|
logging.level.io.seata=debug
|
|
|
|
seata.enabled=true
|
|
spring.cloud.alibaba.seata.tx-service-group=business-service
|
|
seata.service.vgroup-mapping.business-service=default
|
|
seata.service.grouplist.default=127.0.0.1:8091
|
|
seata.service.disable-global-transaction=false
|
|
|
|
spring.cloud.loadbalancer.ribbon.enabled=true
|
|
|
|
## if use registry center
|
|
#seata.registry.type=nacos
|
|
#seata.registry.nacos.cluster=default
|
|
#seata.registry.nacos.server-addr=localhost
|
|
#
|
|
## if use config center
|
|
#seata.config.type=apollo
|
|
#seata.config.apollo.apollo-meta=http://192.168.1.204:8801
|
|
#seata.config.apollo.app-id=seata-server
|