application.yml
1.46 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
server:
port: 8001
spring:
application:
name: project-gis
serverlet:
encoding:
charset: utf-8
force: true
main:
allow-bean-definition-overriding: true
cloud:
nacos:
discovery:
server-addr: nacos-server:8848
group: project
config:
server-addr: nacos-server:8848
group: project
file-extension: yaml
config:
import:
- optional:nacos:project-gis.yaml
- optional:nacos:datasource-config.yaml
- optional:nacos:redis-config.yaml
data:
elasticsearch:
cluster_name: dituhui-cluster
cluster_nodes: 10.0.5.40:52000,10.0.5.110:52000,10.0.5.237:52000
fendan_cluster_name: dituhui-cluster
fendan_cluster_nodes: 10.0.5.40:52000,10.0.5.110:52000,10.0.5.237:52000
kafka:
producer:
retries: 0
acks: 1
value-serializer: org.apache.kafka.common.serialization.StringSerializer
# AreaDataset pg数据库
area:
server: project-pg:5432
db: wes
user: postgres
password: postgres
# geometry 服务依赖配置
geometry:
ribbon:
ReadTimeout: 10000
ConnectTimeout: 2000
MaxAutoRetriesNextServer: 3
MaxAutoRetries: 1
OkToRetryOnAllOperations: true
ServerListRefreshInterval: 2000
seata:
application-id: ${spring.application.name}
tx-service-group: ${spring.application.name}-group
service:
vgroup-mapping:
project-gis-group: default
grouplist:
default: seata-server:8091