application.yml 1.7 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657
  1. #
  2. # Licensed to the Apache Software Foundation (ASF) under one or more
  3. # contributor license agreements. See the NOTICE file distributed with
  4. # this work for additional information regarding copyright ownership.
  5. # The ASF licenses this file to You under the Apache License, Version 2.0
  6. # (the "License"); you may not use this file except in compliance with
  7. # the License. You may obtain a copy of the License at
  8. #
  9. # http://www.apache.org/licenses/LICENSE-2.0
  10. #
  11. # Unless required by applicable law or agreed to in writing, software
  12. # distributed under the License is distributed on an "AS IS" BASIS,
  13. # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
  14. # See the License for the specific language governing permissions and
  15. # limitations under the License.
  16. #
  17. server:
  18. port: 8091
  19. spring:
  20. application:
  21. name: seata-server
  22. main:
  23. web-application-type: none
  24. logging:
  25. config: classpath:logback-spring.xml
  26. file:
  27. path: ${log.home:${user.home}/logs/seata}
  28. extend:
  29. logstash-appender:
  30. # off by default
  31. enabled: false
  32. destination: 127.0.0.1:4560
  33. kafka-appender:
  34. # off by default
  35. enabled: false
  36. bootstrap-servers: 127.0.0.1:9092
  37. topic: logback_to_logstash
  38. producer:
  39. acks: 0
  40. linger-ms: 1000
  41. max-block-ms: 0
  42. metric-appender:
  43. # off by default
  44. enabled: false
  45. seata:
  46. config:
  47. # support: nacos, consul, apollo, zk, etcd3
  48. type: file
  49. registry:
  50. # support: nacos, eureka, redis, zk, consul, etcd3, sofa
  51. type: file
  52. store:
  53. # support: file 、 db 、 redis 、 raft
  54. mode: file
  55. # server:
  56. # service-port: 8091 #If not configured, the default is '${server.port} + 1000'