rev:修改缓存线同步接口

This commit is contained in:
zhangzhiqiang
2023-05-21 17:18:28 +08:00
parent d07f8d3f41
commit 6ab3264a4d
5 changed files with 11 additions and 11 deletions

View File

@@ -9,13 +9,13 @@ spring:
client:
reactive:
#endpoints: 172.31.185.110:9200,172.31.154.9:9200 #内网
# endpoints: 192.168.46.225:8200 #外网
endpoints: http://192.168.46.225:8200 #外网
# endpoints: 192.168.46.2255:8200 #外网
endpoints: http://192.168.46.2255:8200 #外网
elasticsearch:
rest:
#uris: 172.31.185.110:9200,172.31.154.9:9200 #内网
# uris: 192.168.46.225:8200 #外网
uris: http://192.168.46.225:8200 #外网
# uris: 192.168.46.2255:8200 #外网
uris: http://192.168.46.2255:8200 #外网
username: elastic
password: 123456
datasource:

View File

@@ -9,13 +9,13 @@ spring:
client:
reactive:
#endpoints: 172.31.185.110:9200,172.31.154.9:9200 #内网
# endpoints: 192.168.46.225:8200 #外网
endpoints: http://192.168.46.225:8200 #外网
# endpoints: 192.168.46.2255:8200 #外网
endpoints: http://192.168.46.2255:8200 #外网
elasticsearch:
rest:
#uris: 172.31.185.110:9200,172.31.154.9:9200 #内网
# uris: 192.168.46.225:8200 #外网
uris: http://192.168.46.225:8200 #外网
# uris: 192.168.46.2255:8200 #外网
uris: http://192.168.46.2255:8200 #外网
username: elastic
password: 123456
datasource:

View File

@@ -18,7 +18,7 @@ https://juejin.cn/post/6844903775631572999
<!--引入默认的一些设置-->
<!-- <include resource="log/AutoCreateInst.xml"/>-->
<!-- <appender name="esLogAppender" class="com.internetitem.logback.elasticsearch.ElasticsearchAppender">
<url>http://192.168.46.225:8200/_bulk</url>
<url>http://192.168.46.2255:8200/_bulk</url>
<index>${esIndex}</index>
<type>mes_log</type>
<loggerName>es-logger</loggerName> &lt;!&ndash; optional &ndash;&gt;