| 123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990 |
- #
- # 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.
- #
- server:
- port: 8091
- spring:
- application:
- name: seata-server
- main:
- web-application-type: none
- logging:
- config: classpath:logback-spring.xml
- file:
- path: ${log.home:${user.home}/logs/seata}
- extend:
- logstash-appender:
- # off by default
- enabled: false
- destination: 127.0.0.1:4560
- kafka-appender:
- # off by default
- enabled: false
- bootstrap-servers: 127.0.0.1:9092
- topic: logback_to_logstash
- producer:
- acks: 0
- linger-ms: 1000
- max-block-ms: 0
- metric-appender:
- # off by default
- enabled: false
- seata:
- config:
- # support: nacos, consul, apollo, zk, etcd3
- type: nacos
- nacos:
- server-addr: 127.0.0.1:8848
- namespace: public
- group: SEATA_GROUP
- data-id: seataServer.properties
- registry:
- # support: nacos, eureka, redis, zk, consul, etcd3, sofa
- type: nacos
- nacos:
- application: seata-server
- server-addr: 127.0.0.1:8848
- group: SEATA_GROUP
- namespace: public
- cluster: default
- store:
- # support: file 、 db 、 redis 、 raft
- mode: db
- db:
- datasource: druid
- db-type: mysql
- driver-class-name: com.mysql.jdbc.Driver
- url: jdbc:mysql://127.0.0.1:3306/seata?rewriteBatchedStatements=true
- user: root
- password: hsp
- min-conn: 10
- max-conn: 100
- global-table: global_table
- branch-table: branch_table
- lock-table: lock_table
- distributed-lock-table: distributed_lock
- vgroup-table: vgroup_table
- query-limit: 1000
- max-wait: 5000
- druid:
- time-between-eviction-runs-millis: 120000
- min-evictable-idle-time-millis: 300000
- test-while-idle: true
- test-on-borrow: false
- keep-alive: false
- # server:
- # service-port: 8091 #If not configured, the default is '${server.port} + 1000'
|