Skip to content

Commit 9c0733e

Browse files
committed
#2535 @jbellister-slac's fix to disable duplicate springboot es client
1 parent 19a3673 commit 9c0733e

File tree

1 file changed

+7
-4
lines changed

1 file changed

+7
-4
lines changed

services/alarm-logger/src/main/resources/application.properties

Lines changed: 7 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -6,21 +6,24 @@ server.port=8080
66
# Disable the spring banner
77
spring.main.banner-mode=off
88

9+
# Disable the auto configured springboot elastic client
10+
spring.autoconfigure.exclude=org.springframework.boot.autoconfigure.elasticsearch.ElasticsearchRestClientAutoConfiguration
11+
912
# Suppress the logging from spring boot during debugging this should be set to DEBUG
1013
logging.level.root=WARN
1114

1215
# Alarm topics to be logged, they can be defined as a comma separated list
1316
alarm_topics=Accelerator
1417

15-
# location of elastic node/s
18+
# Location of elastic node/s
1619
es_host=localhost
1720
es_port=9200
18-
# max default size for es queries
21+
# Max default size for es queries
1922
es_max_size=1000
20-
# set to 'true' if sniffing to be enabled to discover other cluster nodes
23+
# Set to 'true' if sniffing to be enabled to discover other cluster nodes
2124
es_sniff=false
2225

23-
# when set to true, the service will automatically create the index templates needed
26+
# When set to true, the service will automatically create the index templates needed
2427
es_create_templates=true
2528

2629
# Kafka server location

0 commit comments

Comments
 (0)