初始化提交代码

This commit is contained in:
lewis492772550 2022-03-30 15:07:18 +08:00
parent 3998cc152f
commit b314fea878
160 changed files with 207504 additions and 0 deletions

32
.classpath Normal file
View File

@ -0,0 +1,32 @@
<?xml version="1.0" encoding="UTF-8"?>
<classpath>
<classpathentry kind="src" output="target/classes" path="src/main/java">
<attributes>
<attribute name="optional" value="true"/>
<attribute name="maven.pomderived" value="true"/>
</attributes>
</classpathentry>
<classpathentry excluding="**" kind="src" output="target/classes" path="src/main/resources">
<attributes>
<attribute name="maven.pomderived" value="true"/>
</attributes>
</classpathentry>
<classpathentry kind="src" output="target/test-classes" path="src/test/java">
<attributes>
<attribute name="optional" value="true"/>
<attribute name="maven.pomderived" value="true"/>
<attribute name="test" value="true"/>
</attributes>
</classpathentry>
<classpathentry kind="con" path="org.eclipse.jdt.launching.JRE_CONTAINER/org.eclipse.jdt.internal.debug.ui.launcher.StandardVMType/JavaSE-1.8">
<attributes>
<attribute name="maven.pomderived" value="true"/>
</attributes>
</classpathentry>
<classpathentry kind="con" path="org.eclipse.m2e.MAVEN2_CLASSPATH_CONTAINER">
<attributes>
<attribute name="maven.pomderived" value="true"/>
</attributes>
</classpathentry>
<classpathentry kind="output" path="target/classes"/>
</classpath>

117
.mvn/wrapper/MavenWrapperDownloader.java vendored Normal file
View File

@ -0,0 +1,117 @@
/*
* Copyright 2007-present the original author or authors.
*
* Licensed 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
*
* https://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.
*/
import java.net.*;
import java.io.*;
import java.nio.channels.*;
import java.util.Properties;
public class MavenWrapperDownloader {
private static final String WRAPPER_VERSION = "0.5.6";
/**
* Default URL to download the maven-wrapper.jar from, if no 'downloadUrl' is provided.
*/
private static final String DEFAULT_DOWNLOAD_URL = "https://repo.maven.apache.org/maven2/io/takari/maven-wrapper/"
+ WRAPPER_VERSION + "/maven-wrapper-" + WRAPPER_VERSION + ".jar";
/**
* Path to the maven-wrapper.properties file, which might contain a downloadUrl property to
* use instead of the default one.
*/
private static final String MAVEN_WRAPPER_PROPERTIES_PATH =
".mvn/wrapper/maven-wrapper.properties";
/**
* Path where the maven-wrapper.jar will be saved to.
*/
private static final String MAVEN_WRAPPER_JAR_PATH =
".mvn/wrapper/maven-wrapper.jar";
/**
* Name of the property which should be used to override the default download url for the wrapper.
*/
private static final String PROPERTY_NAME_WRAPPER_URL = "wrapperUrl";
public static void main(String args[]) {
System.out.println("- Downloader started");
File baseDirectory = new File(args[0]);
System.out.println("- Using base directory: " + baseDirectory.getAbsolutePath());
// If the maven-wrapper.properties exists, read it and check if it contains a custom
// wrapperUrl parameter.
File mavenWrapperPropertyFile = new File(baseDirectory, MAVEN_WRAPPER_PROPERTIES_PATH);
String url = DEFAULT_DOWNLOAD_URL;
if(mavenWrapperPropertyFile.exists()) {
FileInputStream mavenWrapperPropertyFileInputStream = null;
try {
mavenWrapperPropertyFileInputStream = new FileInputStream(mavenWrapperPropertyFile);
Properties mavenWrapperProperties = new Properties();
mavenWrapperProperties.load(mavenWrapperPropertyFileInputStream);
url = mavenWrapperProperties.getProperty(PROPERTY_NAME_WRAPPER_URL, url);
} catch (IOException e) {
System.out.println("- ERROR loading '" + MAVEN_WRAPPER_PROPERTIES_PATH + "'");
} finally {
try {
if(mavenWrapperPropertyFileInputStream != null) {
mavenWrapperPropertyFileInputStream.close();
}
} catch (IOException e) {
// Ignore ...
}
}
}
System.out.println("- Downloading from: " + url);
File outputFile = new File(baseDirectory.getAbsolutePath(), MAVEN_WRAPPER_JAR_PATH);
if(!outputFile.getParentFile().exists()) {
if(!outputFile.getParentFile().mkdirs()) {
System.out.println(
"- ERROR creating output directory '" + outputFile.getParentFile().getAbsolutePath() + "'");
}
}
System.out.println("- Downloading to: " + outputFile.getAbsolutePath());
try {
downloadFileFromURL(url, outputFile);
System.out.println("Done");
System.exit(0);
} catch (Throwable e) {
System.out.println("- Error downloading");
e.printStackTrace();
System.exit(1);
}
}
private static void downloadFileFromURL(String urlString, File destination) throws Exception {
if (System.getenv("MVNW_USERNAME") != null && System.getenv("MVNW_PASSWORD") != null) {
String username = System.getenv("MVNW_USERNAME");
char[] password = System.getenv("MVNW_PASSWORD").toCharArray();
Authenticator.setDefault(new Authenticator() {
@Override
protected PasswordAuthentication getPasswordAuthentication() {
return new PasswordAuthentication(username, password);
}
});
}
URL website = new URL(urlString);
ReadableByteChannel rbc;
rbc = Channels.newChannel(website.openStream());
FileOutputStream fos = new FileOutputStream(destination);
fos.getChannel().transferFrom(rbc, 0, Long.MAX_VALUE);
fos.close();
rbc.close();
}
}

BIN
.mvn/wrapper/maven-wrapper.jar vendored Normal file

Binary file not shown.

2
.mvn/wrapper/maven-wrapper.properties vendored Normal file
View File

@ -0,0 +1,2 @@
distributionUrl=https://repo.maven.apache.org/maven2/org/apache/maven/apache-maven/3.6.3/apache-maven-3.6.3-bin.zip
wrapperUrl=https://repo.maven.apache.org/maven2/io/takari/maven-wrapper/0.5.6/maven-wrapper-0.5.6.jar

40
.project Normal file
View File

@ -0,0 +1,40 @@
<?xml version="1.0" encoding="UTF-8"?>
<projectDescription>
<name>es</name>
<comment></comment>
<projects>
</projects>
<buildSpec>
<buildCommand>
<name>org.eclipse.wst.common.project.facet.core.builder</name>
<arguments>
</arguments>
</buildCommand>
<buildCommand>
<name>org.eclipse.jdt.core.javabuilder</name>
<arguments>
</arguments>
</buildCommand>
<buildCommand>
<name>org.springframework.ide.eclipse.boot.validation.springbootbuilder</name>
<arguments>
</arguments>
</buildCommand>
<buildCommand>
<name>org.springframework.ide.eclipse.core.springbuilder</name>
<arguments>
</arguments>
</buildCommand>
<buildCommand>
<name>org.eclipse.m2e.core.maven2Builder</name>
<arguments>
</arguments>
</buildCommand>
</buildSpec>
<natures>
<nature>org.springframework.ide.eclipse.core.springnature</nature>
<nature>org.eclipse.jdt.core.javanature</nature>
<nature>org.eclipse.m2e.core.maven2Nature</nature>
<nature>org.eclipse.wst.common.project.facet.core.nature</nature>
</natures>
</projectDescription>

9
HELP.md Normal file
View File

@ -0,0 +1,9 @@
# Getting Started
### Reference Documentation
For further reference, please consider the following sections:
* [Official Apache Maven documentation](https://maven.apache.org/guides/index.html)
* [Spring Boot Maven Plugin Reference Guide](https://docs.spring.io/spring-boot/docs/2.4.3/maven-plugin/reference/html/)
* [Create an OCI image](https://docs.spring.io/spring-boot/docs/2.4.3/maven-plugin/reference/html/#build-image)

4
RabbitMQ.md Normal file
View File

@ -0,0 +1,4 @@
1.对新增用户授权:
到RabbitMQ的sbin目录下执行rabbitmqctl set_user_tags 新用户名 administrator
2. 列出所有用户:
rabbitmqctl list_users

152
RestHighLevelClientDemo.md Normal file
View File

@ -0,0 +1,152 @@
/**
*该实例代码包括了自定义评分function_score(用script评分)以及精确匹配包含script筛选已经用script排序
*/
public List<GoodsDto> searchByKey(String key) {
/**
* 自定义评分计算
*/
BoolQueryBuilder boolQueryBuilder = new BoolQueryBuilder();
// 混合查询
boolQueryBuilder.must(QueryBuilders.multiMatchQuery("飞利浦", "title", "short_title", "goods_description")
.minimumShouldMatch("1").type(Type.BEST_FIELDS).tieBreaker(0.3f));
//根据当前价格(有活动价的取活动价,没有活动价取当前价)筛选
Map<String, Object> params = new HashMap<String, Object>();
params.put("lprice", 100.0);
params.put("hprice", 200.0);
Script script = new Script(ScriptType.INLINE, "painless",
"if(doc['goods_price_activity'].size()>0){doc['goods_price_activity'].value>params['lprice'] && doc['goods_price_activity'].value<params['hprice']} else {doc['goods_price_now'].value>params['lprice'] && doc['goods_price_now'].value<params['hprice']}",
params);
boolQueryBuilder.must(
QueryBuilders.scriptQuery(script)
);
// 精确匹配查询
Map<String, Object> parameters = new HashMap<String, Object>();
parameters.put("ntime", System.currentTimeMillis());
Script inline = new Script(ScriptType.INLINE, "painless",
"doc['begin_time'].size()>0 && doc['end_time'].size()>0 && doc['begin_time'].value.toInstant().toEpochMilli() < params['ntime'] && doc['end_time'].value.toInstant().toEpochMilli() > params['ntime'] ? doc['goods_price_activity'].value:doc['goods_price_now'].value",
parameters);
ScriptScoreFunctionBuilder scriptFunction = ScoreFunctionBuilders.scriptFunction(inline);
// FunctionScoreQueryBuilder.FilterFunctionBuilder[] filterFunctionBuilders = new FunctionScoreQueryBuilder.FilterFunctionBuilder[] {
// filterFunctionBuilder2 };
FunctionScoreQueryBuilder query = QueryBuilders.functionScoreQuery(boolQueryBuilder, scriptFunction);
SearchSourceBuilder builder = new SearchSourceBuilder();
builder.size(10).query(boolQueryBuilder);
builder.query(query);
builder.sort("_score", SortOrder.DESC);
Script script2 = new Script(
"doc['goods_price_activity'].size()>0? doc['goods_price_activity'].value:doc['goods_price_now'].value");
ScriptSortBuilder scriptSortBuilder = new ScriptSortBuilder(script2,ScriptSortType.NUMBER);
builder.sort(scriptSortBuilder.order(SortOrder.DESC));
return esUtil.search("goods_list", builder, GoodsDto.class);
}
kibana的rest请求写法
GET goods_list/_search
{
"query": {
"bool": {
"must": [
{"multi_match": {
"query": "",
"type": "best_fields",
"fields": ["title","short_title","goods_description"],
"tie_breaker": 0.3
}
},
{
"script": {
"script": {
"lang":"painless",
"source": "if(doc['goods_price_activity'].size()>0){doc['goods_price_activity'].value>params['lprice'] && doc['goods_price_activity'].value<params['hprice']} else {doc['goods_price_now'].value>params['lprice'] && doc['goods_price_now'].value<params['hprice']}",
"params": {
"lprice":100.0,
"hprice":200.0
}
}
}
}
],
"filter": [
{"term": {
"terminal_code": "6"
}}
]
}
},
"sort": [
{
"_script" : {
"script" : {
"source" : "doc['goods_price_activity'].size()>0? doc['goods_price_activity'].value:doc['goods_price_now'].value"
},
"type" : "number",
"order" : "desc"
}
}
],
"from": 0,
"size": 100
}
//最接近生产使用的rest调用示例
GET goods_list/_search
{
"query": {
"bool": {
"must": [
{"multi_match": {
"query": "摩飞冷暖风机",
"type": "best_fields",
"fields": ["title","short_title","goods_description"],
"tie_breaker": 0.3
}
},
{
"script": {
"script": {
"lang":"painless",
"source": "if(doc['goods_price_activity'].size()>0){doc['goods_price_activity'].value>params['lprice'] && doc['goods_price_activity'].value<params['hprice']} else {doc['goods_price_now'].value>params['lprice'] && doc['goods_price_now'].value<params['hprice']}",
"params": {
"lprice":100.0,
"hprice":200.0
}
}
}
}
],
"filter": [
{"term": {
"terminal_code": "6"
}
},
{
"term": {
"terminal_code": "7"
}
},
{
"term": {
"terminal_code": "8"
}
}
]
}
},
"sort": [
{
"sale_time": {
"order": "desc"
}
}
],
"from": 0,
"size": 100
}

39
application.properties Normal file
View File

@ -0,0 +1,39 @@
server.port=8001
# Elasticsearch
# 9200端口是用来让HTTP REST API来访问ElasticSearch而9300端口是传输层监听的默认端口
elasticsearch.ip=192.168.1.180
elasticsearch.port=9200
#RabbitMQ配置
spring.rabbitmq.host=121.199.10.140
spring.rabbitmq.port=5672
spring.rabbitmq.username=admin
spring.rabbitmq.password=admin
spring.rabbitmq.virtual-host=/
spring.rabbitmq.connection-timeout=1000
# 开启ACK
spring.rabbitmq.listener.direct.acknowledge-mode=manual
spring.rabbitmq.listener.simple.acknowledge-mode=manual
goods.mq.name=goodsQueue
#http_pool配置
httpPool.max_total=200
httpPool.default_max_per_route= 100
httpPool.connect_timeout= 5000
httpPool.connection_request_timeout: 1000
httpPool.socket_timeout= 65000
httpPool.validate_after_inactivity= 2000
#Redis配置
spring.redis.host=192.168.1.178
spring.redis.port=6379
spring.redis.database=0
spring.redis.password=admin123456
spring.redis.timeout=1000
#请求米合的uri
mihe.uri = http://y.ruwii.com
#日志配置
logging.config=log4j2.properties

66
log4j2.properties Normal file
View File

@ -0,0 +1,66 @@
status = error
name = PropertiesConfig
property.filename = logs/rollingtest.log
filters = threshold
filter.threshold.type = ThresholdFilter
filter.threshold.level = debug
appenders = console, I, W
#\u4E0D\u8981\u8F93\u51FA\u5230console\uFF0C\u8981\u517B\u6210\u770B\u65E5\u5FD7\u6587\u4EF6\u7684\u4E60\u60EF
#appenders =I, W
appender.console.type = Console
appender.console.name = STDOUT
appender.console.target = SYSTEM_OUT
appender.console.layout.type = PatternLayout
appender.console.layout.pattern = %-d{yyyy-MM-dd HH:mm:ss} [traceId:%X{traceId}] [ %p ] [ %c ] %m%n
appender.I.type = RollingFile
appender.I.name = InfoRollingFile
appender.I.fileName = logs/info/info.log
appender.I.filePattern = logs/info/info_%d{yyyy-MM-dd}.log.%i
appender.I.layout.type = PatternLayout
appender.I.layout.pattern = %-d{yyyy-MM-dd HH:mm:ss} [traceId:%X{traceId}] [ %p ] [ %c ] %m%n
appender.I.policies.type = Policies
appender.I.policies.time.type = TimeBasedTriggeringPolicy
appender.I.policies.time.interval = 1
appender.I.policies.time.modulate = true
appender.I.policies.size.type = SizeBasedTriggeringPolicy
appender.I.policies.size.size=100M
appender.I.strategy.type = DefaultRolloverStrategy
appender.I.strategy.max = 10000
appender.I.filter.threshold.type = ThresholdFilter
appender.I.filter.threshold.level = WARN
appender.I.filter.threshold.onMatch = DENY
appender.I.filter.threshold.onMisMatch=NEUTRAL
appender.W.type = RollingFile
appender.W.name = ErrorRollingFile
appender.W.fileName = logs/error/error.log
appender.W.filePattern = logs/error/error_%d{yyyy-MM-dd}.log.%i
appender.W.layout.type = PatternLayout
appender.W.layout.pattern = %-d{yyyy-MM-dd HH:mm:ss} [traceId:%X{traceId}] [ %p ] [ %c ] %m%n
appender.W.policies.type = Policies
appender.W.policies.time.type = TimeBasedTriggeringPolicy
appender.W.policies.time.interval = 1
appender.W.policies.time.modulate = true
appender.W.policies.size.type = SizeBasedTriggeringPolicy
appender.W.policies.size.size=100M
appender.W.strategy.type = DefaultRolloverStrategy
appender.W.strategy.max = 10000
rootLogger.level = info
rootLogger.appenderRefs = stdout,I,W
#rootLogger.appenderRefs =I, W
rootLogger.appenderRef.stdout.ref = STDOUT
rootLogger.appenderRef.I.ref = InfoRollingFile
rootLogger.appenderRef.I.level = info
rootLogger.appenderRef.W.ref = ErrorRollingFile
rootLogger.appenderRef.W.level = warn
#error

388
logs/error/error.log Normal file
View File

@ -0,0 +1,388 @@
2022-03-30 13:37:52 [traceId:] [ ERROR ] [ org.springframework.amqp.rabbit.listener.SimpleMessageListenerContainer ] Failed to check/redeclare auto-delete queue(s).
org.springframework.amqp.AmqpIOException: java.net.SocketTimeoutException: connect timed out
at org.springframework.amqp.rabbit.support.RabbitExceptionTranslator.convertRabbitAccessException(RabbitExceptionTranslator.java:70) ~[spring-rabbit-2.3.5.jar:2.3.5]
at org.springframework.amqp.rabbit.connection.AbstractConnectionFactory.createBareConnection(AbstractConnectionFactory.java:602) ~[spring-rabbit-2.3.5.jar:2.3.5]
at org.springframework.amqp.rabbit.connection.CachingConnectionFactory.createConnection(CachingConnectionFactory.java:724) ~[spring-rabbit-2.3.5.jar:2.3.5]
at org.springframework.amqp.rabbit.connection.ConnectionFactoryUtils.createConnection(ConnectionFactoryUtils.java:214) ~[spring-rabbit-2.3.5.jar:2.3.5]
at org.springframework.amqp.rabbit.core.RabbitTemplate.doExecute(RabbitTemplate.java:2132) ~[spring-rabbit-2.3.5.jar:2.3.5]
at org.springframework.amqp.rabbit.core.RabbitTemplate.execute(RabbitTemplate.java:2105) ~[spring-rabbit-2.3.5.jar:2.3.5]
at org.springframework.amqp.rabbit.core.RabbitTemplate.execute(RabbitTemplate.java:2085) ~[spring-rabbit-2.3.5.jar:2.3.5]
at org.springframework.amqp.rabbit.core.RabbitAdmin.getQueueInfo(RabbitAdmin.java:407) ~[spring-rabbit-2.3.5.jar:2.3.5]
at org.springframework.amqp.rabbit.core.RabbitAdmin.getQueueProperties(RabbitAdmin.java:391) ~[spring-rabbit-2.3.5.jar:2.3.5]
at org.springframework.amqp.rabbit.listener.AbstractMessageListenerContainer.attemptDeclarations(AbstractMessageListenerContainer.java:1890) ~[spring-rabbit-2.3.5.jar:2.3.5]
at org.springframework.amqp.rabbit.listener.AbstractMessageListenerContainer.redeclareElementsIfNecessary(AbstractMessageListenerContainer.java:1871) [spring-rabbit-2.3.5.jar:2.3.5]
at org.springframework.amqp.rabbit.listener.SimpleMessageListenerContainer$AsyncMessageProcessingConsumer.initialize(SimpleMessageListenerContainer.java:1346) [spring-rabbit-2.3.5.jar:2.3.5]
at org.springframework.amqp.rabbit.listener.SimpleMessageListenerContainer$AsyncMessageProcessingConsumer.run(SimpleMessageListenerContainer.java:1192) [spring-rabbit-2.3.5.jar:2.3.5]
at java.lang.Thread.run(Thread.java:748) [?:1.8.0_241]
Caused by: java.net.SocketTimeoutException: connect timed out
at java.net.DualStackPlainSocketImpl.waitForConnect(Native Method) ~[?:1.8.0_241]
at java.net.DualStackPlainSocketImpl.socketConnect(DualStackPlainSocketImpl.java:85) ~[?:1.8.0_241]
at java.net.AbstractPlainSocketImpl.doConnect(AbstractPlainSocketImpl.java:350) ~[?:1.8.0_241]
at java.net.AbstractPlainSocketImpl.connectToAddress(AbstractPlainSocketImpl.java:206) ~[?:1.8.0_241]
at java.net.AbstractPlainSocketImpl.connect(AbstractPlainSocketImpl.java:188) ~[?:1.8.0_241]
at java.net.PlainSocketImpl.connect(PlainSocketImpl.java:172) ~[?:1.8.0_241]
at java.net.SocksSocketImpl.connect(SocksSocketImpl.java:392) ~[?:1.8.0_241]
at java.net.Socket.connect(Socket.java:606) ~[?:1.8.0_241]
at com.rabbitmq.client.impl.SocketFrameHandlerFactory.create(SocketFrameHandlerFactory.java:60) ~[amqp-client-5.10.0.jar:5.10.0]
at com.rabbitmq.client.ConnectionFactory.newConnection(ConnectionFactory.java:1137) ~[amqp-client-5.10.0.jar:5.10.0]
at com.rabbitmq.client.ConnectionFactory.newConnection(ConnectionFactory.java:1087) ~[amqp-client-5.10.0.jar:5.10.0]
at org.springframework.amqp.rabbit.connection.AbstractConnectionFactory.connectAddresses(AbstractConnectionFactory.java:638) ~[spring-rabbit-2.3.5.jar:2.3.5]
at org.springframework.amqp.rabbit.connection.AbstractConnectionFactory.connect(AbstractConnectionFactory.java:613) ~[spring-rabbit-2.3.5.jar:2.3.5]
at org.springframework.amqp.rabbit.connection.AbstractConnectionFactory.createBareConnection(AbstractConnectionFactory.java:565) ~[spring-rabbit-2.3.5.jar:2.3.5]
... 12 more
2022-03-30 13:37:55 [traceId:] [ ERROR ] [ org.springframework.amqp.rabbit.listener.SimpleMessageListenerContainer ] Failed to check/redeclare auto-delete queue(s).
org.springframework.amqp.AmqpIOException: java.net.SocketTimeoutException: connect timed out
at org.springframework.amqp.rabbit.support.RabbitExceptionTranslator.convertRabbitAccessException(RabbitExceptionTranslator.java:70) ~[spring-rabbit-2.3.5.jar:2.3.5]
at org.springframework.amqp.rabbit.connection.AbstractConnectionFactory.createBareConnection(AbstractConnectionFactory.java:602) ~[spring-rabbit-2.3.5.jar:2.3.5]
at org.springframework.amqp.rabbit.connection.CachingConnectionFactory.createConnection(CachingConnectionFactory.java:724) ~[spring-rabbit-2.3.5.jar:2.3.5]
at org.springframework.amqp.rabbit.connection.ConnectionFactoryUtils.createConnection(ConnectionFactoryUtils.java:214) ~[spring-rabbit-2.3.5.jar:2.3.5]
at org.springframework.amqp.rabbit.core.RabbitTemplate.doExecute(RabbitTemplate.java:2132) ~[spring-rabbit-2.3.5.jar:2.3.5]
at org.springframework.amqp.rabbit.core.RabbitTemplate.execute(RabbitTemplate.java:2105) ~[spring-rabbit-2.3.5.jar:2.3.5]
at org.springframework.amqp.rabbit.core.RabbitTemplate.execute(RabbitTemplate.java:2085) ~[spring-rabbit-2.3.5.jar:2.3.5]
at org.springframework.amqp.rabbit.core.RabbitAdmin.getQueueInfo(RabbitAdmin.java:407) ~[spring-rabbit-2.3.5.jar:2.3.5]
at org.springframework.amqp.rabbit.core.RabbitAdmin.getQueueProperties(RabbitAdmin.java:391) ~[spring-rabbit-2.3.5.jar:2.3.5]
at org.springframework.amqp.rabbit.listener.AbstractMessageListenerContainer.attemptDeclarations(AbstractMessageListenerContainer.java:1890) ~[spring-rabbit-2.3.5.jar:2.3.5]
at org.springframework.amqp.rabbit.listener.AbstractMessageListenerContainer.redeclareElementsIfNecessary(AbstractMessageListenerContainer.java:1871) [spring-rabbit-2.3.5.jar:2.3.5]
at org.springframework.amqp.rabbit.listener.SimpleMessageListenerContainer$AsyncMessageProcessingConsumer.initialize(SimpleMessageListenerContainer.java:1346) [spring-rabbit-2.3.5.jar:2.3.5]
at org.springframework.amqp.rabbit.listener.SimpleMessageListenerContainer$AsyncMessageProcessingConsumer.run(SimpleMessageListenerContainer.java:1192) [spring-rabbit-2.3.5.jar:2.3.5]
at java.lang.Thread.run(Thread.java:748) [?:1.8.0_241]
Caused by: java.net.SocketTimeoutException: connect timed out
at java.net.DualStackPlainSocketImpl.waitForConnect(Native Method) ~[?:1.8.0_241]
at java.net.DualStackPlainSocketImpl.socketConnect(DualStackPlainSocketImpl.java:85) ~[?:1.8.0_241]
at java.net.AbstractPlainSocketImpl.doConnect(AbstractPlainSocketImpl.java:350) ~[?:1.8.0_241]
at java.net.AbstractPlainSocketImpl.connectToAddress(AbstractPlainSocketImpl.java:206) ~[?:1.8.0_241]
at java.net.AbstractPlainSocketImpl.connect(AbstractPlainSocketImpl.java:188) ~[?:1.8.0_241]
at java.net.PlainSocketImpl.connect(PlainSocketImpl.java:172) ~[?:1.8.0_241]
at java.net.SocksSocketImpl.connect(SocksSocketImpl.java:392) ~[?:1.8.0_241]
at java.net.Socket.connect(Socket.java:606) ~[?:1.8.0_241]
at com.rabbitmq.client.impl.SocketFrameHandlerFactory.create(SocketFrameHandlerFactory.java:60) ~[amqp-client-5.10.0.jar:5.10.0]
at com.rabbitmq.client.ConnectionFactory.newConnection(ConnectionFactory.java:1137) ~[amqp-client-5.10.0.jar:5.10.0]
at com.rabbitmq.client.ConnectionFactory.newConnection(ConnectionFactory.java:1087) ~[amqp-client-5.10.0.jar:5.10.0]
at org.springframework.amqp.rabbit.connection.AbstractConnectionFactory.connectAddresses(AbstractConnectionFactory.java:638) ~[spring-rabbit-2.3.5.jar:2.3.5]
at org.springframework.amqp.rabbit.connection.AbstractConnectionFactory.connect(AbstractConnectionFactory.java:613) ~[spring-rabbit-2.3.5.jar:2.3.5]
at org.springframework.amqp.rabbit.connection.AbstractConnectionFactory.createBareConnection(AbstractConnectionFactory.java:565) ~[spring-rabbit-2.3.5.jar:2.3.5]
... 12 more
2022-03-30 13:37:59 [traceId:] [ ERROR ] [ org.springframework.amqp.rabbit.listener.SimpleMessageListenerContainer ] Failed to check/redeclare auto-delete queue(s).
org.springframework.amqp.AmqpIOException: java.net.SocketTimeoutException: connect timed out
at org.springframework.amqp.rabbit.support.RabbitExceptionTranslator.convertRabbitAccessException(RabbitExceptionTranslator.java:70) ~[spring-rabbit-2.3.5.jar:2.3.5]
at org.springframework.amqp.rabbit.connection.AbstractConnectionFactory.createBareConnection(AbstractConnectionFactory.java:602) ~[spring-rabbit-2.3.5.jar:2.3.5]
at org.springframework.amqp.rabbit.connection.CachingConnectionFactory.createConnection(CachingConnectionFactory.java:724) ~[spring-rabbit-2.3.5.jar:2.3.5]
at org.springframework.amqp.rabbit.connection.ConnectionFactoryUtils.createConnection(ConnectionFactoryUtils.java:214) ~[spring-rabbit-2.3.5.jar:2.3.5]
at org.springframework.amqp.rabbit.core.RabbitTemplate.doExecute(RabbitTemplate.java:2132) ~[spring-rabbit-2.3.5.jar:2.3.5]
at org.springframework.amqp.rabbit.core.RabbitTemplate.execute(RabbitTemplate.java:2105) ~[spring-rabbit-2.3.5.jar:2.3.5]
at org.springframework.amqp.rabbit.core.RabbitTemplate.execute(RabbitTemplate.java:2085) ~[spring-rabbit-2.3.5.jar:2.3.5]
at org.springframework.amqp.rabbit.core.RabbitAdmin.getQueueInfo(RabbitAdmin.java:407) ~[spring-rabbit-2.3.5.jar:2.3.5]
at org.springframework.amqp.rabbit.core.RabbitAdmin.getQueueProperties(RabbitAdmin.java:391) ~[spring-rabbit-2.3.5.jar:2.3.5]
at org.springframework.amqp.rabbit.listener.AbstractMessageListenerContainer.attemptDeclarations(AbstractMessageListenerContainer.java:1890) ~[spring-rabbit-2.3.5.jar:2.3.5]
at org.springframework.amqp.rabbit.listener.AbstractMessageListenerContainer.redeclareElementsIfNecessary(AbstractMessageListenerContainer.java:1871) [spring-rabbit-2.3.5.jar:2.3.5]
at org.springframework.amqp.rabbit.listener.SimpleMessageListenerContainer$AsyncMessageProcessingConsumer.initialize(SimpleMessageListenerContainer.java:1346) [spring-rabbit-2.3.5.jar:2.3.5]
at org.springframework.amqp.rabbit.listener.SimpleMessageListenerContainer$AsyncMessageProcessingConsumer.run(SimpleMessageListenerContainer.java:1192) [spring-rabbit-2.3.5.jar:2.3.5]
at java.lang.Thread.run(Thread.java:748) [?:1.8.0_241]
Caused by: java.net.SocketTimeoutException: connect timed out
at java.net.DualStackPlainSocketImpl.waitForConnect(Native Method) ~[?:1.8.0_241]
at java.net.DualStackPlainSocketImpl.socketConnect(DualStackPlainSocketImpl.java:85) ~[?:1.8.0_241]
at java.net.AbstractPlainSocketImpl.doConnect(AbstractPlainSocketImpl.java:350) ~[?:1.8.0_241]
at java.net.AbstractPlainSocketImpl.connectToAddress(AbstractPlainSocketImpl.java:206) ~[?:1.8.0_241]
at java.net.AbstractPlainSocketImpl.connect(AbstractPlainSocketImpl.java:188) ~[?:1.8.0_241]
at java.net.PlainSocketImpl.connect(PlainSocketImpl.java:172) ~[?:1.8.0_241]
at java.net.SocksSocketImpl.connect(SocksSocketImpl.java:392) ~[?:1.8.0_241]
at java.net.Socket.connect(Socket.java:606) ~[?:1.8.0_241]
at com.rabbitmq.client.impl.SocketFrameHandlerFactory.create(SocketFrameHandlerFactory.java:60) ~[amqp-client-5.10.0.jar:5.10.0]
at com.rabbitmq.client.ConnectionFactory.newConnection(ConnectionFactory.java:1137) ~[amqp-client-5.10.0.jar:5.10.0]
at com.rabbitmq.client.ConnectionFactory.newConnection(ConnectionFactory.java:1087) ~[amqp-client-5.10.0.jar:5.10.0]
at org.springframework.amqp.rabbit.connection.AbstractConnectionFactory.connectAddresses(AbstractConnectionFactory.java:638) ~[spring-rabbit-2.3.5.jar:2.3.5]
at org.springframework.amqp.rabbit.connection.AbstractConnectionFactory.connect(AbstractConnectionFactory.java:613) ~[spring-rabbit-2.3.5.jar:2.3.5]
at org.springframework.amqp.rabbit.connection.AbstractConnectionFactory.createBareConnection(AbstractConnectionFactory.java:565) ~[spring-rabbit-2.3.5.jar:2.3.5]
... 12 more
2022-03-30 13:38:02 [traceId:] [ ERROR ] [ org.springframework.amqp.rabbit.listener.SimpleMessageListenerContainer ] Failed to check/redeclare auto-delete queue(s).
org.springframework.amqp.AmqpIOException: java.net.SocketTimeoutException: connect timed out
at org.springframework.amqp.rabbit.support.RabbitExceptionTranslator.convertRabbitAccessException(RabbitExceptionTranslator.java:70) ~[spring-rabbit-2.3.5.jar:2.3.5]
at org.springframework.amqp.rabbit.connection.AbstractConnectionFactory.createBareConnection(AbstractConnectionFactory.java:602) ~[spring-rabbit-2.3.5.jar:2.3.5]
at org.springframework.amqp.rabbit.connection.CachingConnectionFactory.createConnection(CachingConnectionFactory.java:724) ~[spring-rabbit-2.3.5.jar:2.3.5]
at org.springframework.amqp.rabbit.connection.ConnectionFactoryUtils.createConnection(ConnectionFactoryUtils.java:214) ~[spring-rabbit-2.3.5.jar:2.3.5]
at org.springframework.amqp.rabbit.core.RabbitTemplate.doExecute(RabbitTemplate.java:2132) ~[spring-rabbit-2.3.5.jar:2.3.5]
at org.springframework.amqp.rabbit.core.RabbitTemplate.execute(RabbitTemplate.java:2105) ~[spring-rabbit-2.3.5.jar:2.3.5]
at org.springframework.amqp.rabbit.core.RabbitTemplate.execute(RabbitTemplate.java:2085) ~[spring-rabbit-2.3.5.jar:2.3.5]
at org.springframework.amqp.rabbit.core.RabbitAdmin.getQueueInfo(RabbitAdmin.java:407) ~[spring-rabbit-2.3.5.jar:2.3.5]
at org.springframework.amqp.rabbit.core.RabbitAdmin.getQueueProperties(RabbitAdmin.java:391) ~[spring-rabbit-2.3.5.jar:2.3.5]
at org.springframework.amqp.rabbit.listener.AbstractMessageListenerContainer.attemptDeclarations(AbstractMessageListenerContainer.java:1890) ~[spring-rabbit-2.3.5.jar:2.3.5]
at org.springframework.amqp.rabbit.listener.AbstractMessageListenerContainer.redeclareElementsIfNecessary(AbstractMessageListenerContainer.java:1871) [spring-rabbit-2.3.5.jar:2.3.5]
at org.springframework.amqp.rabbit.listener.SimpleMessageListenerContainer$AsyncMessageProcessingConsumer.initialize(SimpleMessageListenerContainer.java:1346) [spring-rabbit-2.3.5.jar:2.3.5]
at org.springframework.amqp.rabbit.listener.SimpleMessageListenerContainer$AsyncMessageProcessingConsumer.run(SimpleMessageListenerContainer.java:1192) [spring-rabbit-2.3.5.jar:2.3.5]
at java.lang.Thread.run(Thread.java:748) [?:1.8.0_241]
Caused by: java.net.SocketTimeoutException: connect timed out
at java.net.DualStackPlainSocketImpl.waitForConnect(Native Method) ~[?:1.8.0_241]
at java.net.DualStackPlainSocketImpl.socketConnect(DualStackPlainSocketImpl.java:85) ~[?:1.8.0_241]
at java.net.AbstractPlainSocketImpl.doConnect(AbstractPlainSocketImpl.java:350) ~[?:1.8.0_241]
at java.net.AbstractPlainSocketImpl.connectToAddress(AbstractPlainSocketImpl.java:206) ~[?:1.8.0_241]
at java.net.AbstractPlainSocketImpl.connect(AbstractPlainSocketImpl.java:188) ~[?:1.8.0_241]
at java.net.PlainSocketImpl.connect(PlainSocketImpl.java:172) ~[?:1.8.0_241]
at java.net.SocksSocketImpl.connect(SocksSocketImpl.java:392) ~[?:1.8.0_241]
at java.net.Socket.connect(Socket.java:606) ~[?:1.8.0_241]
at com.rabbitmq.client.impl.SocketFrameHandlerFactory.create(SocketFrameHandlerFactory.java:60) ~[amqp-client-5.10.0.jar:5.10.0]
at com.rabbitmq.client.ConnectionFactory.newConnection(ConnectionFactory.java:1137) ~[amqp-client-5.10.0.jar:5.10.0]
at com.rabbitmq.client.ConnectionFactory.newConnection(ConnectionFactory.java:1087) ~[amqp-client-5.10.0.jar:5.10.0]
at org.springframework.amqp.rabbit.connection.AbstractConnectionFactory.connectAddresses(AbstractConnectionFactory.java:638) ~[spring-rabbit-2.3.5.jar:2.3.5]
at org.springframework.amqp.rabbit.connection.AbstractConnectionFactory.connect(AbstractConnectionFactory.java:613) ~[spring-rabbit-2.3.5.jar:2.3.5]
at org.springframework.amqp.rabbit.connection.AbstractConnectionFactory.createBareConnection(AbstractConnectionFactory.java:565) ~[spring-rabbit-2.3.5.jar:2.3.5]
... 12 more
2022-03-30 13:38:51 [traceId:] [ ERROR ] [ org.springframework.amqp.rabbit.listener.SimpleMessageListenerContainer ] Failed to check/redeclare auto-delete queue(s).
org.springframework.amqp.AmqpIOException: java.net.SocketTimeoutException: connect timed out
at org.springframework.amqp.rabbit.support.RabbitExceptionTranslator.convertRabbitAccessException(RabbitExceptionTranslator.java:70) ~[spring-rabbit-2.3.5.jar:2.3.5]
at org.springframework.amqp.rabbit.connection.AbstractConnectionFactory.createBareConnection(AbstractConnectionFactory.java:602) ~[spring-rabbit-2.3.5.jar:2.3.5]
at org.springframework.amqp.rabbit.connection.CachingConnectionFactory.createConnection(CachingConnectionFactory.java:724) ~[spring-rabbit-2.3.5.jar:2.3.5]
at org.springframework.amqp.rabbit.connection.ConnectionFactoryUtils.createConnection(ConnectionFactoryUtils.java:214) ~[spring-rabbit-2.3.5.jar:2.3.5]
at org.springframework.amqp.rabbit.core.RabbitTemplate.doExecute(RabbitTemplate.java:2132) ~[spring-rabbit-2.3.5.jar:2.3.5]
at org.springframework.amqp.rabbit.core.RabbitTemplate.execute(RabbitTemplate.java:2105) ~[spring-rabbit-2.3.5.jar:2.3.5]
at org.springframework.amqp.rabbit.core.RabbitTemplate.execute(RabbitTemplate.java:2085) ~[spring-rabbit-2.3.5.jar:2.3.5]
at org.springframework.amqp.rabbit.core.RabbitAdmin.getQueueInfo(RabbitAdmin.java:407) ~[spring-rabbit-2.3.5.jar:2.3.5]
at org.springframework.amqp.rabbit.core.RabbitAdmin.getQueueProperties(RabbitAdmin.java:391) ~[spring-rabbit-2.3.5.jar:2.3.5]
at org.springframework.amqp.rabbit.listener.AbstractMessageListenerContainer.attemptDeclarations(AbstractMessageListenerContainer.java:1890) ~[spring-rabbit-2.3.5.jar:2.3.5]
at org.springframework.amqp.rabbit.listener.AbstractMessageListenerContainer.redeclareElementsIfNecessary(AbstractMessageListenerContainer.java:1871) [spring-rabbit-2.3.5.jar:2.3.5]
at org.springframework.amqp.rabbit.listener.SimpleMessageListenerContainer$AsyncMessageProcessingConsumer.initialize(SimpleMessageListenerContainer.java:1346) [spring-rabbit-2.3.5.jar:2.3.5]
at org.springframework.amqp.rabbit.listener.SimpleMessageListenerContainer$AsyncMessageProcessingConsumer.run(SimpleMessageListenerContainer.java:1192) [spring-rabbit-2.3.5.jar:2.3.5]
at java.lang.Thread.run(Thread.java:748) [?:1.8.0_241]
Caused by: java.net.SocketTimeoutException: connect timed out
at java.net.DualStackPlainSocketImpl.waitForConnect(Native Method) ~[?:1.8.0_241]
at java.net.DualStackPlainSocketImpl.socketConnect(DualStackPlainSocketImpl.java:85) ~[?:1.8.0_241]
at java.net.AbstractPlainSocketImpl.doConnect(AbstractPlainSocketImpl.java:350) ~[?:1.8.0_241]
at java.net.AbstractPlainSocketImpl.connectToAddress(AbstractPlainSocketImpl.java:206) ~[?:1.8.0_241]
at java.net.AbstractPlainSocketImpl.connect(AbstractPlainSocketImpl.java:188) ~[?:1.8.0_241]
at java.net.PlainSocketImpl.connect(PlainSocketImpl.java:172) ~[?:1.8.0_241]
at java.net.SocksSocketImpl.connect(SocksSocketImpl.java:392) ~[?:1.8.0_241]
at java.net.Socket.connect(Socket.java:606) ~[?:1.8.0_241]
at com.rabbitmq.client.impl.SocketFrameHandlerFactory.create(SocketFrameHandlerFactory.java:60) ~[amqp-client-5.10.0.jar:5.10.0]
at com.rabbitmq.client.ConnectionFactory.newConnection(ConnectionFactory.java:1137) ~[amqp-client-5.10.0.jar:5.10.0]
at com.rabbitmq.client.ConnectionFactory.newConnection(ConnectionFactory.java:1087) ~[amqp-client-5.10.0.jar:5.10.0]
at org.springframework.amqp.rabbit.connection.AbstractConnectionFactory.connectAddresses(AbstractConnectionFactory.java:638) ~[spring-rabbit-2.3.5.jar:2.3.5]
at org.springframework.amqp.rabbit.connection.AbstractConnectionFactory.connect(AbstractConnectionFactory.java:613) ~[spring-rabbit-2.3.5.jar:2.3.5]
at org.springframework.amqp.rabbit.connection.AbstractConnectionFactory.createBareConnection(AbstractConnectionFactory.java:565) ~[spring-rabbit-2.3.5.jar:2.3.5]
... 12 more
2022-03-30 13:38:57 [traceId:] [ ERROR ] [ org.springframework.amqp.rabbit.listener.SimpleMessageListenerContainer ] Failed to check/redeclare auto-delete queue(s).
org.springframework.amqp.AmqpIOException: java.net.SocketTimeoutException: connect timed out
at org.springframework.amqp.rabbit.support.RabbitExceptionTranslator.convertRabbitAccessException(RabbitExceptionTranslator.java:70) ~[spring-rabbit-2.3.5.jar:2.3.5]
at org.springframework.amqp.rabbit.connection.AbstractConnectionFactory.createBareConnection(AbstractConnectionFactory.java:602) ~[spring-rabbit-2.3.5.jar:2.3.5]
at org.springframework.amqp.rabbit.connection.CachingConnectionFactory.createConnection(CachingConnectionFactory.java:724) ~[spring-rabbit-2.3.5.jar:2.3.5]
at org.springframework.amqp.rabbit.connection.ConnectionFactoryUtils.createConnection(ConnectionFactoryUtils.java:214) ~[spring-rabbit-2.3.5.jar:2.3.5]
at org.springframework.amqp.rabbit.core.RabbitTemplate.doExecute(RabbitTemplate.java:2132) ~[spring-rabbit-2.3.5.jar:2.3.5]
at org.springframework.amqp.rabbit.core.RabbitTemplate.execute(RabbitTemplate.java:2105) ~[spring-rabbit-2.3.5.jar:2.3.5]
at org.springframework.amqp.rabbit.core.RabbitTemplate.execute(RabbitTemplate.java:2085) ~[spring-rabbit-2.3.5.jar:2.3.5]
at org.springframework.amqp.rabbit.core.RabbitAdmin.getQueueInfo(RabbitAdmin.java:407) ~[spring-rabbit-2.3.5.jar:2.3.5]
at org.springframework.amqp.rabbit.core.RabbitAdmin.getQueueProperties(RabbitAdmin.java:391) ~[spring-rabbit-2.3.5.jar:2.3.5]
at org.springframework.amqp.rabbit.listener.AbstractMessageListenerContainer.attemptDeclarations(AbstractMessageListenerContainer.java:1890) ~[spring-rabbit-2.3.5.jar:2.3.5]
at org.springframework.amqp.rabbit.listener.AbstractMessageListenerContainer.redeclareElementsIfNecessary(AbstractMessageListenerContainer.java:1871) [spring-rabbit-2.3.5.jar:2.3.5]
at org.springframework.amqp.rabbit.listener.SimpleMessageListenerContainer$AsyncMessageProcessingConsumer.initialize(SimpleMessageListenerContainer.java:1346) [spring-rabbit-2.3.5.jar:2.3.5]
at org.springframework.amqp.rabbit.listener.SimpleMessageListenerContainer$AsyncMessageProcessingConsumer.run(SimpleMessageListenerContainer.java:1192) [spring-rabbit-2.3.5.jar:2.3.5]
at java.lang.Thread.run(Thread.java:748) [?:1.8.0_241]
Caused by: java.net.SocketTimeoutException: connect timed out
at java.net.DualStackPlainSocketImpl.waitForConnect(Native Method) ~[?:1.8.0_241]
at java.net.DualStackPlainSocketImpl.socketConnect(DualStackPlainSocketImpl.java:85) ~[?:1.8.0_241]
at java.net.AbstractPlainSocketImpl.doConnect(AbstractPlainSocketImpl.java:350) ~[?:1.8.0_241]
at java.net.AbstractPlainSocketImpl.connectToAddress(AbstractPlainSocketImpl.java:206) ~[?:1.8.0_241]
at java.net.AbstractPlainSocketImpl.connect(AbstractPlainSocketImpl.java:188) ~[?:1.8.0_241]
at java.net.PlainSocketImpl.connect(PlainSocketImpl.java:172) ~[?:1.8.0_241]
at java.net.SocksSocketImpl.connect(SocksSocketImpl.java:392) ~[?:1.8.0_241]
at java.net.Socket.connect(Socket.java:606) ~[?:1.8.0_241]
at com.rabbitmq.client.impl.SocketFrameHandlerFactory.create(SocketFrameHandlerFactory.java:60) ~[amqp-client-5.10.0.jar:5.10.0]
at com.rabbitmq.client.ConnectionFactory.newConnection(ConnectionFactory.java:1137) ~[amqp-client-5.10.0.jar:5.10.0]
at com.rabbitmq.client.ConnectionFactory.newConnection(ConnectionFactory.java:1087) ~[amqp-client-5.10.0.jar:5.10.0]
at org.springframework.amqp.rabbit.connection.AbstractConnectionFactory.connectAddresses(AbstractConnectionFactory.java:638) ~[spring-rabbit-2.3.5.jar:2.3.5]
at org.springframework.amqp.rabbit.connection.AbstractConnectionFactory.connect(AbstractConnectionFactory.java:613) ~[spring-rabbit-2.3.5.jar:2.3.5]
at org.springframework.amqp.rabbit.connection.AbstractConnectionFactory.createBareConnection(AbstractConnectionFactory.java:565) ~[spring-rabbit-2.3.5.jar:2.3.5]
... 12 more
2022-03-30 13:39:01 [traceId:] [ ERROR ] [ org.springframework.amqp.rabbit.listener.SimpleMessageListenerContainer ] Failed to check/redeclare auto-delete queue(s).
org.springframework.amqp.AmqpIOException: java.net.SocketTimeoutException: connect timed out
at org.springframework.amqp.rabbit.support.RabbitExceptionTranslator.convertRabbitAccessException(RabbitExceptionTranslator.java:70) ~[spring-rabbit-2.3.5.jar:2.3.5]
at org.springframework.amqp.rabbit.connection.AbstractConnectionFactory.createBareConnection(AbstractConnectionFactory.java:602) ~[spring-rabbit-2.3.5.jar:2.3.5]
at org.springframework.amqp.rabbit.connection.CachingConnectionFactory.createConnection(CachingConnectionFactory.java:724) ~[spring-rabbit-2.3.5.jar:2.3.5]
at org.springframework.amqp.rabbit.connection.ConnectionFactoryUtils.createConnection(ConnectionFactoryUtils.java:214) ~[spring-rabbit-2.3.5.jar:2.3.5]
at org.springframework.amqp.rabbit.core.RabbitTemplate.doExecute(RabbitTemplate.java:2132) ~[spring-rabbit-2.3.5.jar:2.3.5]
at org.springframework.amqp.rabbit.core.RabbitTemplate.execute(RabbitTemplate.java:2105) ~[spring-rabbit-2.3.5.jar:2.3.5]
at org.springframework.amqp.rabbit.core.RabbitTemplate.execute(RabbitTemplate.java:2085) ~[spring-rabbit-2.3.5.jar:2.3.5]
at org.springframework.amqp.rabbit.core.RabbitAdmin.getQueueInfo(RabbitAdmin.java:407) ~[spring-rabbit-2.3.5.jar:2.3.5]
at org.springframework.amqp.rabbit.core.RabbitAdmin.getQueueProperties(RabbitAdmin.java:391) ~[spring-rabbit-2.3.5.jar:2.3.5]
at org.springframework.amqp.rabbit.listener.AbstractMessageListenerContainer.attemptDeclarations(AbstractMessageListenerContainer.java:1890) ~[spring-rabbit-2.3.5.jar:2.3.5]
at org.springframework.amqp.rabbit.listener.AbstractMessageListenerContainer.redeclareElementsIfNecessary(AbstractMessageListenerContainer.java:1871) [spring-rabbit-2.3.5.jar:2.3.5]
at org.springframework.amqp.rabbit.listener.SimpleMessageListenerContainer$AsyncMessageProcessingConsumer.initialize(SimpleMessageListenerContainer.java:1346) [spring-rabbit-2.3.5.jar:2.3.5]
at org.springframework.amqp.rabbit.listener.SimpleMessageListenerContainer$AsyncMessageProcessingConsumer.run(SimpleMessageListenerContainer.java:1192) [spring-rabbit-2.3.5.jar:2.3.5]
at java.lang.Thread.run(Thread.java:748) [?:1.8.0_241]
Caused by: java.net.SocketTimeoutException: connect timed out
at java.net.DualStackPlainSocketImpl.waitForConnect(Native Method) ~[?:1.8.0_241]
at java.net.DualStackPlainSocketImpl.socketConnect(DualStackPlainSocketImpl.java:85) ~[?:1.8.0_241]
at java.net.AbstractPlainSocketImpl.doConnect(AbstractPlainSocketImpl.java:350) ~[?:1.8.0_241]
at java.net.AbstractPlainSocketImpl.connectToAddress(AbstractPlainSocketImpl.java:206) ~[?:1.8.0_241]
at java.net.AbstractPlainSocketImpl.connect(AbstractPlainSocketImpl.java:188) ~[?:1.8.0_241]
at java.net.PlainSocketImpl.connect(PlainSocketImpl.java:172) ~[?:1.8.0_241]
at java.net.SocksSocketImpl.connect(SocksSocketImpl.java:392) ~[?:1.8.0_241]
at java.net.Socket.connect(Socket.java:606) ~[?:1.8.0_241]
at com.rabbitmq.client.impl.SocketFrameHandlerFactory.create(SocketFrameHandlerFactory.java:60) ~[amqp-client-5.10.0.jar:5.10.0]
at com.rabbitmq.client.ConnectionFactory.newConnection(ConnectionFactory.java:1137) ~[amqp-client-5.10.0.jar:5.10.0]
at com.rabbitmq.client.ConnectionFactory.newConnection(ConnectionFactory.java:1087) ~[amqp-client-5.10.0.jar:5.10.0]
at org.springframework.amqp.rabbit.connection.AbstractConnectionFactory.connectAddresses(AbstractConnectionFactory.java:638) ~[spring-rabbit-2.3.5.jar:2.3.5]
at org.springframework.amqp.rabbit.connection.AbstractConnectionFactory.connect(AbstractConnectionFactory.java:613) ~[spring-rabbit-2.3.5.jar:2.3.5]
at org.springframework.amqp.rabbit.connection.AbstractConnectionFactory.createBareConnection(AbstractConnectionFactory.java:565) ~[spring-rabbit-2.3.5.jar:2.3.5]
... 12 more
2022-03-30 13:39:30 [traceId:] [ ERROR ] [ org.springframework.amqp.rabbit.listener.SimpleMessageListenerContainer ] Failed to check/redeclare auto-delete queue(s).
org.springframework.amqp.AmqpIOException: java.net.SocketTimeoutException: connect timed out
at org.springframework.amqp.rabbit.support.RabbitExceptionTranslator.convertRabbitAccessException(RabbitExceptionTranslator.java:70) ~[spring-rabbit-2.3.5.jar:2.3.5]
at org.springframework.amqp.rabbit.connection.AbstractConnectionFactory.createBareConnection(AbstractConnectionFactory.java:602) ~[spring-rabbit-2.3.5.jar:2.3.5]
at org.springframework.amqp.rabbit.connection.CachingConnectionFactory.createConnection(CachingConnectionFactory.java:724) ~[spring-rabbit-2.3.5.jar:2.3.5]
at org.springframework.amqp.rabbit.connection.ConnectionFactoryUtils.createConnection(ConnectionFactoryUtils.java:214) ~[spring-rabbit-2.3.5.jar:2.3.5]
at org.springframework.amqp.rabbit.core.RabbitTemplate.doExecute(RabbitTemplate.java:2132) ~[spring-rabbit-2.3.5.jar:2.3.5]
at org.springframework.amqp.rabbit.core.RabbitTemplate.execute(RabbitTemplate.java:2105) ~[spring-rabbit-2.3.5.jar:2.3.5]
at org.springframework.amqp.rabbit.core.RabbitTemplate.execute(RabbitTemplate.java:2085) ~[spring-rabbit-2.3.5.jar:2.3.5]
at org.springframework.amqp.rabbit.core.RabbitAdmin.getQueueInfo(RabbitAdmin.java:407) ~[spring-rabbit-2.3.5.jar:2.3.5]
at org.springframework.amqp.rabbit.core.RabbitAdmin.getQueueProperties(RabbitAdmin.java:391) ~[spring-rabbit-2.3.5.jar:2.3.5]
at org.springframework.amqp.rabbit.listener.AbstractMessageListenerContainer.attemptDeclarations(AbstractMessageListenerContainer.java:1890) ~[spring-rabbit-2.3.5.jar:2.3.5]
at org.springframework.amqp.rabbit.listener.AbstractMessageListenerContainer.redeclareElementsIfNecessary(AbstractMessageListenerContainer.java:1871) [spring-rabbit-2.3.5.jar:2.3.5]
at org.springframework.amqp.rabbit.listener.SimpleMessageListenerContainer$AsyncMessageProcessingConsumer.initialize(SimpleMessageListenerContainer.java:1346) [spring-rabbit-2.3.5.jar:2.3.5]
at org.springframework.amqp.rabbit.listener.SimpleMessageListenerContainer$AsyncMessageProcessingConsumer.run(SimpleMessageListenerContainer.java:1192) [spring-rabbit-2.3.5.jar:2.3.5]
at java.lang.Thread.run(Thread.java:748) [?:1.8.0_241]
Caused by: java.net.SocketTimeoutException: connect timed out
at java.net.DualStackPlainSocketImpl.waitForConnect(Native Method) ~[?:1.8.0_241]
at java.net.DualStackPlainSocketImpl.socketConnect(DualStackPlainSocketImpl.java:85) ~[?:1.8.0_241]
at java.net.AbstractPlainSocketImpl.doConnect(AbstractPlainSocketImpl.java:350) ~[?:1.8.0_241]
at java.net.AbstractPlainSocketImpl.connectToAddress(AbstractPlainSocketImpl.java:206) ~[?:1.8.0_241]
at java.net.AbstractPlainSocketImpl.connect(AbstractPlainSocketImpl.java:188) ~[?:1.8.0_241]
at java.net.PlainSocketImpl.connect(PlainSocketImpl.java:172) ~[?:1.8.0_241]
at java.net.SocksSocketImpl.connect(SocksSocketImpl.java:392) ~[?:1.8.0_241]
at java.net.Socket.connect(Socket.java:606) ~[?:1.8.0_241]
at com.rabbitmq.client.impl.SocketFrameHandlerFactory.create(SocketFrameHandlerFactory.java:60) ~[amqp-client-5.10.0.jar:5.10.0]
at com.rabbitmq.client.ConnectionFactory.newConnection(ConnectionFactory.java:1137) ~[amqp-client-5.10.0.jar:5.10.0]
at com.rabbitmq.client.ConnectionFactory.newConnection(ConnectionFactory.java:1087) ~[amqp-client-5.10.0.jar:5.10.0]
at org.springframework.amqp.rabbit.connection.AbstractConnectionFactory.connectAddresses(AbstractConnectionFactory.java:638) ~[spring-rabbit-2.3.5.jar:2.3.5]
at org.springframework.amqp.rabbit.connection.AbstractConnectionFactory.connect(AbstractConnectionFactory.java:613) ~[spring-rabbit-2.3.5.jar:2.3.5]
at org.springframework.amqp.rabbit.connection.AbstractConnectionFactory.createBareConnection(AbstractConnectionFactory.java:565) ~[spring-rabbit-2.3.5.jar:2.3.5]
... 12 more
2022-03-30 13:39:45 [traceId:] [ ERROR ] [ org.springframework.amqp.rabbit.listener.SimpleMessageListenerContainer ] Failed to check/redeclare auto-delete queue(s).
org.springframework.amqp.AmqpIOException: java.net.SocketTimeoutException: connect timed out
at org.springframework.amqp.rabbit.support.RabbitExceptionTranslator.convertRabbitAccessException(RabbitExceptionTranslator.java:70) ~[spring-rabbit-2.3.5.jar:2.3.5]
at org.springframework.amqp.rabbit.connection.AbstractConnectionFactory.createBareConnection(AbstractConnectionFactory.java:602) ~[spring-rabbit-2.3.5.jar:2.3.5]
at org.springframework.amqp.rabbit.connection.CachingConnectionFactory.createConnection(CachingConnectionFactory.java:724) ~[spring-rabbit-2.3.5.jar:2.3.5]
at org.springframework.amqp.rabbit.connection.ConnectionFactoryUtils.createConnection(ConnectionFactoryUtils.java:214) ~[spring-rabbit-2.3.5.jar:2.3.5]
at org.springframework.amqp.rabbit.core.RabbitTemplate.doExecute(RabbitTemplate.java:2132) ~[spring-rabbit-2.3.5.jar:2.3.5]
at org.springframework.amqp.rabbit.core.RabbitTemplate.execute(RabbitTemplate.java:2105) ~[spring-rabbit-2.3.5.jar:2.3.5]
at org.springframework.amqp.rabbit.core.RabbitTemplate.execute(RabbitTemplate.java:2085) ~[spring-rabbit-2.3.5.jar:2.3.5]
at org.springframework.amqp.rabbit.core.RabbitAdmin.getQueueInfo(RabbitAdmin.java:407) ~[spring-rabbit-2.3.5.jar:2.3.5]
at org.springframework.amqp.rabbit.core.RabbitAdmin.getQueueProperties(RabbitAdmin.java:391) ~[spring-rabbit-2.3.5.jar:2.3.5]
at org.springframework.amqp.rabbit.listener.AbstractMessageListenerContainer.attemptDeclarations(AbstractMessageListenerContainer.java:1890) ~[spring-rabbit-2.3.5.jar:2.3.5]
at org.springframework.amqp.rabbit.listener.AbstractMessageListenerContainer.redeclareElementsIfNecessary(AbstractMessageListenerContainer.java:1871) [spring-rabbit-2.3.5.jar:2.3.5]
at org.springframework.amqp.rabbit.listener.SimpleMessageListenerContainer$AsyncMessageProcessingConsumer.initialize(SimpleMessageListenerContainer.java:1346) [spring-rabbit-2.3.5.jar:2.3.5]
at org.springframework.amqp.rabbit.listener.SimpleMessageListenerContainer$AsyncMessageProcessingConsumer.run(SimpleMessageListenerContainer.java:1192) [spring-rabbit-2.3.5.jar:2.3.5]
at java.lang.Thread.run(Thread.java:748) [?:1.8.0_241]
Caused by: java.net.SocketTimeoutException: connect timed out
at java.net.DualStackPlainSocketImpl.waitForConnect(Native Method) ~[?:1.8.0_241]
at java.net.DualStackPlainSocketImpl.socketConnect(DualStackPlainSocketImpl.java:85) ~[?:1.8.0_241]
at java.net.AbstractPlainSocketImpl.doConnect(AbstractPlainSocketImpl.java:350) ~[?:1.8.0_241]
at java.net.AbstractPlainSocketImpl.connectToAddress(AbstractPlainSocketImpl.java:206) ~[?:1.8.0_241]
at java.net.AbstractPlainSocketImpl.connect(AbstractPlainSocketImpl.java:188) ~[?:1.8.0_241]
at java.net.PlainSocketImpl.connect(PlainSocketImpl.java:172) ~[?:1.8.0_241]
at java.net.SocksSocketImpl.connect(SocksSocketImpl.java:392) ~[?:1.8.0_241]
at java.net.Socket.connect(Socket.java:606) ~[?:1.8.0_241]
at com.rabbitmq.client.impl.SocketFrameHandlerFactory.create(SocketFrameHandlerFactory.java:60) ~[amqp-client-5.10.0.jar:5.10.0]
at com.rabbitmq.client.ConnectionFactory.newConnection(ConnectionFactory.java:1137) ~[amqp-client-5.10.0.jar:5.10.0]
at com.rabbitmq.client.ConnectionFactory.newConnection(ConnectionFactory.java:1087) ~[amqp-client-5.10.0.jar:5.10.0]
at org.springframework.amqp.rabbit.connection.AbstractConnectionFactory.connectAddresses(AbstractConnectionFactory.java:638) ~[spring-rabbit-2.3.5.jar:2.3.5]
at org.springframework.amqp.rabbit.connection.AbstractConnectionFactory.connect(AbstractConnectionFactory.java:613) ~[spring-rabbit-2.3.5.jar:2.3.5]
at org.springframework.amqp.rabbit.connection.AbstractConnectionFactory.createBareConnection(AbstractConnectionFactory.java:565) ~[spring-rabbit-2.3.5.jar:2.3.5]
... 12 more
2022-03-30 13:39:50 [traceId:] [ ERROR ] [ org.springframework.amqp.rabbit.listener.SimpleMessageListenerContainer ] Failed to check/redeclare auto-delete queue(s).
org.springframework.amqp.AmqpIOException: java.net.SocketTimeoutException: connect timed out
at org.springframework.amqp.rabbit.support.RabbitExceptionTranslator.convertRabbitAccessException(RabbitExceptionTranslator.java:70) ~[spring-rabbit-2.3.5.jar:2.3.5]
at org.springframework.amqp.rabbit.connection.AbstractConnectionFactory.createBareConnection(AbstractConnectionFactory.java:602) ~[spring-rabbit-2.3.5.jar:2.3.5]
at org.springframework.amqp.rabbit.connection.CachingConnectionFactory.createConnection(CachingConnectionFactory.java:724) ~[spring-rabbit-2.3.5.jar:2.3.5]
at org.springframework.amqp.rabbit.connection.ConnectionFactoryUtils.createConnection(ConnectionFactoryUtils.java:214) ~[spring-rabbit-2.3.5.jar:2.3.5]
at org.springframework.amqp.rabbit.core.RabbitTemplate.doExecute(RabbitTemplate.java:2132) ~[spring-rabbit-2.3.5.jar:2.3.5]
at org.springframework.amqp.rabbit.core.RabbitTemplate.execute(RabbitTemplate.java:2105) ~[spring-rabbit-2.3.5.jar:2.3.5]
at org.springframework.amqp.rabbit.core.RabbitTemplate.execute(RabbitTemplate.java:2085) ~[spring-rabbit-2.3.5.jar:2.3.5]
at org.springframework.amqp.rabbit.core.RabbitAdmin.getQueueInfo(RabbitAdmin.java:407) ~[spring-rabbit-2.3.5.jar:2.3.5]
at org.springframework.amqp.rabbit.core.RabbitAdmin.getQueueProperties(RabbitAdmin.java:391) ~[spring-rabbit-2.3.5.jar:2.3.5]
at org.springframework.amqp.rabbit.listener.AbstractMessageListenerContainer.attemptDeclarations(AbstractMessageListenerContainer.java:1890) ~[spring-rabbit-2.3.5.jar:2.3.5]
at org.springframework.amqp.rabbit.listener.AbstractMessageListenerContainer.redeclareElementsIfNecessary(AbstractMessageListenerContainer.java:1871) [spring-rabbit-2.3.5.jar:2.3.5]
at org.springframework.amqp.rabbit.listener.SimpleMessageListenerContainer$AsyncMessageProcessingConsumer.initialize(SimpleMessageListenerContainer.java:1346) [spring-rabbit-2.3.5.jar:2.3.5]
at org.springframework.amqp.rabbit.listener.SimpleMessageListenerContainer$AsyncMessageProcessingConsumer.run(SimpleMessageListenerContainer.java:1192) [spring-rabbit-2.3.5.jar:2.3.5]
at java.lang.Thread.run(Thread.java:748) [?:1.8.0_241]
Caused by: java.net.SocketTimeoutException: connect timed out
at java.net.DualStackPlainSocketImpl.waitForConnect(Native Method) ~[?:1.8.0_241]
at java.net.DualStackPlainSocketImpl.socketConnect(DualStackPlainSocketImpl.java:85) ~[?:1.8.0_241]
at java.net.AbstractPlainSocketImpl.doConnect(AbstractPlainSocketImpl.java:350) ~[?:1.8.0_241]
at java.net.AbstractPlainSocketImpl.connectToAddress(AbstractPlainSocketImpl.java:206) ~[?:1.8.0_241]
at java.net.AbstractPlainSocketImpl.connect(AbstractPlainSocketImpl.java:188) ~[?:1.8.0_241]
at java.net.PlainSocketImpl.connect(PlainSocketImpl.java:172) ~[?:1.8.0_241]
at java.net.SocksSocketImpl.connect(SocksSocketImpl.java:392) ~[?:1.8.0_241]
at java.net.Socket.connect(Socket.java:606) ~[?:1.8.0_241]
at com.rabbitmq.client.impl.SocketFrameHandlerFactory.create(SocketFrameHandlerFactory.java:60) ~[amqp-client-5.10.0.jar:5.10.0]
at com.rabbitmq.client.ConnectionFactory.newConnection(ConnectionFactory.java:1137) ~[amqp-client-5.10.0.jar:5.10.0]
at com.rabbitmq.client.ConnectionFactory.newConnection(ConnectionFactory.java:1087) ~[amqp-client-5.10.0.jar:5.10.0]
at org.springframework.amqp.rabbit.connection.AbstractConnectionFactory.connectAddresses(AbstractConnectionFactory.java:638) ~[spring-rabbit-2.3.5.jar:2.3.5]
at org.springframework.amqp.rabbit.connection.AbstractConnectionFactory.connect(AbstractConnectionFactory.java:613) ~[spring-rabbit-2.3.5.jar:2.3.5]
at org.springframework.amqp.rabbit.connection.AbstractConnectionFactory.createBareConnection(AbstractConnectionFactory.java:565) ~[spring-rabbit-2.3.5.jar:2.3.5]
... 12 more
2022-03-30 13:39:56 [traceId:f2ef21595802458c8763e09b9bbacea4] [ ERROR ] [ com.ruwii.es.util.RedisUtil ] com.ruwii.es.util.RedisUtil@7f5614f9
org.springframework.data.redis.RedisConnectionFailureException: Unable to connect to Redis; nested exception is io.lettuce.core.RedisConnectionException: Unable to connect to 192.168.1.178:6379
at org.springframework.data.redis.connection.lettuce.LettuceConnectionFactory$ExceptionTranslatingConnectionProvider.translateException(LettuceConnectionFactory.java:1553) ~[spring-data-redis-2.4.5.jar:2.4.5]
at org.springframework.data.redis.connection.lettuce.LettuceConnectionFactory$ExceptionTranslatingConnectionProvider.getConnection(LettuceConnectionFactory.java:1461) ~[spring-data-redis-2.4.5.jar:2.4.5]
at org.springframework.data.redis.connection.lettuce.LettuceConnectionFactory$SharedConnection.getNativeConnection(LettuceConnectionFactory.java:1247) ~[spring-data-redis-2.4.5.jar:2.4.5]
at org.springframework.data.redis.connection.lettuce.LettuceConnectionFactory$SharedConnection.getConnection(LettuceConnectionFactory.java:1230) ~[spring-data-redis-2.4.5.jar:2.4.5]
at org.springframework.data.redis.connection.lettuce.LettuceConnectionFactory.getSharedConnection(LettuceConnectionFactory.java:979) ~[spring-data-redis-2.4.5.jar:2.4.5]
at org.springframework.data.redis.connection.lettuce.LettuceConnectionFactory.getConnection(LettuceConnectionFactory.java:359) ~[spring-data-redis-2.4.5.jar:2.4.5]
at org.springframework.data.redis.core.RedisConnectionUtils.fetchConnection(RedisConnectionUtils.java:193) ~[spring-data-redis-2.4.5.jar:2.4.5]
at org.springframework.data.redis.core.RedisConnectionUtils.doGetConnection(RedisConnectionUtils.java:144) ~[spring-data-redis-2.4.5.jar:2.4.5]
at org.springframework.data.redis.core.RedisConnectionUtils.getConnection(RedisConnectionUtils.java:105) ~[spring-data-redis-2.4.5.jar:2.4.5]
at org.springframework.data.redis.core.RedisTemplate.execute(RedisTemplate.java:209) ~[spring-data-redis-2.4.5.jar:2.4.5]
at org.springframework.data.redis.core.RedisTemplate.execute(RedisTemplate.java:189) ~[spring-data-redis-2.4.5.jar:2.4.5]
at org.springframework.data.redis.core.AbstractOperations.execute(AbstractOperations.java:96) ~[spring-data-redis-2.4.5.jar:2.4.5]
at org.springframework.data.redis.core.DefaultListOperations.size(DefaultListOperations.java:188) ~[spring-data-redis-2.4.5.jar:2.4.5]
at com.ruwii.es.util.RedisUtil.lGetListSize(RedisUtil.java:444) [classes/:?]
at com.ruwii.es.service.redis.RedisConsumerService.runTimer(RedisConsumerService.java:40) [classes/:?]
at com.ruwii.es.service.redis.RedisConsumerService$$FastClassBySpringCGLIB$$c1ae6d09.invoke(<generated>) [classes/:?]
at org.springframework.cglib.proxy.MethodProxy.invoke(MethodProxy.java:218) [spring-core-5.3.4.jar:5.3.4]
at org.springframework.aop.framework.CglibAopProxy$CglibMethodInvocation.invokeJoinpoint(CglibAopProxy.java:779) [spring-aop-5.3.4.jar:5.3.4]
at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:163) [spring-aop-5.3.4.jar:5.3.4]
at org.springframework.aop.framework.CglibAopProxy$CglibMethodInvocation.proceed(CglibAopProxy.java:750) [spring-aop-5.3.4.jar:5.3.4]
at org.springframework.aop.framework.adapter.AfterReturningAdviceInterceptor.invoke(AfterReturningAdviceInterceptor.java:57) [spring-aop-5.3.4.jar:5.3.4]
at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:186) [spring-aop-5.3.4.jar:5.3.4]
at org.springframework.aop.framework.CglibAopProxy$CglibMethodInvocation.proceed(CglibAopProxy.java:750) [spring-aop-5.3.4.jar:5.3.4]
at org.springframework.aop.framework.adapter.MethodBeforeAdviceInterceptor.invoke(MethodBeforeAdviceInterceptor.java:58) [spring-aop-5.3.4.jar:5.3.4]
at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:186) [spring-aop-5.3.4.jar:5.3.4]
at org.springframework.aop.framework.CglibAopProxy$CglibMethodInvocation.proceed(CglibAopProxy.java:750) [spring-aop-5.3.4.jar:5.3.4]
at org.springframework.aop.interceptor.ExposeInvocationInterceptor.invoke(ExposeInvocationInterceptor.java:97) [spring-aop-5.3.4.jar:5.3.4]
at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:186) [spring-aop-5.3.4.jar:5.3.4]
at org.springframework.aop.framework.CglibAopProxy$CglibMethodInvocation.proceed(CglibAopProxy.java:750) [spring-aop-5.3.4.jar:5.3.4]
at org.springframework.aop.framework.CglibAopProxy$DynamicAdvisedInterceptor.intercept(CglibAopProxy.java:692) [spring-aop-5.3.4.jar:5.3.4]
at com.ruwii.es.service.redis.RedisConsumerService$$EnhancerBySpringCGLIB$$f5c2a52c.runTimer(<generated>) [classes/:?]
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) ~[?:1.8.0_241]
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) ~[?:1.8.0_241]
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) ~[?:1.8.0_241]
at java.lang.reflect.Method.invoke(Method.java:498) ~[?:1.8.0_241]
at org.springframework.scheduling.support.ScheduledMethodRunnable.run(ScheduledMethodRunnable.java:84) [spring-context-5.3.4.jar:5.3.4]
at org.springframework.scheduling.support.DelegatingErrorHandlingRunnable.run(DelegatingErrorHandlingRunnable.java:54) [spring-context-5.3.4.jar:5.3.4]
at org.springframework.scheduling.concurrent.ReschedulingRunnable.run(ReschedulingRunnable.java:95) [spring-context-5.3.4.jar:5.3.4]
at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511) [?:1.8.0_241]
at java.util.concurrent.FutureTask.run(FutureTask.java:266) [?:1.8.0_241]
at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.access$201(ScheduledThreadPoolExecutor.java:180) [?:1.8.0_241]
at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:293) [?:1.8.0_241]
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149) [?:1.8.0_241]
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624) [?:1.8.0_241]
at java.lang.Thread.run(Thread.java:748) [?:1.8.0_241]
Caused by: io.lettuce.core.RedisConnectionException: Unable to connect to 192.168.1.178:6379
at io.lettuce.core.RedisConnectionException.create(RedisConnectionException.java:78) ~[lettuce-core-6.0.2.RELEASE.jar:6.0.2.RELEASE]
at io.lettuce.core.RedisConnectionException.create(RedisConnectionException.java:56) ~[lettuce-core-6.0.2.RELEASE.jar:6.0.2.RELEASE]
at io.lettuce.core.AbstractRedisClient.getConnection(AbstractRedisClient.java:318) ~[lettuce-core-6.0.2.RELEASE.jar:6.0.2.RELEASE]
at io.lettuce.core.RedisClient.connect(RedisClient.java:211) ~[lettuce-core-6.0.2.RELEASE.jar:6.0.2.RELEASE]
at org.springframework.data.redis.connection.lettuce.StandaloneConnectionProvider.lambda$getConnection$1(StandaloneConnectionProvider.java:115) ~[spring-data-redis-2.4.5.jar:2.4.5]
at java.util.Optional.orElseGet(Optional.java:267) ~[?:1.8.0_241]
at org.springframework.data.redis.connection.lettuce.StandaloneConnectionProvider.getConnection(StandaloneConnectionProvider.java:115) ~[spring-data-redis-2.4.5.jar:2.4.5]
at org.springframework.data.redis.connection.lettuce.LettuceConnectionFactory$ExceptionTranslatingConnectionProvider.getConnection(LettuceConnectionFactory.java:1459) ~[spring-data-redis-2.4.5.jar:2.4.5]
... 43 more
Caused by: java.lang.InterruptedException
at java.util.concurrent.CompletableFuture.reportGet(CompletableFuture.java:347) ~[?:1.8.0_241]
at java.util.concurrent.CompletableFuture.get(CompletableFuture.java:1908) ~[?:1.8.0_241]
at io.lettuce.core.DefaultConnectionFuture.get(DefaultConnectionFuture.java:69) ~[lettuce-core-6.0.2.RELEASE.jar:6.0.2.RELEASE]
at io.lettuce.core.AbstractRedisClient.getConnection(AbstractRedisClient.java:315) ~[lettuce-core-6.0.2.RELEASE.jar:6.0.2.RELEASE]
at io.lettuce.core.RedisClient.connect(RedisClient.java:211) ~[lettuce-core-6.0.2.RELEASE.jar:6.0.2.RELEASE]
at org.springframework.data.redis.connection.lettuce.StandaloneConnectionProvider.lambda$getConnection$1(StandaloneConnectionProvider.java:115) ~[spring-data-redis-2.4.5.jar:2.4.5]
at java.util.Optional.orElseGet(Optional.java:267) ~[?:1.8.0_241]
at org.springframework.data.redis.connection.lettuce.StandaloneConnectionProvider.getConnection(StandaloneConnectionProvider.java:115) ~[spring-data-redis-2.4.5.jar:2.4.5]
at org.springframework.data.redis.connection.lettuce.LettuceConnectionFactory$ExceptionTranslatingConnectionProvider.getConnection(LettuceConnectionFactory.java:1459) ~[spring-data-redis-2.4.5.jar:2.4.5]
... 43 more

View File

@ -0,0 +1,576 @@
2021-04-16 15:11:37 [traceId:] [ WARN ] [ org.springframework.boot.web.servlet.context.AnnotationConfigServletWebServerApplicationContext ] Exception encountered during context initialization - cancelling refresh attempt: org.springframework.beans.factory.BeanDefinitionStoreException: Failed to parse configuration class [com.ruwii.es.EsApplication]; nested exception is java.io.FileNotFoundException: class path resource [application.properties] cannot be opened because it does not exist
2021-04-16 15:11:38 [traceId:] [ ERROR ] [ org.springframework.boot.SpringApplication ] Application run failed
org.springframework.beans.factory.BeanDefinitionStoreException: Failed to parse configuration class [com.ruwii.es.EsApplication]; nested exception is java.io.FileNotFoundException: class path resource [application.properties] cannot be opened because it does not exist
at org.springframework.context.annotation.ConfigurationClassParser.parse(ConfigurationClassParser.java:189) ~[spring-context-5.3.4.jar:5.3.4]
at org.springframework.context.annotation.ConfigurationClassPostProcessor.processConfigBeanDefinitions(ConfigurationClassPostProcessor.java:330) ~[spring-context-5.3.4.jar:5.3.4]
at org.springframework.context.annotation.ConfigurationClassPostProcessor.postProcessBeanDefinitionRegistry(ConfigurationClassPostProcessor.java:246) ~[spring-context-5.3.4.jar:5.3.4]
at org.springframework.context.support.PostProcessorRegistrationDelegate.invokeBeanDefinitionRegistryPostProcessors(PostProcessorRegistrationDelegate.java:311) ~[spring-context-5.3.4.jar:5.3.4]
at org.springframework.context.support.PostProcessorRegistrationDelegate.invokeBeanFactoryPostProcessors(PostProcessorRegistrationDelegate.java:112) ~[spring-context-5.3.4.jar:5.3.4]
at org.springframework.context.support.AbstractApplicationContext.invokeBeanFactoryPostProcessors(AbstractApplicationContext.java:745) ~[spring-context-5.3.4.jar:5.3.4]
at org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:563) ~[spring-context-5.3.4.jar:5.3.4]
at org.springframework.boot.web.servlet.context.ServletWebServerApplicationContext.refresh(ServletWebServerApplicationContext.java:144) ~[spring-boot-2.4.3.jar:2.4.3]
at org.springframework.boot.SpringApplication.refresh(SpringApplication.java:767) ~[spring-boot-2.4.3.jar:2.4.3]
at org.springframework.boot.SpringApplication.refresh(SpringApplication.java:759) [spring-boot-2.4.3.jar:2.4.3]
at org.springframework.boot.SpringApplication.refreshContext(SpringApplication.java:426) [spring-boot-2.4.3.jar:2.4.3]
at org.springframework.boot.SpringApplication.run(SpringApplication.java:326) [spring-boot-2.4.3.jar:2.4.3]
at org.springframework.boot.SpringApplication.run(SpringApplication.java:1311) [spring-boot-2.4.3.jar:2.4.3]
at org.springframework.boot.SpringApplication.run(SpringApplication.java:1300) [spring-boot-2.4.3.jar:2.4.3]
at com.ruwii.es.EsApplication.main(EsApplication.java:23) [classes/:?]
Caused by: java.io.FileNotFoundException: class path resource [application.properties] cannot be opened because it does not exist
at org.springframework.core.io.ClassPathResource.getInputStream(ClassPathResource.java:180) ~[spring-core-5.3.4.jar:5.3.4]
at org.springframework.core.io.support.EncodedResource.getInputStream(EncodedResource.java:159) ~[spring-core-5.3.4.jar:5.3.4]
at org.springframework.core.io.support.PropertiesLoaderUtils.fillProperties(PropertiesLoaderUtils.java:110) ~[spring-core-5.3.4.jar:5.3.4]
at org.springframework.core.io.support.PropertiesLoaderUtils.fillProperties(PropertiesLoaderUtils.java:81) ~[spring-core-5.3.4.jar:5.3.4]
at org.springframework.core.io.support.PropertiesLoaderUtils.loadProperties(PropertiesLoaderUtils.java:67) ~[spring-core-5.3.4.jar:5.3.4]
at org.springframework.core.io.support.ResourcePropertySource.<init>(ResourcePropertySource.java:67) ~[spring-core-5.3.4.jar:5.3.4]
at org.springframework.core.io.support.DefaultPropertySourceFactory.createPropertySource(DefaultPropertySourceFactory.java:37) ~[spring-core-5.3.4.jar:5.3.4]
at org.springframework.context.annotation.ConfigurationClassParser.processPropertySource(ConfigurationClassParser.java:463) ~[spring-context-5.3.4.jar:5.3.4]
at org.springframework.context.annotation.ConfigurationClassParser.doProcessConfigurationClass(ConfigurationClassParser.java:280) ~[spring-context-5.3.4.jar:5.3.4]
at org.springframework.context.annotation.ConfigurationClassParser.processConfigurationClass(ConfigurationClassParser.java:250) ~[spring-context-5.3.4.jar:5.3.4]
at org.springframework.context.annotation.ConfigurationClassParser.parse(ConfigurationClassParser.java:199) ~[spring-context-5.3.4.jar:5.3.4]
at org.springframework.context.annotation.ConfigurationClassParser.doProcessConfigurationClass(ConfigurationClassParser.java:304) ~[spring-context-5.3.4.jar:5.3.4]
at org.springframework.context.annotation.ConfigurationClassParser.processConfigurationClass(ConfigurationClassParser.java:250) ~[spring-context-5.3.4.jar:5.3.4]
at org.springframework.context.annotation.ConfigurationClassParser.parse(ConfigurationClassParser.java:207) ~[spring-context-5.3.4.jar:5.3.4]
at org.springframework.context.annotation.ConfigurationClassParser.parse(ConfigurationClassParser.java:175) ~[spring-context-5.3.4.jar:5.3.4]
... 14 more
2021-04-16 15:11:51 [traceId:] [ WARN ] [ org.springframework.boot.web.servlet.context.AnnotationConfigServletWebServerApplicationContext ] Exception encountered during context initialization - cancelling refresh attempt: org.springframework.beans.factory.BeanDefinitionStoreException: Failed to parse configuration class [com.ruwii.es.EsApplication]; nested exception is java.io.FileNotFoundException: class path resource [application.properties] cannot be opened because it does not exist
2021-04-16 15:11:51 [traceId:] [ ERROR ] [ org.springframework.boot.SpringApplication ] Application run failed
org.springframework.beans.factory.BeanDefinitionStoreException: Failed to parse configuration class [com.ruwii.es.EsApplication]; nested exception is java.io.FileNotFoundException: class path resource [application.properties] cannot be opened because it does not exist
at org.springframework.context.annotation.ConfigurationClassParser.parse(ConfigurationClassParser.java:189) ~[spring-context-5.3.4.jar:5.3.4]
at org.springframework.context.annotation.ConfigurationClassPostProcessor.processConfigBeanDefinitions(ConfigurationClassPostProcessor.java:330) ~[spring-context-5.3.4.jar:5.3.4]
at org.springframework.context.annotation.ConfigurationClassPostProcessor.postProcessBeanDefinitionRegistry(ConfigurationClassPostProcessor.java:246) ~[spring-context-5.3.4.jar:5.3.4]
at org.springframework.context.support.PostProcessorRegistrationDelegate.invokeBeanDefinitionRegistryPostProcessors(PostProcessorRegistrationDelegate.java:311) ~[spring-context-5.3.4.jar:5.3.4]
at org.springframework.context.support.PostProcessorRegistrationDelegate.invokeBeanFactoryPostProcessors(PostProcessorRegistrationDelegate.java:112) ~[spring-context-5.3.4.jar:5.3.4]
at org.springframework.context.support.AbstractApplicationContext.invokeBeanFactoryPostProcessors(AbstractApplicationContext.java:745) ~[spring-context-5.3.4.jar:5.3.4]
at org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:563) ~[spring-context-5.3.4.jar:5.3.4]
at org.springframework.boot.web.servlet.context.ServletWebServerApplicationContext.refresh(ServletWebServerApplicationContext.java:144) ~[spring-boot-2.4.3.jar:2.4.3]
at org.springframework.boot.SpringApplication.refresh(SpringApplication.java:767) ~[spring-boot-2.4.3.jar:2.4.3]
at org.springframework.boot.SpringApplication.refresh(SpringApplication.java:759) [spring-boot-2.4.3.jar:2.4.3]
at org.springframework.boot.SpringApplication.refreshContext(SpringApplication.java:426) [spring-boot-2.4.3.jar:2.4.3]
at org.springframework.boot.SpringApplication.run(SpringApplication.java:326) [spring-boot-2.4.3.jar:2.4.3]
at org.springframework.boot.SpringApplication.run(SpringApplication.java:1311) [spring-boot-2.4.3.jar:2.4.3]
at org.springframework.boot.SpringApplication.run(SpringApplication.java:1300) [spring-boot-2.4.3.jar:2.4.3]
at com.ruwii.es.EsApplication.main(EsApplication.java:23) [classes/:?]
Caused by: java.io.FileNotFoundException: class path resource [application.properties] cannot be opened because it does not exist
at org.springframework.core.io.ClassPathResource.getInputStream(ClassPathResource.java:180) ~[spring-core-5.3.4.jar:5.3.4]
at org.springframework.core.io.support.EncodedResource.getInputStream(EncodedResource.java:159) ~[spring-core-5.3.4.jar:5.3.4]
at org.springframework.core.io.support.PropertiesLoaderUtils.fillProperties(PropertiesLoaderUtils.java:110) ~[spring-core-5.3.4.jar:5.3.4]
at org.springframework.core.io.support.PropertiesLoaderUtils.fillProperties(PropertiesLoaderUtils.java:81) ~[spring-core-5.3.4.jar:5.3.4]
at org.springframework.core.io.support.PropertiesLoaderUtils.loadProperties(PropertiesLoaderUtils.java:67) ~[spring-core-5.3.4.jar:5.3.4]
at org.springframework.core.io.support.ResourcePropertySource.<init>(ResourcePropertySource.java:67) ~[spring-core-5.3.4.jar:5.3.4]
at org.springframework.core.io.support.DefaultPropertySourceFactory.createPropertySource(DefaultPropertySourceFactory.java:37) ~[spring-core-5.3.4.jar:5.3.4]
at org.springframework.context.annotation.ConfigurationClassParser.processPropertySource(ConfigurationClassParser.java:463) ~[spring-context-5.3.4.jar:5.3.4]
at org.springframework.context.annotation.ConfigurationClassParser.doProcessConfigurationClass(ConfigurationClassParser.java:280) ~[spring-context-5.3.4.jar:5.3.4]
at org.springframework.context.annotation.ConfigurationClassParser.processConfigurationClass(ConfigurationClassParser.java:250) ~[spring-context-5.3.4.jar:5.3.4]
at org.springframework.context.annotation.ConfigurationClassParser.parse(ConfigurationClassParser.java:199) ~[spring-context-5.3.4.jar:5.3.4]
at org.springframework.context.annotation.ConfigurationClassParser.doProcessConfigurationClass(ConfigurationClassParser.java:304) ~[spring-context-5.3.4.jar:5.3.4]
at org.springframework.context.annotation.ConfigurationClassParser.processConfigurationClass(ConfigurationClassParser.java:250) ~[spring-context-5.3.4.jar:5.3.4]
at org.springframework.context.annotation.ConfigurationClassParser.parse(ConfigurationClassParser.java:207) ~[spring-context-5.3.4.jar:5.3.4]
at org.springframework.context.annotation.ConfigurationClassParser.parse(ConfigurationClassParser.java:175) ~[spring-context-5.3.4.jar:5.3.4]
... 14 more
2021-04-16 15:12:32 [traceId:] [ WARN ] [ org.springframework.boot.web.servlet.context.AnnotationConfigServletWebServerApplicationContext ] Exception encountered during context initialization - cancelling refresh attempt: org.springframework.beans.factory.BeanDefinitionStoreException: Failed to parse configuration class [com.ruwii.es.EsApplication]; nested exception is java.io.FileNotFoundException: class path resource [application.properties] cannot be opened because it does not exist
2021-04-16 15:12:32 [traceId:] [ ERROR ] [ org.springframework.boot.SpringApplication ] Application run failed
org.springframework.beans.factory.BeanDefinitionStoreException: Failed to parse configuration class [com.ruwii.es.EsApplication]; nested exception is java.io.FileNotFoundException: class path resource [application.properties] cannot be opened because it does not exist
at org.springframework.context.annotation.ConfigurationClassParser.parse(ConfigurationClassParser.java:189) ~[spring-context-5.3.4.jar:5.3.4]
at org.springframework.context.annotation.ConfigurationClassPostProcessor.processConfigBeanDefinitions(ConfigurationClassPostProcessor.java:330) ~[spring-context-5.3.4.jar:5.3.4]
at org.springframework.context.annotation.ConfigurationClassPostProcessor.postProcessBeanDefinitionRegistry(ConfigurationClassPostProcessor.java:246) ~[spring-context-5.3.4.jar:5.3.4]
at org.springframework.context.support.PostProcessorRegistrationDelegate.invokeBeanDefinitionRegistryPostProcessors(PostProcessorRegistrationDelegate.java:311) ~[spring-context-5.3.4.jar:5.3.4]
at org.springframework.context.support.PostProcessorRegistrationDelegate.invokeBeanFactoryPostProcessors(PostProcessorRegistrationDelegate.java:112) ~[spring-context-5.3.4.jar:5.3.4]
at org.springframework.context.support.AbstractApplicationContext.invokeBeanFactoryPostProcessors(AbstractApplicationContext.java:745) ~[spring-context-5.3.4.jar:5.3.4]
at org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:563) ~[spring-context-5.3.4.jar:5.3.4]
at org.springframework.boot.web.servlet.context.ServletWebServerApplicationContext.refresh(ServletWebServerApplicationContext.java:144) ~[spring-boot-2.4.3.jar:2.4.3]
at org.springframework.boot.SpringApplication.refresh(SpringApplication.java:767) ~[spring-boot-2.4.3.jar:2.4.3]
at org.springframework.boot.SpringApplication.refresh(SpringApplication.java:759) [spring-boot-2.4.3.jar:2.4.3]
at org.springframework.boot.SpringApplication.refreshContext(SpringApplication.java:426) [spring-boot-2.4.3.jar:2.4.3]
at org.springframework.boot.SpringApplication.run(SpringApplication.java:326) [spring-boot-2.4.3.jar:2.4.3]
at org.springframework.boot.SpringApplication.run(SpringApplication.java:1311) [spring-boot-2.4.3.jar:2.4.3]
at org.springframework.boot.SpringApplication.run(SpringApplication.java:1300) [spring-boot-2.4.3.jar:2.4.3]
at com.ruwii.es.EsApplication.main(EsApplication.java:25) [classes/:?]
Caused by: java.io.FileNotFoundException: class path resource [application.properties] cannot be opened because it does not exist
at org.springframework.core.io.ClassPathResource.getInputStream(ClassPathResource.java:180) ~[spring-core-5.3.4.jar:5.3.4]
at org.springframework.core.io.support.EncodedResource.getInputStream(EncodedResource.java:159) ~[spring-core-5.3.4.jar:5.3.4]
at org.springframework.core.io.support.PropertiesLoaderUtils.fillProperties(PropertiesLoaderUtils.java:110) ~[spring-core-5.3.4.jar:5.3.4]
at org.springframework.core.io.support.PropertiesLoaderUtils.fillProperties(PropertiesLoaderUtils.java:81) ~[spring-core-5.3.4.jar:5.3.4]
at org.springframework.core.io.support.PropertiesLoaderUtils.loadProperties(PropertiesLoaderUtils.java:67) ~[spring-core-5.3.4.jar:5.3.4]
at org.springframework.core.io.support.ResourcePropertySource.<init>(ResourcePropertySource.java:67) ~[spring-core-5.3.4.jar:5.3.4]
at org.springframework.core.io.support.DefaultPropertySourceFactory.createPropertySource(DefaultPropertySourceFactory.java:37) ~[spring-core-5.3.4.jar:5.3.4]
at org.springframework.context.annotation.ConfigurationClassParser.processPropertySource(ConfigurationClassParser.java:463) ~[spring-context-5.3.4.jar:5.3.4]
at org.springframework.context.annotation.ConfigurationClassParser.doProcessConfigurationClass(ConfigurationClassParser.java:280) ~[spring-context-5.3.4.jar:5.3.4]
at org.springframework.context.annotation.ConfigurationClassParser.processConfigurationClass(ConfigurationClassParser.java:250) ~[spring-context-5.3.4.jar:5.3.4]
at org.springframework.context.annotation.ConfigurationClassParser.parse(ConfigurationClassParser.java:207) ~[spring-context-5.3.4.jar:5.3.4]
at org.springframework.context.annotation.ConfigurationClassParser.parse(ConfigurationClassParser.java:175) ~[spring-context-5.3.4.jar:5.3.4]
... 14 more
2021-04-16 15:12:58 [traceId:] [ WARN ] [ org.springframework.boot.web.servlet.context.AnnotationConfigServletWebServerApplicationContext ] Exception encountered during context initialization - cancelling refresh attempt: org.springframework.beans.factory.BeanDefinitionStoreException: Failed to parse configuration class [com.ruwii.es.EsApplication]; nested exception is java.io.FileNotFoundException: class path resource [application.properties] cannot be opened because it does not exist
2021-04-16 15:12:59 [traceId:] [ ERROR ] [ org.springframework.boot.SpringApplication ] Application run failed
org.springframework.beans.factory.BeanDefinitionStoreException: Failed to parse configuration class [com.ruwii.es.EsApplication]; nested exception is java.io.FileNotFoundException: class path resource [application.properties] cannot be opened because it does not exist
at org.springframework.context.annotation.ConfigurationClassParser.parse(ConfigurationClassParser.java:189) ~[spring-context-5.3.4.jar:5.3.4]
at org.springframework.context.annotation.ConfigurationClassPostProcessor.processConfigBeanDefinitions(ConfigurationClassPostProcessor.java:330) ~[spring-context-5.3.4.jar:5.3.4]
at org.springframework.context.annotation.ConfigurationClassPostProcessor.postProcessBeanDefinitionRegistry(ConfigurationClassPostProcessor.java:246) ~[spring-context-5.3.4.jar:5.3.4]
at org.springframework.context.support.PostProcessorRegistrationDelegate.invokeBeanDefinitionRegistryPostProcessors(PostProcessorRegistrationDelegate.java:311) ~[spring-context-5.3.4.jar:5.3.4]
at org.springframework.context.support.PostProcessorRegistrationDelegate.invokeBeanFactoryPostProcessors(PostProcessorRegistrationDelegate.java:112) ~[spring-context-5.3.4.jar:5.3.4]
at org.springframework.context.support.AbstractApplicationContext.invokeBeanFactoryPostProcessors(AbstractApplicationContext.java:745) ~[spring-context-5.3.4.jar:5.3.4]
at org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:563) ~[spring-context-5.3.4.jar:5.3.4]
at org.springframework.boot.web.servlet.context.ServletWebServerApplicationContext.refresh(ServletWebServerApplicationContext.java:144) ~[spring-boot-2.4.3.jar:2.4.3]
at org.springframework.boot.SpringApplication.refresh(SpringApplication.java:767) ~[spring-boot-2.4.3.jar:2.4.3]
at org.springframework.boot.SpringApplication.refresh(SpringApplication.java:759) [spring-boot-2.4.3.jar:2.4.3]
at org.springframework.boot.SpringApplication.refreshContext(SpringApplication.java:426) [spring-boot-2.4.3.jar:2.4.3]
at org.springframework.boot.SpringApplication.run(SpringApplication.java:326) [spring-boot-2.4.3.jar:2.4.3]
at org.springframework.boot.SpringApplication.run(SpringApplication.java:1311) [spring-boot-2.4.3.jar:2.4.3]
at org.springframework.boot.SpringApplication.run(SpringApplication.java:1300) [spring-boot-2.4.3.jar:2.4.3]
at com.ruwii.es.EsApplication.main(EsApplication.java:25) [classes/:?]
Caused by: java.io.FileNotFoundException: class path resource [application.properties] cannot be opened because it does not exist
at org.springframework.core.io.ClassPathResource.getInputStream(ClassPathResource.java:180) ~[spring-core-5.3.4.jar:5.3.4]
at org.springframework.core.io.support.EncodedResource.getInputStream(EncodedResource.java:159) ~[spring-core-5.3.4.jar:5.3.4]
at org.springframework.core.io.support.PropertiesLoaderUtils.fillProperties(PropertiesLoaderUtils.java:110) ~[spring-core-5.3.4.jar:5.3.4]
at org.springframework.core.io.support.PropertiesLoaderUtils.fillProperties(PropertiesLoaderUtils.java:81) ~[spring-core-5.3.4.jar:5.3.4]
at org.springframework.core.io.support.PropertiesLoaderUtils.loadProperties(PropertiesLoaderUtils.java:67) ~[spring-core-5.3.4.jar:5.3.4]
at org.springframework.core.io.support.ResourcePropertySource.<init>(ResourcePropertySource.java:67) ~[spring-core-5.3.4.jar:5.3.4]
at org.springframework.core.io.support.DefaultPropertySourceFactory.createPropertySource(DefaultPropertySourceFactory.java:37) ~[spring-core-5.3.4.jar:5.3.4]
at org.springframework.context.annotation.ConfigurationClassParser.processPropertySource(ConfigurationClassParser.java:463) ~[spring-context-5.3.4.jar:5.3.4]
at org.springframework.context.annotation.ConfigurationClassParser.doProcessConfigurationClass(ConfigurationClassParser.java:280) ~[spring-context-5.3.4.jar:5.3.4]
at org.springframework.context.annotation.ConfigurationClassParser.processConfigurationClass(ConfigurationClassParser.java:250) ~[spring-context-5.3.4.jar:5.3.4]
at org.springframework.context.annotation.ConfigurationClassParser.parse(ConfigurationClassParser.java:207) ~[spring-context-5.3.4.jar:5.3.4]
at org.springframework.context.annotation.ConfigurationClassParser.parse(ConfigurationClassParser.java:175) ~[spring-context-5.3.4.jar:5.3.4]
... 14 more
2021-04-16 15:13:19 [traceId:] [ WARN ] [ org.springframework.boot.web.servlet.context.AnnotationConfigServletWebServerApplicationContext ] Exception encountered during context initialization - cancelling refresh attempt: org.springframework.beans.factory.BeanDefinitionStoreException: Failed to parse configuration class [com.ruwii.es.EsApplication]; nested exception is java.io.FileNotFoundException: class path resource [../application.properties] cannot be opened because it does not exist
2021-04-16 15:13:19 [traceId:] [ ERROR ] [ org.springframework.boot.SpringApplication ] Application run failed
org.springframework.beans.factory.BeanDefinitionStoreException: Failed to parse configuration class [com.ruwii.es.EsApplication]; nested exception is java.io.FileNotFoundException: class path resource [../application.properties] cannot be opened because it does not exist
at org.springframework.context.annotation.ConfigurationClassParser.parse(ConfigurationClassParser.java:189) ~[spring-context-5.3.4.jar:5.3.4]
at org.springframework.context.annotation.ConfigurationClassPostProcessor.processConfigBeanDefinitions(ConfigurationClassPostProcessor.java:330) ~[spring-context-5.3.4.jar:5.3.4]
at org.springframework.context.annotation.ConfigurationClassPostProcessor.postProcessBeanDefinitionRegistry(ConfigurationClassPostProcessor.java:246) ~[spring-context-5.3.4.jar:5.3.4]
at org.springframework.context.support.PostProcessorRegistrationDelegate.invokeBeanDefinitionRegistryPostProcessors(PostProcessorRegistrationDelegate.java:311) ~[spring-context-5.3.4.jar:5.3.4]
at org.springframework.context.support.PostProcessorRegistrationDelegate.invokeBeanFactoryPostProcessors(PostProcessorRegistrationDelegate.java:112) ~[spring-context-5.3.4.jar:5.3.4]
at org.springframework.context.support.AbstractApplicationContext.invokeBeanFactoryPostProcessors(AbstractApplicationContext.java:745) ~[spring-context-5.3.4.jar:5.3.4]
at org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:563) ~[spring-context-5.3.4.jar:5.3.4]
at org.springframework.boot.web.servlet.context.ServletWebServerApplicationContext.refresh(ServletWebServerApplicationContext.java:144) ~[spring-boot-2.4.3.jar:2.4.3]
at org.springframework.boot.SpringApplication.refresh(SpringApplication.java:767) ~[spring-boot-2.4.3.jar:2.4.3]
at org.springframework.boot.SpringApplication.refresh(SpringApplication.java:759) [spring-boot-2.4.3.jar:2.4.3]
at org.springframework.boot.SpringApplication.refreshContext(SpringApplication.java:426) [spring-boot-2.4.3.jar:2.4.3]
at org.springframework.boot.SpringApplication.run(SpringApplication.java:326) [spring-boot-2.4.3.jar:2.4.3]
at org.springframework.boot.SpringApplication.run(SpringApplication.java:1311) [spring-boot-2.4.3.jar:2.4.3]
at org.springframework.boot.SpringApplication.run(SpringApplication.java:1300) [spring-boot-2.4.3.jar:2.4.3]
at com.ruwii.es.EsApplication.main(EsApplication.java:25) [classes/:?]
Caused by: java.io.FileNotFoundException: class path resource [../application.properties] cannot be opened because it does not exist
at org.springframework.core.io.ClassPathResource.getInputStream(ClassPathResource.java:180) ~[spring-core-5.3.4.jar:5.3.4]
at org.springframework.core.io.support.EncodedResource.getInputStream(EncodedResource.java:159) ~[spring-core-5.3.4.jar:5.3.4]
at org.springframework.core.io.support.PropertiesLoaderUtils.fillProperties(PropertiesLoaderUtils.java:110) ~[spring-core-5.3.4.jar:5.3.4]
at org.springframework.core.io.support.PropertiesLoaderUtils.fillProperties(PropertiesLoaderUtils.java:81) ~[spring-core-5.3.4.jar:5.3.4]
at org.springframework.core.io.support.PropertiesLoaderUtils.loadProperties(PropertiesLoaderUtils.java:67) ~[spring-core-5.3.4.jar:5.3.4]
at org.springframework.core.io.support.ResourcePropertySource.<init>(ResourcePropertySource.java:67) ~[spring-core-5.3.4.jar:5.3.4]
at org.springframework.core.io.support.DefaultPropertySourceFactory.createPropertySource(DefaultPropertySourceFactory.java:37) ~[spring-core-5.3.4.jar:5.3.4]
at org.springframework.context.annotation.ConfigurationClassParser.processPropertySource(ConfigurationClassParser.java:463) ~[spring-context-5.3.4.jar:5.3.4]
at org.springframework.context.annotation.ConfigurationClassParser.doProcessConfigurationClass(ConfigurationClassParser.java:280) ~[spring-context-5.3.4.jar:5.3.4]
at org.springframework.context.annotation.ConfigurationClassParser.processConfigurationClass(ConfigurationClassParser.java:250) ~[spring-context-5.3.4.jar:5.3.4]
at org.springframework.context.annotation.ConfigurationClassParser.parse(ConfigurationClassParser.java:207) ~[spring-context-5.3.4.jar:5.3.4]
at org.springframework.context.annotation.ConfigurationClassParser.parse(ConfigurationClassParser.java:175) ~[spring-context-5.3.4.jar:5.3.4]
... 14 more
2021-04-16 15:13:31 [traceId:] [ WARN ] [ org.springframework.boot.web.servlet.context.AnnotationConfigServletWebServerApplicationContext ] Exception encountered during context initialization - cancelling refresh attempt: org.springframework.beans.factory.BeanDefinitionStoreException: Failed to parse configuration class [com.ruwii.es.EsApplication]; nested exception is java.io.FileNotFoundException: class path resource [application.properties] cannot be opened because it does not exist
2021-04-16 15:13:31 [traceId:] [ ERROR ] [ org.springframework.boot.SpringApplication ] Application run failed
org.springframework.beans.factory.BeanDefinitionStoreException: Failed to parse configuration class [com.ruwii.es.EsApplication]; nested exception is java.io.FileNotFoundException: class path resource [application.properties] cannot be opened because it does not exist
at org.springframework.context.annotation.ConfigurationClassParser.parse(ConfigurationClassParser.java:189) ~[spring-context-5.3.4.jar:5.3.4]
at org.springframework.context.annotation.ConfigurationClassPostProcessor.processConfigBeanDefinitions(ConfigurationClassPostProcessor.java:330) ~[spring-context-5.3.4.jar:5.3.4]
at org.springframework.context.annotation.ConfigurationClassPostProcessor.postProcessBeanDefinitionRegistry(ConfigurationClassPostProcessor.java:246) ~[spring-context-5.3.4.jar:5.3.4]
at org.springframework.context.support.PostProcessorRegistrationDelegate.invokeBeanDefinitionRegistryPostProcessors(PostProcessorRegistrationDelegate.java:311) ~[spring-context-5.3.4.jar:5.3.4]
at org.springframework.context.support.PostProcessorRegistrationDelegate.invokeBeanFactoryPostProcessors(PostProcessorRegistrationDelegate.java:112) ~[spring-context-5.3.4.jar:5.3.4]
at org.springframework.context.support.AbstractApplicationContext.invokeBeanFactoryPostProcessors(AbstractApplicationContext.java:745) ~[spring-context-5.3.4.jar:5.3.4]
at org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:563) ~[spring-context-5.3.4.jar:5.3.4]
at org.springframework.boot.web.servlet.context.ServletWebServerApplicationContext.refresh(ServletWebServerApplicationContext.java:144) ~[spring-boot-2.4.3.jar:2.4.3]
at org.springframework.boot.SpringApplication.refresh(SpringApplication.java:767) ~[spring-boot-2.4.3.jar:2.4.3]
at org.springframework.boot.SpringApplication.refresh(SpringApplication.java:759) [spring-boot-2.4.3.jar:2.4.3]
at org.springframework.boot.SpringApplication.refreshContext(SpringApplication.java:426) [spring-boot-2.4.3.jar:2.4.3]
at org.springframework.boot.SpringApplication.run(SpringApplication.java:326) [spring-boot-2.4.3.jar:2.4.3]
at org.springframework.boot.SpringApplication.run(SpringApplication.java:1311) [spring-boot-2.4.3.jar:2.4.3]
at org.springframework.boot.SpringApplication.run(SpringApplication.java:1300) [spring-boot-2.4.3.jar:2.4.3]
at com.ruwii.es.EsApplication.main(EsApplication.java:25) [classes/:?]
Caused by: java.io.FileNotFoundException: class path resource [application.properties] cannot be opened because it does not exist
at org.springframework.core.io.ClassPathResource.getInputStream(ClassPathResource.java:180) ~[spring-core-5.3.4.jar:5.3.4]
at org.springframework.core.io.support.EncodedResource.getInputStream(EncodedResource.java:159) ~[spring-core-5.3.4.jar:5.3.4]
at org.springframework.core.io.support.PropertiesLoaderUtils.fillProperties(PropertiesLoaderUtils.java:110) ~[spring-core-5.3.4.jar:5.3.4]
at org.springframework.core.io.support.PropertiesLoaderUtils.fillProperties(PropertiesLoaderUtils.java:81) ~[spring-core-5.3.4.jar:5.3.4]
at org.springframework.core.io.support.PropertiesLoaderUtils.loadProperties(PropertiesLoaderUtils.java:67) ~[spring-core-5.3.4.jar:5.3.4]
at org.springframework.core.io.support.ResourcePropertySource.<init>(ResourcePropertySource.java:67) ~[spring-core-5.3.4.jar:5.3.4]
at org.springframework.core.io.support.DefaultPropertySourceFactory.createPropertySource(DefaultPropertySourceFactory.java:37) ~[spring-core-5.3.4.jar:5.3.4]
at org.springframework.context.annotation.ConfigurationClassParser.processPropertySource(ConfigurationClassParser.java:463) ~[spring-context-5.3.4.jar:5.3.4]
at org.springframework.context.annotation.ConfigurationClassParser.doProcessConfigurationClass(ConfigurationClassParser.java:280) ~[spring-context-5.3.4.jar:5.3.4]
at org.springframework.context.annotation.ConfigurationClassParser.processConfigurationClass(ConfigurationClassParser.java:250) ~[spring-context-5.3.4.jar:5.3.4]
at org.springframework.context.annotation.ConfigurationClassParser.parse(ConfigurationClassParser.java:207) ~[spring-context-5.3.4.jar:5.3.4]
at org.springframework.context.annotation.ConfigurationClassParser.parse(ConfigurationClassParser.java:175) ~[spring-context-5.3.4.jar:5.3.4]
... 14 more
2021-05-12 15:10:19 [traceId:6c8ffa92196a4ae281e878b26e4b5ca0] [ ERROR ] [ com.ruwii.es.exception.GlobalErrorException ]
java.lang.IllegalStateException: Connection pool shut down
at org.apache.http.util.Asserts.check(Asserts.java:34) ~[httpcore-4.4.14.jar:4.4.14]
at org.apache.http.impl.conn.PoolingHttpClientConnectionManager.requestConnection(PoolingHttpClientConnectionManager.java:269) ~[httpclient-4.5.13.jar:4.5.13]
at org.apache.http.impl.execchain.MainClientExec.execute(MainClientExec.java:176) ~[httpclient-4.5.13.jar:4.5.13]
at org.apache.http.impl.execchain.ProtocolExec.execute(ProtocolExec.java:186) ~[httpclient-4.5.13.jar:4.5.13]
at org.apache.http.impl.execchain.RetryExec.execute(RetryExec.java:89) ~[httpclient-4.5.13.jar:4.5.13]
at org.apache.http.impl.execchain.RedirectExec.execute(RedirectExec.java:110) ~[httpclient-4.5.13.jar:4.5.13]
at org.apache.http.impl.client.InternalHttpClient.doExecute(InternalHttpClient.java:185) ~[httpclient-4.5.13.jar:4.5.13]
at org.apache.http.impl.client.CloseableHttpClient.execute(CloseableHttpClient.java:83) ~[httpclient-4.5.13.jar:4.5.13]
at org.apache.http.impl.client.CloseableHttpClient.execute(CloseableHttpClient.java:56) ~[httpclient-4.5.13.jar:4.5.13]
at org.springframework.http.client.HttpComponentsClientHttpRequest.executeInternal(HttpComponentsClientHttpRequest.java:87) ~[spring-web-5.3.4.jar:5.3.4]
at org.springframework.http.client.AbstractBufferingClientHttpRequest.executeInternal(AbstractBufferingClientHttpRequest.java:48) ~[spring-web-5.3.4.jar:5.3.4]
at org.springframework.http.client.AbstractClientHttpRequest.execute(AbstractClientHttpRequest.java:66) ~[spring-web-5.3.4.jar:5.3.4]
at org.springframework.web.client.RestTemplate.doExecute(RestTemplate.java:776) ~[spring-web-5.3.4.jar:5.3.4]
at org.springframework.web.client.RestTemplate.execute(RestTemplate.java:711) ~[spring-web-5.3.4.jar:5.3.4]
at org.springframework.web.client.RestTemplate.getForEntity(RestTemplate.java:361) ~[spring-web-5.3.4.jar:5.3.4]
at com.ruwii.es.util.HttpUtil.sendGet(HttpUtil.java:79) ~[classes/:?]
at com.ruwii.es.service.mihe.impl.MiheServiceImpl.getInitGoodsData(MiheServiceImpl.java:47) ~[classes/:?]
at com.ruwii.es.service.es.impl.EsGoodsMixMessageServiceImpl.parseInitGoodsData(EsGoodsMixMessageServiceImpl.java:107) ~[classes/:?]
at com.ruwii.es.service.es.impl.EsGoodsMixMessageServiceImpl.parseInitGoodsData(EsGoodsMixMessageServiceImpl.java:147) ~[classes/:?]
at com.ruwii.es.service.es.impl.EsGoodsMixMessageServiceImpl.parseInitGoodsData(EsGoodsMixMessageServiceImpl.java:147) ~[classes/:?]
at com.ruwii.es.service.es.impl.EsGoodsMixMessageServiceImpl.parseInitGoodsData(EsGoodsMixMessageServiceImpl.java:147) ~[classes/:?]
at com.ruwii.es.service.es.impl.EsGoodsMixMessageServiceImpl.parseInitGoodsData(EsGoodsMixMessageServiceImpl.java:147) ~[classes/:?]
at com.ruwii.es.service.es.impl.EsGoodsMixMessageServiceImpl.parseInitGoodsData(EsGoodsMixMessageServiceImpl.java:147) ~[classes/:?]
at com.ruwii.es.service.es.impl.EsGoodsMixMessageServiceImpl.parseInitGoodsData(EsGoodsMixMessageServiceImpl.java:147) ~[classes/:?]
at com.ruwii.es.service.es.impl.EsGoodsMixMessageServiceImpl.parseInitGoodsData(EsGoodsMixMessageServiceImpl.java:147) ~[classes/:?]
at com.ruwii.es.service.es.impl.EsGoodsMixMessageServiceImpl.parseInitGoodsData(EsGoodsMixMessageServiceImpl.java:147) ~[classes/:?]
at com.ruwii.es.service.es.impl.EsGoodsMixMessageServiceImpl.parseInitGoodsData(EsGoodsMixMessageServiceImpl.java:147) ~[classes/:?]
at com.ruwii.es.service.es.impl.EsGoodsMixMessageServiceImpl.parseInitGoodsData(EsGoodsMixMessageServiceImpl.java:147) ~[classes/:?]
at com.ruwii.es.service.es.impl.EsGoodsMixMessageServiceImpl.parseInitGoodsData(EsGoodsMixMessageServiceImpl.java:147) ~[classes/:?]
at com.ruwii.es.service.es.impl.EsGoodsMixMessageServiceImpl.parseInitGoodsData(EsGoodsMixMessageServiceImpl.java:147) ~[classes/:?]
at com.ruwii.es.service.es.impl.EsGoodsMixMessageServiceImpl.parseInitGoodsData(EsGoodsMixMessageServiceImpl.java:147) ~[classes/:?]
at com.ruwii.es.service.es.impl.EsGoodsMixMessageServiceImpl.parseInitGoodsData(EsGoodsMixMessageServiceImpl.java:147) ~[classes/:?]
at com.ruwii.es.service.es.impl.EsGoodsMixMessageServiceImpl.parseInitGoodsData(EsGoodsMixMessageServiceImpl.java:147) ~[classes/:?]
at com.ruwii.es.service.es.impl.EsGoodsMixMessageServiceImpl.parseInitGoodsData(EsGoodsMixMessageServiceImpl.java:147) ~[classes/:?]
at com.ruwii.es.service.es.impl.EsGoodsMixMessageServiceImpl.parseInitGoodsData(EsGoodsMixMessageServiceImpl.java:147) ~[classes/:?]
at com.ruwii.es.service.es.impl.EsGoodsMixMessageServiceImpl.parseInitGoodsData(EsGoodsMixMessageServiceImpl.java:147) ~[classes/:?]
at com.ruwii.es.service.es.impl.EsGoodsMixMessageServiceImpl.parseInitGoodsData(EsGoodsMixMessageServiceImpl.java:147) ~[classes/:?]
at com.ruwii.es.service.es.impl.EsGoodsMixMessageServiceImpl.insertAll2Es(EsGoodsMixMessageServiceImpl.java:85) ~[classes/:?]
at com.ruwii.es.controller.GoodsController.fromDbAll2EsExecutor(GoodsController.java:32) ~[classes/:?]
at com.ruwii.es.controller.GoodsController$$FastClassBySpringCGLIB$$51f42ab9.invoke(<generated>) ~[classes/:?]
at org.springframework.cglib.proxy.MethodProxy.invoke(MethodProxy.java:218) ~[spring-core-5.3.4.jar:5.3.4]
at org.springframework.aop.framework.CglibAopProxy$CglibMethodInvocation.invokeJoinpoint(CglibAopProxy.java:779) ~[spring-aop-5.3.4.jar:5.3.4]
at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:163) ~[spring-aop-5.3.4.jar:5.3.4]
at org.springframework.aop.framework.CglibAopProxy$CglibMethodInvocation.proceed(CglibAopProxy.java:750) ~[spring-aop-5.3.4.jar:5.3.4]
at org.springframework.aop.framework.adapter.AfterReturningAdviceInterceptor.invoke(AfterReturningAdviceInterceptor.java:57) ~[spring-aop-5.3.4.jar:5.3.4]
at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:186) ~[spring-aop-5.3.4.jar:5.3.4]
at org.springframework.aop.framework.CglibAopProxy$CglibMethodInvocation.proceed(CglibAopProxy.java:750) ~[spring-aop-5.3.4.jar:5.3.4]
at org.springframework.aop.framework.adapter.MethodBeforeAdviceInterceptor.invoke(MethodBeforeAdviceInterceptor.java:58) ~[spring-aop-5.3.4.jar:5.3.4]
at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:186) ~[spring-aop-5.3.4.jar:5.3.4]
at org.springframework.aop.framework.CglibAopProxy$CglibMethodInvocation.proceed(CglibAopProxy.java:750) ~[spring-aop-5.3.4.jar:5.3.4]
at org.springframework.aop.interceptor.ExposeInvocationInterceptor.invoke(ExposeInvocationInterceptor.java:97) ~[spring-aop-5.3.4.jar:5.3.4]
at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:186) ~[spring-aop-5.3.4.jar:5.3.4]
at org.springframework.aop.framework.CglibAopProxy$CglibMethodInvocation.proceed(CglibAopProxy.java:750) ~[spring-aop-5.3.4.jar:5.3.4]
at org.springframework.aop.framework.CglibAopProxy$DynamicAdvisedInterceptor.intercept(CglibAopProxy.java:692) ~[spring-aop-5.3.4.jar:5.3.4]
at com.ruwii.es.controller.GoodsController$$EnhancerBySpringCGLIB$$d25f6b38.fromDbAll2EsExecutor(<generated>) ~[classes/:?]
at jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method) ~[?:?]
at jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) ~[?:?]
at jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) ~[?:?]
at java.lang.reflect.Method.invoke(Method.java:566) ~[?:?]
at org.springframework.web.method.support.InvocableHandlerMethod.doInvoke(InvocableHandlerMethod.java:197) ~[spring-web-5.3.4.jar:5.3.4]
at org.springframework.web.method.support.InvocableHandlerMethod.invokeForRequest(InvocableHandlerMethod.java:141) ~[spring-web-5.3.4.jar:5.3.4]
at org.springframework.web.servlet.mvc.method.annotation.ServletInvocableHandlerMethod.invokeAndHandle(ServletInvocableHandlerMethod.java:106) ~[spring-webmvc-5.3.4.jar:5.3.4]
at org.springframework.web.servlet.mvc.method.annotation.RequestMappingHandlerAdapter.invokeHandlerMethod(RequestMappingHandlerAdapter.java:894) ~[spring-webmvc-5.3.4.jar:5.3.4]
at org.springframework.web.servlet.mvc.method.annotation.RequestMappingHandlerAdapter.handleInternal(RequestMappingHandlerAdapter.java:808) ~[spring-webmvc-5.3.4.jar:5.3.4]
at org.springframework.web.servlet.mvc.method.AbstractHandlerMethodAdapter.handle(AbstractHandlerMethodAdapter.java:87) ~[spring-webmvc-5.3.4.jar:5.3.4]
at org.springframework.web.servlet.DispatcherServlet.doDispatch(DispatcherServlet.java:1060) [spring-webmvc-5.3.4.jar:5.3.4]
at org.springframework.web.servlet.DispatcherServlet.doService(DispatcherServlet.java:962) [spring-webmvc-5.3.4.jar:5.3.4]
at org.springframework.web.servlet.FrameworkServlet.processRequest(FrameworkServlet.java:1006) [spring-webmvc-5.3.4.jar:5.3.4]
at org.springframework.web.servlet.FrameworkServlet.doGet(FrameworkServlet.java:898) [spring-webmvc-5.3.4.jar:5.3.4]
at javax.servlet.http.HttpServlet.service(HttpServlet.java:626) [tomcat-embed-core-9.0.43.jar:4.0.FR]
at org.springframework.web.servlet.FrameworkServlet.service(FrameworkServlet.java:883) [spring-webmvc-5.3.4.jar:5.3.4]
at javax.servlet.http.HttpServlet.service(HttpServlet.java:733) [tomcat-embed-core-9.0.43.jar:4.0.FR]
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:227) [tomcat-embed-core-9.0.43.jar:9.0.43]
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162) [tomcat-embed-core-9.0.43.jar:9.0.43]
at org.apache.tomcat.websocket.server.WsFilter.doFilter(WsFilter.java:53) [tomcat-embed-websocket-9.0.43.jar:9.0.43]
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189) [tomcat-embed-core-9.0.43.jar:9.0.43]
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162) [tomcat-embed-core-9.0.43.jar:9.0.43]
at org.springframework.web.filter.RequestContextFilter.doFilterInternal(RequestContextFilter.java:100) [spring-web-5.3.4.jar:5.3.4]
at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:119) [spring-web-5.3.4.jar:5.3.4]
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189) [tomcat-embed-core-9.0.43.jar:9.0.43]
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162) [tomcat-embed-core-9.0.43.jar:9.0.43]
at org.springframework.web.filter.FormContentFilter.doFilterInternal(FormContentFilter.java:93) [spring-web-5.3.4.jar:5.3.4]
at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:119) [spring-web-5.3.4.jar:5.3.4]
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189) [tomcat-embed-core-9.0.43.jar:9.0.43]
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162) [tomcat-embed-core-9.0.43.jar:9.0.43]
at org.springframework.web.filter.CharacterEncodingFilter.doFilterInternal(CharacterEncodingFilter.java:201) [spring-web-5.3.4.jar:5.3.4]
at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:119) [spring-web-5.3.4.jar:5.3.4]
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189) [tomcat-embed-core-9.0.43.jar:9.0.43]
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162) [tomcat-embed-core-9.0.43.jar:9.0.43]
at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:202) [tomcat-embed-core-9.0.43.jar:9.0.43]
at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:97) [tomcat-embed-core-9.0.43.jar:9.0.43]
at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:542) [tomcat-embed-core-9.0.43.jar:9.0.43]
at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:143) [tomcat-embed-core-9.0.43.jar:9.0.43]
at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:92) [tomcat-embed-core-9.0.43.jar:9.0.43]
at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:78) [tomcat-embed-core-9.0.43.jar:9.0.43]
at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:346) [tomcat-embed-core-9.0.43.jar:9.0.43]
at org.apache.coyote.http11.Http11Processor.service(Http11Processor.java:374) [tomcat-embed-core-9.0.43.jar:9.0.43]
at org.apache.coyote.AbstractProcessorLight.process(AbstractProcessorLight.java:65) [tomcat-embed-core-9.0.43.jar:9.0.43]
at org.apache.coyote.AbstractProtocol$ConnectionHandler.process(AbstractProtocol.java:887) [tomcat-embed-core-9.0.43.jar:9.0.43]
at org.apache.tomcat.util.net.NioEndpoint$SocketProcessor.doRun(NioEndpoint.java:1684) [tomcat-embed-core-9.0.43.jar:9.0.43]
at org.apache.tomcat.util.net.SocketProcessorBase.run(SocketProcessorBase.java:49) [tomcat-embed-core-9.0.43.jar:9.0.43]
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1128) [?:?]
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:628) [?:?]
at org.apache.tomcat.util.threads.TaskThread$WrappingRunnable.run(TaskThread.java:61) [tomcat-embed-core-9.0.43.jar:9.0.43]
at java.lang.Thread.run(Thread.java:834) [?:?]
2021-05-12 15:10:19 [traceId:6c8ffa92196a4ae281e878b26e4b5ca0] [ WARN ] [ org.springframework.web.servlet.mvc.method.annotation.ExceptionHandlerExceptionResolver ] Failure in @ExceptionHandler com.ruwii.es.exception.GlobalErrorException#error(HttpServletRequest, Exception)
java.lang.NullPointerException: null
at org.springframework.web.util.UrlPathHelper.getSanitizedPath(UrlPathHelper.java:409) ~[spring-web-5.3.4.jar:5.3.4]
at org.springframework.web.util.UrlPathHelper.decodeAndCleanUriString(UrlPathHelper.java:550) ~[spring-web-5.3.4.jar:5.3.4]
at org.springframework.web.util.UrlPathHelper.getOriginatingRequestUri(UrlPathHelper.java:495) ~[spring-web-5.3.4.jar:5.3.4]
at org.springframework.web.servlet.mvc.method.annotation.AbstractMessageConverterMethodProcessor.addContentDispositionHeader(AbstractMessageConverterMethodProcessor.java:418) ~[spring-webmvc-5.3.4.jar:5.3.4]
at org.springframework.web.servlet.mvc.method.annotation.AbstractMessageConverterMethodProcessor.writeWithMessageConverters(AbstractMessageConverterMethodProcessor.java:275) ~[spring-webmvc-5.3.4.jar:5.3.4]
at org.springframework.web.servlet.mvc.method.annotation.RequestResponseBodyMethodProcessor.handleReturnValue(RequestResponseBodyMethodProcessor.java:181) ~[spring-webmvc-5.3.4.jar:5.3.4]
at org.springframework.web.method.support.HandlerMethodReturnValueHandlerComposite.handleReturnValue(HandlerMethodReturnValueHandlerComposite.java:78) ~[spring-web-5.3.4.jar:5.3.4]
at org.springframework.web.servlet.mvc.method.annotation.ServletInvocableHandlerMethod.invokeAndHandle(ServletInvocableHandlerMethod.java:124) ~[spring-webmvc-5.3.4.jar:5.3.4]
at org.springframework.web.servlet.mvc.method.annotation.ExceptionHandlerExceptionResolver.doResolveHandlerMethodException(ExceptionHandlerExceptionResolver.java:428) [spring-webmvc-5.3.4.jar:5.3.4]
at org.springframework.web.servlet.handler.AbstractHandlerMethodExceptionResolver.doResolveException(AbstractHandlerMethodExceptionResolver.java:75) [spring-webmvc-5.3.4.jar:5.3.4]
at org.springframework.web.servlet.handler.AbstractHandlerExceptionResolver.resolveException(AbstractHandlerExceptionResolver.java:141) [spring-webmvc-5.3.4.jar:5.3.4]
at org.springframework.web.servlet.handler.HandlerExceptionResolverComposite.resolveException(HandlerExceptionResolverComposite.java:80) [spring-webmvc-5.3.4.jar:5.3.4]
at org.springframework.web.servlet.DispatcherServlet.processHandlerException(DispatcherServlet.java:1320) [spring-webmvc-5.3.4.jar:5.3.4]
at org.springframework.web.servlet.DispatcherServlet.processDispatchResult(DispatcherServlet.java:1131) [spring-webmvc-5.3.4.jar:5.3.4]
at org.springframework.web.servlet.DispatcherServlet.doDispatch(DispatcherServlet.java:1077) [spring-webmvc-5.3.4.jar:5.3.4]
at org.springframework.web.servlet.DispatcherServlet.doService(DispatcherServlet.java:962) [spring-webmvc-5.3.4.jar:5.3.4]
at org.springframework.web.servlet.FrameworkServlet.processRequest(FrameworkServlet.java:1006) [spring-webmvc-5.3.4.jar:5.3.4]
at org.springframework.web.servlet.FrameworkServlet.doGet(FrameworkServlet.java:898) [spring-webmvc-5.3.4.jar:5.3.4]
at javax.servlet.http.HttpServlet.service(HttpServlet.java:626) [tomcat-embed-core-9.0.43.jar:4.0.FR]
at org.springframework.web.servlet.FrameworkServlet.service(FrameworkServlet.java:883) [spring-webmvc-5.3.4.jar:5.3.4]
at javax.servlet.http.HttpServlet.service(HttpServlet.java:733) [tomcat-embed-core-9.0.43.jar:4.0.FR]
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:227) [tomcat-embed-core-9.0.43.jar:9.0.43]
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162) [tomcat-embed-core-9.0.43.jar:9.0.43]
at org.apache.tomcat.websocket.server.WsFilter.doFilter(WsFilter.java:53) [tomcat-embed-websocket-9.0.43.jar:9.0.43]
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189) [tomcat-embed-core-9.0.43.jar:9.0.43]
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162) [tomcat-embed-core-9.0.43.jar:9.0.43]
at org.springframework.web.filter.RequestContextFilter.doFilterInternal(RequestContextFilter.java:100) [spring-web-5.3.4.jar:5.3.4]
at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:119) [spring-web-5.3.4.jar:5.3.4]
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189) [tomcat-embed-core-9.0.43.jar:9.0.43]
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162) [tomcat-embed-core-9.0.43.jar:9.0.43]
at org.springframework.web.filter.FormContentFilter.doFilterInternal(FormContentFilter.java:93) [spring-web-5.3.4.jar:5.3.4]
at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:119) [spring-web-5.3.4.jar:5.3.4]
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189) [tomcat-embed-core-9.0.43.jar:9.0.43]
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162) [tomcat-embed-core-9.0.43.jar:9.0.43]
at org.springframework.web.filter.CharacterEncodingFilter.doFilterInternal(CharacterEncodingFilter.java:201) [spring-web-5.3.4.jar:5.3.4]
at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:119) [spring-web-5.3.4.jar:5.3.4]
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189) [tomcat-embed-core-9.0.43.jar:9.0.43]
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162) [tomcat-embed-core-9.0.43.jar:9.0.43]
at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:202) [tomcat-embed-core-9.0.43.jar:9.0.43]
at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:97) [tomcat-embed-core-9.0.43.jar:9.0.43]
at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:542) [tomcat-embed-core-9.0.43.jar:9.0.43]
at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:143) [tomcat-embed-core-9.0.43.jar:9.0.43]
at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:92) [tomcat-embed-core-9.0.43.jar:9.0.43]
at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:78) [tomcat-embed-core-9.0.43.jar:9.0.43]
at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:346) [tomcat-embed-core-9.0.43.jar:9.0.43]
at org.apache.coyote.http11.Http11Processor.service(Http11Processor.java:374) [tomcat-embed-core-9.0.43.jar:9.0.43]
at org.apache.coyote.AbstractProcessorLight.process(AbstractProcessorLight.java:65) [tomcat-embed-core-9.0.43.jar:9.0.43]
at org.apache.coyote.AbstractProtocol$ConnectionHandler.process(AbstractProtocol.java:887) [tomcat-embed-core-9.0.43.jar:9.0.43]
at org.apache.tomcat.util.net.NioEndpoint$SocketProcessor.doRun(NioEndpoint.java:1684) [tomcat-embed-core-9.0.43.jar:9.0.43]
at org.apache.tomcat.util.net.SocketProcessorBase.run(SocketProcessorBase.java:49) [tomcat-embed-core-9.0.43.jar:9.0.43]
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1128) [?:?]
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:628) [?:?]
at org.apache.tomcat.util.threads.TaskThread$WrappingRunnable.run(TaskThread.java:61) [tomcat-embed-core-9.0.43.jar:9.0.43]
at java.lang.Thread.run(Thread.java:834) [?:?]
2021-05-12 15:11:54 [traceId:dc1967246f2247f2845989df674bcd90] [ ERROR ] [ com.ruwii.es.exception.GlobalErrorException ]
java.lang.IllegalStateException: Connection pool shut down
at org.apache.http.util.Asserts.check(Asserts.java:34) ~[httpcore-4.4.14.jar:4.4.14]
at org.apache.http.impl.conn.PoolingHttpClientConnectionManager.requestConnection(PoolingHttpClientConnectionManager.java:269) ~[httpclient-4.5.13.jar:4.5.13]
at org.apache.http.impl.execchain.MainClientExec.execute(MainClientExec.java:176) ~[httpclient-4.5.13.jar:4.5.13]
at org.apache.http.impl.execchain.ProtocolExec.execute(ProtocolExec.java:186) ~[httpclient-4.5.13.jar:4.5.13]
at org.apache.http.impl.execchain.RetryExec.execute(RetryExec.java:89) ~[httpclient-4.5.13.jar:4.5.13]
at org.apache.http.impl.execchain.RedirectExec.execute(RedirectExec.java:110) ~[httpclient-4.5.13.jar:4.5.13]
at org.apache.http.impl.client.InternalHttpClient.doExecute(InternalHttpClient.java:185) ~[httpclient-4.5.13.jar:4.5.13]
at org.apache.http.impl.client.CloseableHttpClient.execute(CloseableHttpClient.java:83) ~[httpclient-4.5.13.jar:4.5.13]
at org.apache.http.impl.client.CloseableHttpClient.execute(CloseableHttpClient.java:56) ~[httpclient-4.5.13.jar:4.5.13]
at org.springframework.http.client.HttpComponentsClientHttpRequest.executeInternal(HttpComponentsClientHttpRequest.java:87) ~[spring-web-5.3.4.jar:5.3.4]
at org.springframework.http.client.AbstractBufferingClientHttpRequest.executeInternal(AbstractBufferingClientHttpRequest.java:48) ~[spring-web-5.3.4.jar:5.3.4]
at org.springframework.http.client.AbstractClientHttpRequest.execute(AbstractClientHttpRequest.java:66) ~[spring-web-5.3.4.jar:5.3.4]
at org.springframework.web.client.RestTemplate.doExecute(RestTemplate.java:776) ~[spring-web-5.3.4.jar:5.3.4]
at org.springframework.web.client.RestTemplate.execute(RestTemplate.java:711) ~[spring-web-5.3.4.jar:5.3.4]
at org.springframework.web.client.RestTemplate.getForEntity(RestTemplate.java:361) ~[spring-web-5.3.4.jar:5.3.4]
at com.ruwii.es.util.HttpUtil.sendGet(HttpUtil.java:79) ~[classes/:?]
at com.ruwii.es.service.mihe.impl.MiheServiceImpl.getInitGoodsData(MiheServiceImpl.java:47) ~[classes/:?]
at com.ruwii.es.service.es.impl.EsGoodsMixMessageServiceImpl.parseInitGoodsData(EsGoodsMixMessageServiceImpl.java:107) ~[classes/:?]
at com.ruwii.es.service.es.impl.EsGoodsMixMessageServiceImpl.parseInitGoodsData(EsGoodsMixMessageServiceImpl.java:147) ~[classes/:?]
at com.ruwii.es.service.es.impl.EsGoodsMixMessageServiceImpl.parseInitGoodsData(EsGoodsMixMessageServiceImpl.java:147) ~[classes/:?]
at com.ruwii.es.service.es.impl.EsGoodsMixMessageServiceImpl.parseInitGoodsData(EsGoodsMixMessageServiceImpl.java:147) ~[classes/:?]
at com.ruwii.es.service.es.impl.EsGoodsMixMessageServiceImpl.parseInitGoodsData(EsGoodsMixMessageServiceImpl.java:147) ~[classes/:?]
at com.ruwii.es.service.es.impl.EsGoodsMixMessageServiceImpl.parseInitGoodsData(EsGoodsMixMessageServiceImpl.java:147) ~[classes/:?]
at com.ruwii.es.service.es.impl.EsGoodsMixMessageServiceImpl.parseInitGoodsData(EsGoodsMixMessageServiceImpl.java:147) ~[classes/:?]
at com.ruwii.es.service.es.impl.EsGoodsMixMessageServiceImpl.parseInitGoodsData(EsGoodsMixMessageServiceImpl.java:147) ~[classes/:?]
at com.ruwii.es.service.es.impl.EsGoodsMixMessageServiceImpl.parseInitGoodsData(EsGoodsMixMessageServiceImpl.java:147) ~[classes/:?]
at com.ruwii.es.service.es.impl.EsGoodsMixMessageServiceImpl.parseInitGoodsData(EsGoodsMixMessageServiceImpl.java:147) ~[classes/:?]
at com.ruwii.es.service.es.impl.EsGoodsMixMessageServiceImpl.parseInitGoodsData(EsGoodsMixMessageServiceImpl.java:147) ~[classes/:?]
at com.ruwii.es.service.es.impl.EsGoodsMixMessageServiceImpl.parseInitGoodsData(EsGoodsMixMessageServiceImpl.java:147) ~[classes/:?]
at com.ruwii.es.service.es.impl.EsGoodsMixMessageServiceImpl.parseInitGoodsData(EsGoodsMixMessageServiceImpl.java:147) ~[classes/:?]
at com.ruwii.es.service.es.impl.EsGoodsMixMessageServiceImpl.parseInitGoodsData(EsGoodsMixMessageServiceImpl.java:147) ~[classes/:?]
at com.ruwii.es.service.es.impl.EsGoodsMixMessageServiceImpl.parseInitGoodsData(EsGoodsMixMessageServiceImpl.java:147) ~[classes/:?]
at com.ruwii.es.service.es.impl.EsGoodsMixMessageServiceImpl.parseInitGoodsData(EsGoodsMixMessageServiceImpl.java:147) ~[classes/:?]
at com.ruwii.es.service.es.impl.EsGoodsMixMessageServiceImpl.parseInitGoodsData(EsGoodsMixMessageServiceImpl.java:147) ~[classes/:?]
at com.ruwii.es.service.es.impl.EsGoodsMixMessageServiceImpl.parseInitGoodsData(EsGoodsMixMessageServiceImpl.java:147) ~[classes/:?]
at com.ruwii.es.service.es.impl.EsGoodsMixMessageServiceImpl.parseInitGoodsData(EsGoodsMixMessageServiceImpl.java:147) ~[classes/:?]
at com.ruwii.es.service.es.impl.EsGoodsMixMessageServiceImpl.parseInitGoodsData(EsGoodsMixMessageServiceImpl.java:147) ~[classes/:?]
at com.ruwii.es.service.es.impl.EsGoodsMixMessageServiceImpl.parseInitGoodsData(EsGoodsMixMessageServiceImpl.java:147) ~[classes/:?]
at com.ruwii.es.service.es.impl.EsGoodsMixMessageServiceImpl.parseInitGoodsData(EsGoodsMixMessageServiceImpl.java:147) ~[classes/:?]
at com.ruwii.es.service.es.impl.EsGoodsMixMessageServiceImpl.parseInitGoodsData(EsGoodsMixMessageServiceImpl.java:147) ~[classes/:?]
at com.ruwii.es.service.es.impl.EsGoodsMixMessageServiceImpl.parseInitGoodsData(EsGoodsMixMessageServiceImpl.java:147) ~[classes/:?]
at com.ruwii.es.service.es.impl.EsGoodsMixMessageServiceImpl.parseInitGoodsData(EsGoodsMixMessageServiceImpl.java:147) ~[classes/:?]
at com.ruwii.es.service.es.impl.EsGoodsMixMessageServiceImpl.parseInitGoodsData(EsGoodsMixMessageServiceImpl.java:147) ~[classes/:?]
at com.ruwii.es.service.es.impl.EsGoodsMixMessageServiceImpl.parseInitGoodsData(EsGoodsMixMessageServiceImpl.java:147) ~[classes/:?]
at com.ruwii.es.service.es.impl.EsGoodsMixMessageServiceImpl.parseInitGoodsData(EsGoodsMixMessageServiceImpl.java:147) ~[classes/:?]
at com.ruwii.es.service.es.impl.EsGoodsMixMessageServiceImpl.parseInitGoodsData(EsGoodsMixMessageServiceImpl.java:147) ~[classes/:?]
at com.ruwii.es.service.es.impl.EsGoodsMixMessageServiceImpl.parseInitGoodsData(EsGoodsMixMessageServiceImpl.java:147) ~[classes/:?]
at com.ruwii.es.service.es.impl.EsGoodsMixMessageServiceImpl.parseInitGoodsData(EsGoodsMixMessageServiceImpl.java:147) ~[classes/:?]
at com.ruwii.es.service.es.impl.EsGoodsMixMessageServiceImpl.parseInitGoodsData(EsGoodsMixMessageServiceImpl.java:147) ~[classes/:?]
at com.ruwii.es.service.es.impl.EsGoodsMixMessageServiceImpl.parseInitGoodsData(EsGoodsMixMessageServiceImpl.java:147) ~[classes/:?]
at com.ruwii.es.service.es.impl.EsGoodsMixMessageServiceImpl.parseInitGoodsData(EsGoodsMixMessageServiceImpl.java:147) ~[classes/:?]
at com.ruwii.es.service.es.impl.EsGoodsMixMessageServiceImpl.parseInitGoodsData(EsGoodsMixMessageServiceImpl.java:147) ~[classes/:?]
at com.ruwii.es.service.es.impl.EsGoodsMixMessageServiceImpl.parseInitGoodsData(EsGoodsMixMessageServiceImpl.java:147) ~[classes/:?]
at com.ruwii.es.service.es.impl.EsGoodsMixMessageServiceImpl.parseInitGoodsData(EsGoodsMixMessageServiceImpl.java:147) ~[classes/:?]
at com.ruwii.es.service.es.impl.EsGoodsMixMessageServiceImpl.parseInitGoodsData(EsGoodsMixMessageServiceImpl.java:147) ~[classes/:?]
at com.ruwii.es.service.es.impl.EsGoodsMixMessageServiceImpl.parseInitGoodsData(EsGoodsMixMessageServiceImpl.java:147) ~[classes/:?]
at com.ruwii.es.service.es.impl.EsGoodsMixMessageServiceImpl.parseInitGoodsData(EsGoodsMixMessageServiceImpl.java:147) ~[classes/:?]
at com.ruwii.es.service.es.impl.EsGoodsMixMessageServiceImpl.parseInitGoodsData(EsGoodsMixMessageServiceImpl.java:147) ~[classes/:?]
at com.ruwii.es.service.es.impl.EsGoodsMixMessageServiceImpl.parseInitGoodsData(EsGoodsMixMessageServiceImpl.java:147) ~[classes/:?]
at com.ruwii.es.service.es.impl.EsGoodsMixMessageServiceImpl.parseInitGoodsData(EsGoodsMixMessageServiceImpl.java:147) ~[classes/:?]
at com.ruwii.es.service.es.impl.EsGoodsMixMessageServiceImpl.parseInitGoodsData(EsGoodsMixMessageServiceImpl.java:147) ~[classes/:?]
at com.ruwii.es.service.es.impl.EsGoodsMixMessageServiceImpl.parseInitGoodsData(EsGoodsMixMessageServiceImpl.java:147) ~[classes/:?]
at com.ruwii.es.service.es.impl.EsGoodsMixMessageServiceImpl.parseInitGoodsData(EsGoodsMixMessageServiceImpl.java:147) ~[classes/:?]
at com.ruwii.es.service.es.impl.EsGoodsMixMessageServiceImpl.parseInitGoodsData(EsGoodsMixMessageServiceImpl.java:147) ~[classes/:?]
at com.ruwii.es.service.es.impl.EsGoodsMixMessageServiceImpl.parseInitGoodsData(EsGoodsMixMessageServiceImpl.java:147) ~[classes/:?]
at com.ruwii.es.service.es.impl.EsGoodsMixMessageServiceImpl.parseInitGoodsData(EsGoodsMixMessageServiceImpl.java:147) ~[classes/:?]
at com.ruwii.es.service.es.impl.EsGoodsMixMessageServiceImpl.parseInitGoodsData(EsGoodsMixMessageServiceImpl.java:147) ~[classes/:?]
at com.ruwii.es.service.es.impl.EsGoodsMixMessageServiceImpl.parseInitGoodsData(EsGoodsMixMessageServiceImpl.java:147) ~[classes/:?]
at com.ruwii.es.service.es.impl.EsGoodsMixMessageServiceImpl.parseInitGoodsData(EsGoodsMixMessageServiceImpl.java:147) ~[classes/:?]
at com.ruwii.es.service.es.impl.EsGoodsMixMessageServiceImpl.parseInitGoodsData(EsGoodsMixMessageServiceImpl.java:147) ~[classes/:?]
at com.ruwii.es.service.es.impl.EsGoodsMixMessageServiceImpl.parseInitGoodsData(EsGoodsMixMessageServiceImpl.java:147) ~[classes/:?]
at com.ruwii.es.service.es.impl.EsGoodsMixMessageServiceImpl.parseInitGoodsData(EsGoodsMixMessageServiceImpl.java:147) ~[classes/:?]
at com.ruwii.es.service.es.impl.EsGoodsMixMessageServiceImpl.parseInitGoodsData(EsGoodsMixMessageServiceImpl.java:147) ~[classes/:?]
at com.ruwii.es.service.es.impl.EsGoodsMixMessageServiceImpl.parseInitGoodsData(EsGoodsMixMessageServiceImpl.java:147) ~[classes/:?]
at com.ruwii.es.service.es.impl.EsGoodsMixMessageServiceImpl.parseInitGoodsData(EsGoodsMixMessageServiceImpl.java:147) ~[classes/:?]
at com.ruwii.es.service.es.impl.EsGoodsMixMessageServiceImpl.parseInitGoodsData(EsGoodsMixMessageServiceImpl.java:147) ~[classes/:?]
at com.ruwii.es.service.es.impl.EsGoodsMixMessageServiceImpl.parseInitGoodsData(EsGoodsMixMessageServiceImpl.java:147) ~[classes/:?]
at com.ruwii.es.service.es.impl.EsGoodsMixMessageServiceImpl.parseInitGoodsData(EsGoodsMixMessageServiceImpl.java:147) ~[classes/:?]
at com.ruwii.es.service.es.impl.EsGoodsMixMessageServiceImpl.parseInitGoodsData(EsGoodsMixMessageServiceImpl.java:147) ~[classes/:?]
at com.ruwii.es.service.es.impl.EsGoodsMixMessageServiceImpl.parseInitGoodsData(EsGoodsMixMessageServiceImpl.java:147) ~[classes/:?]
at com.ruwii.es.service.es.impl.EsGoodsMixMessageServiceImpl.parseInitGoodsData(EsGoodsMixMessageServiceImpl.java:147) ~[classes/:?]
at com.ruwii.es.service.es.impl.EsGoodsMixMessageServiceImpl.parseInitGoodsData(EsGoodsMixMessageServiceImpl.java:147) ~[classes/:?]
at com.ruwii.es.service.es.impl.EsGoodsMixMessageServiceImpl.parseInitGoodsData(EsGoodsMixMessageServiceImpl.java:147) ~[classes/:?]
at com.ruwii.es.service.es.impl.EsGoodsMixMessageServiceImpl.parseInitGoodsData(EsGoodsMixMessageServiceImpl.java:147) ~[classes/:?]
at com.ruwii.es.service.es.impl.EsGoodsMixMessageServiceImpl.parseInitGoodsData(EsGoodsMixMessageServiceImpl.java:147) ~[classes/:?]
at com.ruwii.es.service.es.impl.EsGoodsMixMessageServiceImpl.parseInitGoodsData(EsGoodsMixMessageServiceImpl.java:147) ~[classes/:?]
at com.ruwii.es.service.es.impl.EsGoodsMixMessageServiceImpl.parseInitGoodsData(EsGoodsMixMessageServiceImpl.java:147) ~[classes/:?]
at com.ruwii.es.service.es.impl.EsGoodsMixMessageServiceImpl.parseInitGoodsData(EsGoodsMixMessageServiceImpl.java:147) ~[classes/:?]
at com.ruwii.es.service.es.impl.EsGoodsMixMessageServiceImpl.parseInitGoodsData(EsGoodsMixMessageServiceImpl.java:147) ~[classes/:?]
at com.ruwii.es.service.es.impl.EsGoodsMixMessageServiceImpl.insertAll2Es(EsGoodsMixMessageServiceImpl.java:85) ~[classes/:?]
at com.ruwii.es.controller.GoodsController.fromDbAll2EsExecutor(GoodsController.java:32) ~[classes/:?]
at com.ruwii.es.controller.GoodsController$$FastClassBySpringCGLIB$$51f42ab9.invoke(<generated>) ~[classes/:?]
at org.springframework.cglib.proxy.MethodProxy.invoke(MethodProxy.java:218) ~[spring-core-5.3.4.jar:5.3.4]
at org.springframework.aop.framework.CglibAopProxy$CglibMethodInvocation.invokeJoinpoint(CglibAopProxy.java:779) ~[spring-aop-5.3.4.jar:5.3.4]
at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:163) ~[spring-aop-5.3.4.jar:5.3.4]
at org.springframework.aop.framework.CglibAopProxy$CglibMethodInvocation.proceed(CglibAopProxy.java:750) ~[spring-aop-5.3.4.jar:5.3.4]
at org.springframework.aop.framework.adapter.AfterReturningAdviceInterceptor.invoke(AfterReturningAdviceInterceptor.java:57) ~[spring-aop-5.3.4.jar:5.3.4]
at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:186) ~[spring-aop-5.3.4.jar:5.3.4]
at org.springframework.aop.framework.CglibAopProxy$CglibMethodInvocation.proceed(CglibAopProxy.java:750) ~[spring-aop-5.3.4.jar:5.3.4]
at org.springframework.aop.framework.adapter.MethodBeforeAdviceInterceptor.invoke(MethodBeforeAdviceInterceptor.java:58) ~[spring-aop-5.3.4.jar:5.3.4]
at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:186) ~[spring-aop-5.3.4.jar:5.3.4]
at org.springframework.aop.framework.CglibAopProxy$CglibMethodInvocation.proceed(CglibAopProxy.java:750) ~[spring-aop-5.3.4.jar:5.3.4]
at org.springframework.aop.interceptor.ExposeInvocationInterceptor.invoke(ExposeInvocationInterceptor.java:97) ~[spring-aop-5.3.4.jar:5.3.4]
at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:186) ~[spring-aop-5.3.4.jar:5.3.4]
at org.springframework.aop.framework.CglibAopProxy$CglibMethodInvocation.proceed(CglibAopProxy.java:750) ~[spring-aop-5.3.4.jar:5.3.4]
at org.springframework.aop.framework.CglibAopProxy$DynamicAdvisedInterceptor.intercept(CglibAopProxy.java:692) ~[spring-aop-5.3.4.jar:5.3.4]
at com.ruwii.es.controller.GoodsController$$EnhancerBySpringCGLIB$$956e18fb.fromDbAll2EsExecutor(<generated>) ~[classes/:?]
at jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method) ~[?:?]
at jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) ~[?:?]
at jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) ~[?:?]
at java.lang.reflect.Method.invoke(Method.java:566) ~[?:?]
at org.springframework.web.method.support.InvocableHandlerMethod.doInvoke(InvocableHandlerMethod.java:197) ~[spring-web-5.3.4.jar:5.3.4]
at org.springframework.web.method.support.InvocableHandlerMethod.invokeForRequest(InvocableHandlerMethod.java:141) ~[spring-web-5.3.4.jar:5.3.4]
at org.springframework.web.servlet.mvc.method.annotation.ServletInvocableHandlerMethod.invokeAndHandle(ServletInvocableHandlerMethod.java:106) ~[spring-webmvc-5.3.4.jar:5.3.4]
at org.springframework.web.servlet.mvc.method.annotation.RequestMappingHandlerAdapter.invokeHandlerMethod(RequestMappingHandlerAdapter.java:894) ~[spring-webmvc-5.3.4.jar:5.3.4]
at org.springframework.web.servlet.mvc.method.annotation.RequestMappingHandlerAdapter.handleInternal(RequestMappingHandlerAdapter.java:808) ~[spring-webmvc-5.3.4.jar:5.3.4]
at org.springframework.web.servlet.mvc.method.AbstractHandlerMethodAdapter.handle(AbstractHandlerMethodAdapter.java:87) ~[spring-webmvc-5.3.4.jar:5.3.4]
at org.springframework.web.servlet.DispatcherServlet.doDispatch(DispatcherServlet.java:1060) [spring-webmvc-5.3.4.jar:5.3.4]
at org.springframework.web.servlet.DispatcherServlet.doService(DispatcherServlet.java:962) [spring-webmvc-5.3.4.jar:5.3.4]
at org.springframework.web.servlet.FrameworkServlet.processRequest(FrameworkServlet.java:1006) [spring-webmvc-5.3.4.jar:5.3.4]
at org.springframework.web.servlet.FrameworkServlet.doGet(FrameworkServlet.java:898) [spring-webmvc-5.3.4.jar:5.3.4]
at javax.servlet.http.HttpServlet.service(HttpServlet.java:626) [tomcat-embed-core-9.0.43.jar:4.0.FR]
at org.springframework.web.servlet.FrameworkServlet.service(FrameworkServlet.java:883) [spring-webmvc-5.3.4.jar:5.3.4]
at javax.servlet.http.HttpServlet.service(HttpServlet.java:733) [tomcat-embed-core-9.0.43.jar:4.0.FR]
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:227) [tomcat-embed-core-9.0.43.jar:9.0.43]
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162) [tomcat-embed-core-9.0.43.jar:9.0.43]
at org.apache.tomcat.websocket.server.WsFilter.doFilter(WsFilter.java:53) [tomcat-embed-websocket-9.0.43.jar:9.0.43]
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189) [tomcat-embed-core-9.0.43.jar:9.0.43]
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162) [tomcat-embed-core-9.0.43.jar:9.0.43]
at org.springframework.web.filter.RequestContextFilter.doFilterInternal(RequestContextFilter.java:100) [spring-web-5.3.4.jar:5.3.4]
at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:119) [spring-web-5.3.4.jar:5.3.4]
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189) [tomcat-embed-core-9.0.43.jar:9.0.43]
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162) [tomcat-embed-core-9.0.43.jar:9.0.43]
at org.springframework.web.filter.FormContentFilter.doFilterInternal(FormContentFilter.java:93) [spring-web-5.3.4.jar:5.3.4]
at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:119) [spring-web-5.3.4.jar:5.3.4]
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189) [tomcat-embed-core-9.0.43.jar:9.0.43]
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162) [tomcat-embed-core-9.0.43.jar:9.0.43]
at org.springframework.web.filter.CharacterEncodingFilter.doFilterInternal(CharacterEncodingFilter.java:201) [spring-web-5.3.4.jar:5.3.4]
at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:119) [spring-web-5.3.4.jar:5.3.4]
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189) [tomcat-embed-core-9.0.43.jar:9.0.43]
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162) [tomcat-embed-core-9.0.43.jar:9.0.43]
at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:202) [tomcat-embed-core-9.0.43.jar:9.0.43]
at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:97) [tomcat-embed-core-9.0.43.jar:9.0.43]
at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:542) [tomcat-embed-core-9.0.43.jar:9.0.43]
at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:143) [tomcat-embed-core-9.0.43.jar:9.0.43]
at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:92) [tomcat-embed-core-9.0.43.jar:9.0.43]
at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:78) [tomcat-embed-core-9.0.43.jar:9.0.43]
at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:346) [tomcat-embed-core-9.0.43.jar:9.0.43]
at org.apache.coyote.http11.Http11Processor.service(Http11Processor.java:374) [tomcat-embed-core-9.0.43.jar:9.0.43]
at org.apache.coyote.AbstractProcessorLight.process(AbstractProcessorLight.java:65) [tomcat-embed-core-9.0.43.jar:9.0.43]
at org.apache.coyote.AbstractProtocol$ConnectionHandler.process(AbstractProtocol.java:887) [tomcat-embed-core-9.0.43.jar:9.0.43]
at org.apache.tomcat.util.net.NioEndpoint$SocketProcessor.doRun(NioEndpoint.java:1684) [tomcat-embed-core-9.0.43.jar:9.0.43]
at org.apache.tomcat.util.net.SocketProcessorBase.run(SocketProcessorBase.java:49) [tomcat-embed-core-9.0.43.jar:9.0.43]
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1128) [?:?]
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:628) [?:?]
at org.apache.tomcat.util.threads.TaskThread$WrappingRunnable.run(TaskThread.java:61) [tomcat-embed-core-9.0.43.jar:9.0.43]
at java.lang.Thread.run(Thread.java:834) [?:?]
2021-05-12 15:11:54 [traceId:dc1967246f2247f2845989df674bcd90] [ WARN ] [ org.springframework.web.servlet.mvc.method.annotation.ExceptionHandlerExceptionResolver ] Failure in @ExceptionHandler com.ruwii.es.exception.GlobalErrorException#error(HttpServletRequest, Exception)
java.lang.NullPointerException: null
at org.springframework.web.util.UrlPathHelper.getSanitizedPath(UrlPathHelper.java:409) ~[spring-web-5.3.4.jar:5.3.4]
at org.springframework.web.util.UrlPathHelper.decodeAndCleanUriString(UrlPathHelper.java:550) ~[spring-web-5.3.4.jar:5.3.4]
at org.springframework.web.util.UrlPathHelper.getOriginatingRequestUri(UrlPathHelper.java:495) ~[spring-web-5.3.4.jar:5.3.4]
at org.springframework.web.servlet.mvc.method.annotation.AbstractMessageConverterMethodProcessor.addContentDispositionHeader(AbstractMessageConverterMethodProcessor.java:418) ~[spring-webmvc-5.3.4.jar:5.3.4]
at org.springframework.web.servlet.mvc.method.annotation.AbstractMessageConverterMethodProcessor.writeWithMessageConverters(AbstractMessageConverterMethodProcessor.java:275) ~[spring-webmvc-5.3.4.jar:5.3.4]
at org.springframework.web.servlet.mvc.method.annotation.RequestResponseBodyMethodProcessor.handleReturnValue(RequestResponseBodyMethodProcessor.java:181) ~[spring-webmvc-5.3.4.jar:5.3.4]
at org.springframework.web.method.support.HandlerMethodReturnValueHandlerComposite.handleReturnValue(HandlerMethodReturnValueHandlerComposite.java:78) ~[spring-web-5.3.4.jar:5.3.4]
at org.springframework.web.servlet.mvc.method.annotation.ServletInvocableHandlerMethod.invokeAndHandle(ServletInvocableHandlerMethod.java:124) ~[spring-webmvc-5.3.4.jar:5.3.4]
at org.springframework.web.servlet.mvc.method.annotation.ExceptionHandlerExceptionResolver.doResolveHandlerMethodException(ExceptionHandlerExceptionResolver.java:428) [spring-webmvc-5.3.4.jar:5.3.4]
at org.springframework.web.servlet.handler.AbstractHandlerMethodExceptionResolver.doResolveException(AbstractHandlerMethodExceptionResolver.java:75) [spring-webmvc-5.3.4.jar:5.3.4]
at org.springframework.web.servlet.handler.AbstractHandlerExceptionResolver.resolveException(AbstractHandlerExceptionResolver.java:141) [spring-webmvc-5.3.4.jar:5.3.4]
at org.springframework.web.servlet.handler.HandlerExceptionResolverComposite.resolveException(HandlerExceptionResolverComposite.java:80) [spring-webmvc-5.3.4.jar:5.3.4]
at org.springframework.web.servlet.DispatcherServlet.processHandlerException(DispatcherServlet.java:1320) [spring-webmvc-5.3.4.jar:5.3.4]
at org.springframework.web.servlet.DispatcherServlet.processDispatchResult(DispatcherServlet.java:1131) [spring-webmvc-5.3.4.jar:5.3.4]
at org.springframework.web.servlet.DispatcherServlet.doDispatch(DispatcherServlet.java:1077) [spring-webmvc-5.3.4.jar:5.3.4]
at org.springframework.web.servlet.DispatcherServlet.doService(DispatcherServlet.java:962) [spring-webmvc-5.3.4.jar:5.3.4]
at org.springframework.web.servlet.FrameworkServlet.processRequest(FrameworkServlet.java:1006) [spring-webmvc-5.3.4.jar:5.3.4]
at org.springframework.web.servlet.FrameworkServlet.doGet(FrameworkServlet.java:898) [spring-webmvc-5.3.4.jar:5.3.4]
at javax.servlet.http.HttpServlet.service(HttpServlet.java:626) [tomcat-embed-core-9.0.43.jar:4.0.FR]
at org.springframework.web.servlet.FrameworkServlet.service(FrameworkServlet.java:883) [spring-webmvc-5.3.4.jar:5.3.4]
at javax.servlet.http.HttpServlet.service(HttpServlet.java:733) [tomcat-embed-core-9.0.43.jar:4.0.FR]
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:227) [tomcat-embed-core-9.0.43.jar:9.0.43]
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162) [tomcat-embed-core-9.0.43.jar:9.0.43]
at org.apache.tomcat.websocket.server.WsFilter.doFilter(WsFilter.java:53) [tomcat-embed-websocket-9.0.43.jar:9.0.43]
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189) [tomcat-embed-core-9.0.43.jar:9.0.43]
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162) [tomcat-embed-core-9.0.43.jar:9.0.43]
at org.springframework.web.filter.RequestContextFilter.doFilterInternal(RequestContextFilter.java:100) [spring-web-5.3.4.jar:5.3.4]
at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:119) [spring-web-5.3.4.jar:5.3.4]
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189) [tomcat-embed-core-9.0.43.jar:9.0.43]
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162) [tomcat-embed-core-9.0.43.jar:9.0.43]
at org.springframework.web.filter.FormContentFilter.doFilterInternal(FormContentFilter.java:93) [spring-web-5.3.4.jar:5.3.4]
at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:119) [spring-web-5.3.4.jar:5.3.4]
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189) [tomcat-embed-core-9.0.43.jar:9.0.43]
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162) [tomcat-embed-core-9.0.43.jar:9.0.43]
at org.springframework.web.filter.CharacterEncodingFilter.doFilterInternal(CharacterEncodingFilter.java:201) [spring-web-5.3.4.jar:5.3.4]
at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:119) [spring-web-5.3.4.jar:5.3.4]
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189) [tomcat-embed-core-9.0.43.jar:9.0.43]
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162) [tomcat-embed-core-9.0.43.jar:9.0.43]
at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:202) [tomcat-embed-core-9.0.43.jar:9.0.43]
at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:97) [tomcat-embed-core-9.0.43.jar:9.0.43]
at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:542) [tomcat-embed-core-9.0.43.jar:9.0.43]
at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:143) [tomcat-embed-core-9.0.43.jar:9.0.43]
at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:92) [tomcat-embed-core-9.0.43.jar:9.0.43]
at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:78) [tomcat-embed-core-9.0.43.jar:9.0.43]
at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:346) [tomcat-embed-core-9.0.43.jar:9.0.43]
at org.apache.coyote.http11.Http11Processor.service(Http11Processor.java:374) [tomcat-embed-core-9.0.43.jar:9.0.43]
at org.apache.coyote.AbstractProcessorLight.process(AbstractProcessorLight.java:65) [tomcat-embed-core-9.0.43.jar:9.0.43]
at org.apache.coyote.AbstractProtocol$ConnectionHandler.process(AbstractProtocol.java:887) [tomcat-embed-core-9.0.43.jar:9.0.43]
at org.apache.tomcat.util.net.NioEndpoint$SocketProcessor.doRun(NioEndpoint.java:1684) [tomcat-embed-core-9.0.43.jar:9.0.43]
at org.apache.tomcat.util.net.SocketProcessorBase.run(SocketProcessorBase.java:49) [tomcat-embed-core-9.0.43.jar:9.0.43]
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1128) [?:?]
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:628) [?:?]
at org.apache.tomcat.util.threads.TaskThread$WrappingRunnable.run(TaskThread.java:61) [tomcat-embed-core-9.0.43.jar:9.0.43]
at java.lang.Thread.run(Thread.java:834) [?:?]

File diff suppressed because it is too large Load Diff

View File

@ -0,0 +1,326 @@
2021-06-18 13:59:48 [traceId:edc2d48ef7994177bb001794c7f44082] [ ERROR ] [ com.ruwii.es.service.rabbitmq.MQConsumerService ] com.ruwii.es.service.rabbitmq.MQConsumerService@63f9b562
com.alibaba.fastjson.JSONException: syntax error, pos 1, line 1, column 2G202101071329325678
at com.alibaba.fastjson.parser.DefaultJSONParser.parse(DefaultJSONParser.java:1460) ~[fastjson-1.2.56.jar:?]
at com.alibaba.fastjson.parser.DefaultJSONParser.parse(DefaultJSONParser.java:1346) ~[fastjson-1.2.56.jar:?]
at com.alibaba.fastjson.JSON.parse(JSON.java:156) ~[fastjson-1.2.56.jar:?]
at com.alibaba.fastjson.JSON.parse(JSON.java:166) ~[fastjson-1.2.56.jar:?]
at com.alibaba.fastjson.JSON.parse(JSON.java:135) ~[fastjson-1.2.56.jar:?]
at com.alibaba.fastjson.JSONObject.getJSONArray(JSONObject.java:145) ~[fastjson-1.2.56.jar:?]
at com.ruwii.es.util.CheckGoodsMessageUtil.checkGoodsMessage(CheckGoodsMessageUtil.java:20) ~[classes/:?]
at com.ruwii.es.service.rabbitmq.MQConsumerService.onGoodsmessage(MQConsumerService.java:61) ~[classes/:?]
at com.ruwii.es.service.rabbitmq.MQConsumerService$$FastClassBySpringCGLIB$$b57d805d.invoke(<generated>) ~[classes/:?]
at org.springframework.cglib.proxy.MethodProxy.invoke(MethodProxy.java:218) ~[spring-core-5.3.4.jar:5.3.4]
at org.springframework.aop.framework.CglibAopProxy$CglibMethodInvocation.invokeJoinpoint(CglibAopProxy.java:779) ~[spring-aop-5.3.4.jar:5.3.4]
at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:163) ~[spring-aop-5.3.4.jar:5.3.4]
at org.springframework.aop.framework.CglibAopProxy$CglibMethodInvocation.proceed(CglibAopProxy.java:750) ~[spring-aop-5.3.4.jar:5.3.4]
at org.springframework.aop.framework.adapter.AfterReturningAdviceInterceptor.invoke(AfterReturningAdviceInterceptor.java:57) ~[spring-aop-5.3.4.jar:5.3.4]
at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:186) ~[spring-aop-5.3.4.jar:5.3.4]
at org.springframework.aop.framework.CglibAopProxy$CglibMethodInvocation.proceed(CglibAopProxy.java:750) ~[spring-aop-5.3.4.jar:5.3.4]
at org.springframework.aop.framework.adapter.MethodBeforeAdviceInterceptor.invoke(MethodBeforeAdviceInterceptor.java:58) ~[spring-aop-5.3.4.jar:5.3.4]
at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:186) ~[spring-aop-5.3.4.jar:5.3.4]
at org.springframework.aop.framework.CglibAopProxy$CglibMethodInvocation.proceed(CglibAopProxy.java:750) ~[spring-aop-5.3.4.jar:5.3.4]
at org.springframework.aop.interceptor.ExposeInvocationInterceptor.invoke(ExposeInvocationInterceptor.java:97) ~[spring-aop-5.3.4.jar:5.3.4]
at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:186) ~[spring-aop-5.3.4.jar:5.3.4]
at org.springframework.aop.framework.CglibAopProxy$CglibMethodInvocation.proceed(CglibAopProxy.java:750) ~[spring-aop-5.3.4.jar:5.3.4]
at org.springframework.aop.framework.CglibAopProxy$DynamicAdvisedInterceptor.intercept(CglibAopProxy.java:692) ~[spring-aop-5.3.4.jar:5.3.4]
at com.ruwii.es.service.rabbitmq.MQConsumerService$$EnhancerBySpringCGLIB$$b0d1daec.onGoodsmessage(<generated>) ~[classes/:?]
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) ~[?:1.8.0_241]
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) ~[?:1.8.0_241]
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) ~[?:1.8.0_241]
at java.lang.reflect.Method.invoke(Method.java:498) ~[?:1.8.0_241]
at org.springframework.messaging.handler.invocation.InvocableHandlerMethod.doInvoke(InvocableHandlerMethod.java:171) ~[spring-messaging-5.3.4.jar:5.3.4]
at org.springframework.messaging.handler.invocation.InvocableHandlerMethod.invoke(InvocableHandlerMethod.java:120) ~[spring-messaging-5.3.4.jar:5.3.4]
at org.springframework.amqp.rabbit.listener.adapter.HandlerAdapter.invoke(HandlerAdapter.java:53) ~[spring-rabbit-2.3.5.jar:2.3.5]
at org.springframework.amqp.rabbit.listener.adapter.MessagingMessageListenerAdapter.invokeHandler(MessagingMessageListenerAdapter.java:222) ~[spring-rabbit-2.3.5.jar:2.3.5]
at org.springframework.amqp.rabbit.listener.adapter.MessagingMessageListenerAdapter.invokeHandlerAndProcessResult(MessagingMessageListenerAdapter.java:150) ~[spring-rabbit-2.3.5.jar:2.3.5]
at org.springframework.amqp.rabbit.listener.adapter.MessagingMessageListenerAdapter.onMessage(MessagingMessageListenerAdapter.java:135) ~[spring-rabbit-2.3.5.jar:2.3.5]
at org.springframework.amqp.rabbit.listener.AbstractMessageListenerContainer.doInvokeListener(AbstractMessageListenerContainer.java:1632) ~[spring-rabbit-2.3.5.jar:2.3.5]
at org.springframework.amqp.rabbit.listener.AbstractMessageListenerContainer.actualInvokeListener(AbstractMessageListenerContainer.java:1551) ~[spring-rabbit-2.3.5.jar:2.3.5]
at org.springframework.amqp.rabbit.listener.AbstractMessageListenerContainer.invokeListener(AbstractMessageListenerContainer.java:1539) [spring-rabbit-2.3.5.jar:2.3.5]
at org.springframework.amqp.rabbit.listener.AbstractMessageListenerContainer.doExecuteListener(AbstractMessageListenerContainer.java:1530) [spring-rabbit-2.3.5.jar:2.3.5]
at org.springframework.amqp.rabbit.listener.AbstractMessageListenerContainer.executeListener(AbstractMessageListenerContainer.java:1474) [spring-rabbit-2.3.5.jar:2.3.5]
at org.springframework.amqp.rabbit.listener.SimpleMessageListenerContainer.doReceiveAndExecute(SimpleMessageListenerContainer.java:967) [spring-rabbit-2.3.5.jar:2.3.5]
at org.springframework.amqp.rabbit.listener.SimpleMessageListenerContainer.receiveAndExecute(SimpleMessageListenerContainer.java:913) [spring-rabbit-2.3.5.jar:2.3.5]
at org.springframework.amqp.rabbit.listener.SimpleMessageListenerContainer.access$1600(SimpleMessageListenerContainer.java:83) [spring-rabbit-2.3.5.jar:2.3.5]
at org.springframework.amqp.rabbit.listener.SimpleMessageListenerContainer$AsyncMessageProcessingConsumer.mainLoop(SimpleMessageListenerContainer.java:1288) [spring-rabbit-2.3.5.jar:2.3.5]
at org.springframework.amqp.rabbit.listener.SimpleMessageListenerContainer$AsyncMessageProcessingConsumer.run(SimpleMessageListenerContainer.java:1194) [spring-rabbit-2.3.5.jar:2.3.5]
at java.lang.Thread.run(Thread.java:748) [?:1.8.0_241]
2021-06-18 13:59:48 [traceId:e10997f0500a469f8f197a87d71c1913] [ ERROR ] [ com.ruwii.es.service.rabbitmq.MQConsumerService ] com.ruwii.es.service.rabbitmq.MQConsumerService@63f9b562
com.alibaba.fastjson.JSONException: syntax error, pos 1, line 1, column 2G202005141039465490
at com.alibaba.fastjson.parser.DefaultJSONParser.parse(DefaultJSONParser.java:1460) ~[fastjson-1.2.56.jar:?]
at com.alibaba.fastjson.parser.DefaultJSONParser.parse(DefaultJSONParser.java:1346) ~[fastjson-1.2.56.jar:?]
at com.alibaba.fastjson.JSON.parse(JSON.java:156) ~[fastjson-1.2.56.jar:?]
at com.alibaba.fastjson.JSON.parse(JSON.java:166) ~[fastjson-1.2.56.jar:?]
at com.alibaba.fastjson.JSON.parse(JSON.java:135) ~[fastjson-1.2.56.jar:?]
at com.alibaba.fastjson.JSONObject.getJSONArray(JSONObject.java:145) ~[fastjson-1.2.56.jar:?]
at com.ruwii.es.util.CheckGoodsMessageUtil.checkGoodsMessage(CheckGoodsMessageUtil.java:20) ~[classes/:?]
at com.ruwii.es.service.rabbitmq.MQConsumerService.onGoodsmessage(MQConsumerService.java:61) ~[classes/:?]
at com.ruwii.es.service.rabbitmq.MQConsumerService$$FastClassBySpringCGLIB$$b57d805d.invoke(<generated>) ~[classes/:?]
at org.springframework.cglib.proxy.MethodProxy.invoke(MethodProxy.java:218) ~[spring-core-5.3.4.jar:5.3.4]
at org.springframework.aop.framework.CglibAopProxy$CglibMethodInvocation.invokeJoinpoint(CglibAopProxy.java:779) ~[spring-aop-5.3.4.jar:5.3.4]
at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:163) ~[spring-aop-5.3.4.jar:5.3.4]
at org.springframework.aop.framework.CglibAopProxy$CglibMethodInvocation.proceed(CglibAopProxy.java:750) ~[spring-aop-5.3.4.jar:5.3.4]
at org.springframework.aop.framework.adapter.AfterReturningAdviceInterceptor.invoke(AfterReturningAdviceInterceptor.java:57) ~[spring-aop-5.3.4.jar:5.3.4]
at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:186) ~[spring-aop-5.3.4.jar:5.3.4]
at org.springframework.aop.framework.CglibAopProxy$CglibMethodInvocation.proceed(CglibAopProxy.java:750) ~[spring-aop-5.3.4.jar:5.3.4]
at org.springframework.aop.framework.adapter.MethodBeforeAdviceInterceptor.invoke(MethodBeforeAdviceInterceptor.java:58) ~[spring-aop-5.3.4.jar:5.3.4]
at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:186) ~[spring-aop-5.3.4.jar:5.3.4]
at org.springframework.aop.framework.CglibAopProxy$CglibMethodInvocation.proceed(CglibAopProxy.java:750) ~[spring-aop-5.3.4.jar:5.3.4]
at org.springframework.aop.interceptor.ExposeInvocationInterceptor.invoke(ExposeInvocationInterceptor.java:97) ~[spring-aop-5.3.4.jar:5.3.4]
at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:186) ~[spring-aop-5.3.4.jar:5.3.4]
at org.springframework.aop.framework.CglibAopProxy$CglibMethodInvocation.proceed(CglibAopProxy.java:750) ~[spring-aop-5.3.4.jar:5.3.4]
at org.springframework.aop.framework.CglibAopProxy$DynamicAdvisedInterceptor.intercept(CglibAopProxy.java:692) ~[spring-aop-5.3.4.jar:5.3.4]
at com.ruwii.es.service.rabbitmq.MQConsumerService$$EnhancerBySpringCGLIB$$b0d1daec.onGoodsmessage(<generated>) ~[classes/:?]
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) ~[?:1.8.0_241]
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) ~[?:1.8.0_241]
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) ~[?:1.8.0_241]
at java.lang.reflect.Method.invoke(Method.java:498) ~[?:1.8.0_241]
at org.springframework.messaging.handler.invocation.InvocableHandlerMethod.doInvoke(InvocableHandlerMethod.java:171) ~[spring-messaging-5.3.4.jar:5.3.4]
at org.springframework.messaging.handler.invocation.InvocableHandlerMethod.invoke(InvocableHandlerMethod.java:120) ~[spring-messaging-5.3.4.jar:5.3.4]
at org.springframework.amqp.rabbit.listener.adapter.HandlerAdapter.invoke(HandlerAdapter.java:53) ~[spring-rabbit-2.3.5.jar:2.3.5]
at org.springframework.amqp.rabbit.listener.adapter.MessagingMessageListenerAdapter.invokeHandler(MessagingMessageListenerAdapter.java:222) ~[spring-rabbit-2.3.5.jar:2.3.5]
at org.springframework.amqp.rabbit.listener.adapter.MessagingMessageListenerAdapter.invokeHandlerAndProcessResult(MessagingMessageListenerAdapter.java:150) ~[spring-rabbit-2.3.5.jar:2.3.5]
at org.springframework.amqp.rabbit.listener.adapter.MessagingMessageListenerAdapter.onMessage(MessagingMessageListenerAdapter.java:135) ~[spring-rabbit-2.3.5.jar:2.3.5]
at org.springframework.amqp.rabbit.listener.AbstractMessageListenerContainer.doInvokeListener(AbstractMessageListenerContainer.java:1632) ~[spring-rabbit-2.3.5.jar:2.3.5]
at org.springframework.amqp.rabbit.listener.AbstractMessageListenerContainer.actualInvokeListener(AbstractMessageListenerContainer.java:1551) ~[spring-rabbit-2.3.5.jar:2.3.5]
at org.springframework.amqp.rabbit.listener.AbstractMessageListenerContainer.invokeListener(AbstractMessageListenerContainer.java:1539) [spring-rabbit-2.3.5.jar:2.3.5]
at org.springframework.amqp.rabbit.listener.AbstractMessageListenerContainer.doExecuteListener(AbstractMessageListenerContainer.java:1530) [spring-rabbit-2.3.5.jar:2.3.5]
at org.springframework.amqp.rabbit.listener.AbstractMessageListenerContainer.executeListener(AbstractMessageListenerContainer.java:1474) [spring-rabbit-2.3.5.jar:2.3.5]
at org.springframework.amqp.rabbit.listener.SimpleMessageListenerContainer.doReceiveAndExecute(SimpleMessageListenerContainer.java:967) [spring-rabbit-2.3.5.jar:2.3.5]
at org.springframework.amqp.rabbit.listener.SimpleMessageListenerContainer.receiveAndExecute(SimpleMessageListenerContainer.java:913) [spring-rabbit-2.3.5.jar:2.3.5]
at org.springframework.amqp.rabbit.listener.SimpleMessageListenerContainer.access$1600(SimpleMessageListenerContainer.java:83) [spring-rabbit-2.3.5.jar:2.3.5]
at org.springframework.amqp.rabbit.listener.SimpleMessageListenerContainer$AsyncMessageProcessingConsumer.mainLoop(SimpleMessageListenerContainer.java:1288) [spring-rabbit-2.3.5.jar:2.3.5]
at org.springframework.amqp.rabbit.listener.SimpleMessageListenerContainer$AsyncMessageProcessingConsumer.run(SimpleMessageListenerContainer.java:1194) [spring-rabbit-2.3.5.jar:2.3.5]
at java.lang.Thread.run(Thread.java:748) [?:1.8.0_241]
2021-06-18 13:59:48 [traceId:4213146436e54dd79926b651034771e3] [ ERROR ] [ com.ruwii.es.service.rabbitmq.MQConsumerService ] com.ruwii.es.service.rabbitmq.MQConsumerService@63f9b562
com.alibaba.fastjson.JSONException: syntax error, pos 1, line 1, column 2G202103191022435723
at com.alibaba.fastjson.parser.DefaultJSONParser.parse(DefaultJSONParser.java:1460) ~[fastjson-1.2.56.jar:?]
at com.alibaba.fastjson.parser.DefaultJSONParser.parse(DefaultJSONParser.java:1346) ~[fastjson-1.2.56.jar:?]
at com.alibaba.fastjson.JSON.parse(JSON.java:156) ~[fastjson-1.2.56.jar:?]
at com.alibaba.fastjson.JSON.parse(JSON.java:166) ~[fastjson-1.2.56.jar:?]
at com.alibaba.fastjson.JSON.parse(JSON.java:135) ~[fastjson-1.2.56.jar:?]
at com.alibaba.fastjson.JSONObject.getJSONArray(JSONObject.java:145) ~[fastjson-1.2.56.jar:?]
at com.ruwii.es.util.CheckGoodsMessageUtil.checkGoodsMessage(CheckGoodsMessageUtil.java:20) ~[classes/:?]
at com.ruwii.es.service.rabbitmq.MQConsumerService.onGoodsmessage(MQConsumerService.java:61) ~[classes/:?]
at com.ruwii.es.service.rabbitmq.MQConsumerService$$FastClassBySpringCGLIB$$b57d805d.invoke(<generated>) ~[classes/:?]
at org.springframework.cglib.proxy.MethodProxy.invoke(MethodProxy.java:218) ~[spring-core-5.3.4.jar:5.3.4]
at org.springframework.aop.framework.CglibAopProxy$CglibMethodInvocation.invokeJoinpoint(CglibAopProxy.java:779) ~[spring-aop-5.3.4.jar:5.3.4]
at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:163) ~[spring-aop-5.3.4.jar:5.3.4]
at org.springframework.aop.framework.CglibAopProxy$CglibMethodInvocation.proceed(CglibAopProxy.java:750) ~[spring-aop-5.3.4.jar:5.3.4]
at org.springframework.aop.framework.adapter.AfterReturningAdviceInterceptor.invoke(AfterReturningAdviceInterceptor.java:57) ~[spring-aop-5.3.4.jar:5.3.4]
at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:186) ~[spring-aop-5.3.4.jar:5.3.4]
at org.springframework.aop.framework.CglibAopProxy$CglibMethodInvocation.proceed(CglibAopProxy.java:750) ~[spring-aop-5.3.4.jar:5.3.4]
at org.springframework.aop.framework.adapter.MethodBeforeAdviceInterceptor.invoke(MethodBeforeAdviceInterceptor.java:58) ~[spring-aop-5.3.4.jar:5.3.4]
at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:186) ~[spring-aop-5.3.4.jar:5.3.4]
at org.springframework.aop.framework.CglibAopProxy$CglibMethodInvocation.proceed(CglibAopProxy.java:750) ~[spring-aop-5.3.4.jar:5.3.4]
at org.springframework.aop.interceptor.ExposeInvocationInterceptor.invoke(ExposeInvocationInterceptor.java:97) ~[spring-aop-5.3.4.jar:5.3.4]
at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:186) ~[spring-aop-5.3.4.jar:5.3.4]
at org.springframework.aop.framework.CglibAopProxy$CglibMethodInvocation.proceed(CglibAopProxy.java:750) ~[spring-aop-5.3.4.jar:5.3.4]
at org.springframework.aop.framework.CglibAopProxy$DynamicAdvisedInterceptor.intercept(CglibAopProxy.java:692) ~[spring-aop-5.3.4.jar:5.3.4]
at com.ruwii.es.service.rabbitmq.MQConsumerService$$EnhancerBySpringCGLIB$$b0d1daec.onGoodsmessage(<generated>) ~[classes/:?]
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) ~[?:1.8.0_241]
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) ~[?:1.8.0_241]
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) ~[?:1.8.0_241]
at java.lang.reflect.Method.invoke(Method.java:498) ~[?:1.8.0_241]
at org.springframework.messaging.handler.invocation.InvocableHandlerMethod.doInvoke(InvocableHandlerMethod.java:171) ~[spring-messaging-5.3.4.jar:5.3.4]
at org.springframework.messaging.handler.invocation.InvocableHandlerMethod.invoke(InvocableHandlerMethod.java:120) ~[spring-messaging-5.3.4.jar:5.3.4]
at org.springframework.amqp.rabbit.listener.adapter.HandlerAdapter.invoke(HandlerAdapter.java:53) ~[spring-rabbit-2.3.5.jar:2.3.5]
at org.springframework.amqp.rabbit.listener.adapter.MessagingMessageListenerAdapter.invokeHandler(MessagingMessageListenerAdapter.java:222) ~[spring-rabbit-2.3.5.jar:2.3.5]
at org.springframework.amqp.rabbit.listener.adapter.MessagingMessageListenerAdapter.invokeHandlerAndProcessResult(MessagingMessageListenerAdapter.java:150) ~[spring-rabbit-2.3.5.jar:2.3.5]
at org.springframework.amqp.rabbit.listener.adapter.MessagingMessageListenerAdapter.onMessage(MessagingMessageListenerAdapter.java:135) ~[spring-rabbit-2.3.5.jar:2.3.5]
at org.springframework.amqp.rabbit.listener.AbstractMessageListenerContainer.doInvokeListener(AbstractMessageListenerContainer.java:1632) ~[spring-rabbit-2.3.5.jar:2.3.5]
at org.springframework.amqp.rabbit.listener.AbstractMessageListenerContainer.actualInvokeListener(AbstractMessageListenerContainer.java:1551) ~[spring-rabbit-2.3.5.jar:2.3.5]
at org.springframework.amqp.rabbit.listener.AbstractMessageListenerContainer.invokeListener(AbstractMessageListenerContainer.java:1539) [spring-rabbit-2.3.5.jar:2.3.5]
at org.springframework.amqp.rabbit.listener.AbstractMessageListenerContainer.doExecuteListener(AbstractMessageListenerContainer.java:1530) [spring-rabbit-2.3.5.jar:2.3.5]
at org.springframework.amqp.rabbit.listener.AbstractMessageListenerContainer.executeListener(AbstractMessageListenerContainer.java:1474) [spring-rabbit-2.3.5.jar:2.3.5]
at org.springframework.amqp.rabbit.listener.SimpleMessageListenerContainer.doReceiveAndExecute(SimpleMessageListenerContainer.java:967) [spring-rabbit-2.3.5.jar:2.3.5]
at org.springframework.amqp.rabbit.listener.SimpleMessageListenerContainer.receiveAndExecute(SimpleMessageListenerContainer.java:913) [spring-rabbit-2.3.5.jar:2.3.5]
at org.springframework.amqp.rabbit.listener.SimpleMessageListenerContainer.access$1600(SimpleMessageListenerContainer.java:83) [spring-rabbit-2.3.5.jar:2.3.5]
at org.springframework.amqp.rabbit.listener.SimpleMessageListenerContainer$AsyncMessageProcessingConsumer.mainLoop(SimpleMessageListenerContainer.java:1288) [spring-rabbit-2.3.5.jar:2.3.5]
at org.springframework.amqp.rabbit.listener.SimpleMessageListenerContainer$AsyncMessageProcessingConsumer.run(SimpleMessageListenerContainer.java:1194) [spring-rabbit-2.3.5.jar:2.3.5]
at java.lang.Thread.run(Thread.java:748) [?:1.8.0_241]
2021-06-18 13:59:48 [traceId:de2aa82984d54eb482cc271d16e8123d] [ ERROR ] [ com.ruwii.es.service.rabbitmq.MQConsumerService ] com.ruwii.es.service.rabbitmq.MQConsumerService@63f9b562
com.alibaba.fastjson.JSONException: syntax error, pos 1, line 1, column 2G202012181557305653
at com.alibaba.fastjson.parser.DefaultJSONParser.parse(DefaultJSONParser.java:1460) ~[fastjson-1.2.56.jar:?]
at com.alibaba.fastjson.parser.DefaultJSONParser.parse(DefaultJSONParser.java:1346) ~[fastjson-1.2.56.jar:?]
at com.alibaba.fastjson.JSON.parse(JSON.java:156) ~[fastjson-1.2.56.jar:?]
at com.alibaba.fastjson.JSON.parse(JSON.java:166) ~[fastjson-1.2.56.jar:?]
at com.alibaba.fastjson.JSON.parse(JSON.java:135) ~[fastjson-1.2.56.jar:?]
at com.alibaba.fastjson.JSONObject.getJSONArray(JSONObject.java:145) ~[fastjson-1.2.56.jar:?]
at com.ruwii.es.util.CheckGoodsMessageUtil.checkGoodsMessage(CheckGoodsMessageUtil.java:20) ~[classes/:?]
at com.ruwii.es.service.rabbitmq.MQConsumerService.onGoodsmessage(MQConsumerService.java:61) ~[classes/:?]
at com.ruwii.es.service.rabbitmq.MQConsumerService$$FastClassBySpringCGLIB$$b57d805d.invoke(<generated>) ~[classes/:?]
at org.springframework.cglib.proxy.MethodProxy.invoke(MethodProxy.java:218) ~[spring-core-5.3.4.jar:5.3.4]
at org.springframework.aop.framework.CglibAopProxy$CglibMethodInvocation.invokeJoinpoint(CglibAopProxy.java:779) ~[spring-aop-5.3.4.jar:5.3.4]
at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:163) ~[spring-aop-5.3.4.jar:5.3.4]
at org.springframework.aop.framework.CglibAopProxy$CglibMethodInvocation.proceed(CglibAopProxy.java:750) ~[spring-aop-5.3.4.jar:5.3.4]
at org.springframework.aop.framework.adapter.AfterReturningAdviceInterceptor.invoke(AfterReturningAdviceInterceptor.java:57) ~[spring-aop-5.3.4.jar:5.3.4]
at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:186) ~[spring-aop-5.3.4.jar:5.3.4]
at org.springframework.aop.framework.CglibAopProxy$CglibMethodInvocation.proceed(CglibAopProxy.java:750) ~[spring-aop-5.3.4.jar:5.3.4]
at org.springframework.aop.framework.adapter.MethodBeforeAdviceInterceptor.invoke(MethodBeforeAdviceInterceptor.java:58) ~[spring-aop-5.3.4.jar:5.3.4]
at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:186) ~[spring-aop-5.3.4.jar:5.3.4]
at org.springframework.aop.framework.CglibAopProxy$CglibMethodInvocation.proceed(CglibAopProxy.java:750) ~[spring-aop-5.3.4.jar:5.3.4]
at org.springframework.aop.interceptor.ExposeInvocationInterceptor.invoke(ExposeInvocationInterceptor.java:97) ~[spring-aop-5.3.4.jar:5.3.4]
at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:186) ~[spring-aop-5.3.4.jar:5.3.4]
at org.springframework.aop.framework.CglibAopProxy$CglibMethodInvocation.proceed(CglibAopProxy.java:750) ~[spring-aop-5.3.4.jar:5.3.4]
at org.springframework.aop.framework.CglibAopProxy$DynamicAdvisedInterceptor.intercept(CglibAopProxy.java:692) ~[spring-aop-5.3.4.jar:5.3.4]
at com.ruwii.es.service.rabbitmq.MQConsumerService$$EnhancerBySpringCGLIB$$b0d1daec.onGoodsmessage(<generated>) ~[classes/:?]
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) ~[?:1.8.0_241]
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) ~[?:1.8.0_241]
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) ~[?:1.8.0_241]
at java.lang.reflect.Method.invoke(Method.java:498) ~[?:1.8.0_241]
at org.springframework.messaging.handler.invocation.InvocableHandlerMethod.doInvoke(InvocableHandlerMethod.java:171) ~[spring-messaging-5.3.4.jar:5.3.4]
at org.springframework.messaging.handler.invocation.InvocableHandlerMethod.invoke(InvocableHandlerMethod.java:120) ~[spring-messaging-5.3.4.jar:5.3.4]
at org.springframework.amqp.rabbit.listener.adapter.HandlerAdapter.invoke(HandlerAdapter.java:53) ~[spring-rabbit-2.3.5.jar:2.3.5]
at org.springframework.amqp.rabbit.listener.adapter.MessagingMessageListenerAdapter.invokeHandler(MessagingMessageListenerAdapter.java:222) ~[spring-rabbit-2.3.5.jar:2.3.5]
at org.springframework.amqp.rabbit.listener.adapter.MessagingMessageListenerAdapter.invokeHandlerAndProcessResult(MessagingMessageListenerAdapter.java:150) ~[spring-rabbit-2.3.5.jar:2.3.5]
at org.springframework.amqp.rabbit.listener.adapter.MessagingMessageListenerAdapter.onMessage(MessagingMessageListenerAdapter.java:135) ~[spring-rabbit-2.3.5.jar:2.3.5]
at org.springframework.amqp.rabbit.listener.AbstractMessageListenerContainer.doInvokeListener(AbstractMessageListenerContainer.java:1632) ~[spring-rabbit-2.3.5.jar:2.3.5]
at org.springframework.amqp.rabbit.listener.AbstractMessageListenerContainer.actualInvokeListener(AbstractMessageListenerContainer.java:1551) ~[spring-rabbit-2.3.5.jar:2.3.5]
at org.springframework.amqp.rabbit.listener.AbstractMessageListenerContainer.invokeListener(AbstractMessageListenerContainer.java:1539) [spring-rabbit-2.3.5.jar:2.3.5]
at org.springframework.amqp.rabbit.listener.AbstractMessageListenerContainer.doExecuteListener(AbstractMessageListenerContainer.java:1530) [spring-rabbit-2.3.5.jar:2.3.5]
at org.springframework.amqp.rabbit.listener.AbstractMessageListenerContainer.executeListener(AbstractMessageListenerContainer.java:1474) [spring-rabbit-2.3.5.jar:2.3.5]
at org.springframework.amqp.rabbit.listener.SimpleMessageListenerContainer.doReceiveAndExecute(SimpleMessageListenerContainer.java:967) [spring-rabbit-2.3.5.jar:2.3.5]
at org.springframework.amqp.rabbit.listener.SimpleMessageListenerContainer.receiveAndExecute(SimpleMessageListenerContainer.java:913) [spring-rabbit-2.3.5.jar:2.3.5]
at org.springframework.amqp.rabbit.listener.SimpleMessageListenerContainer.access$1600(SimpleMessageListenerContainer.java:83) [spring-rabbit-2.3.5.jar:2.3.5]
at org.springframework.amqp.rabbit.listener.SimpleMessageListenerContainer$AsyncMessageProcessingConsumer.mainLoop(SimpleMessageListenerContainer.java:1288) [spring-rabbit-2.3.5.jar:2.3.5]
at org.springframework.amqp.rabbit.listener.SimpleMessageListenerContainer$AsyncMessageProcessingConsumer.run(SimpleMessageListenerContainer.java:1194) [spring-rabbit-2.3.5.jar:2.3.5]
at java.lang.Thread.run(Thread.java:748) [?:1.8.0_241]
2021-06-18 13:59:48 [traceId:7ed822fe251242c2bdb4ab93d6050d88] [ ERROR ] [ com.ruwii.es.service.rabbitmq.MQConsumerService ] com.ruwii.es.service.rabbitmq.MQConsumerService@63f9b562
com.alibaba.fastjson.JSONException: syntax error, pos 1, line 1, column 2G202012181557305653
at com.alibaba.fastjson.parser.DefaultJSONParser.parse(DefaultJSONParser.java:1460) ~[fastjson-1.2.56.jar:?]
at com.alibaba.fastjson.parser.DefaultJSONParser.parse(DefaultJSONParser.java:1346) ~[fastjson-1.2.56.jar:?]
at com.alibaba.fastjson.JSON.parse(JSON.java:156) ~[fastjson-1.2.56.jar:?]
at com.alibaba.fastjson.JSON.parse(JSON.java:166) ~[fastjson-1.2.56.jar:?]
at com.alibaba.fastjson.JSON.parse(JSON.java:135) ~[fastjson-1.2.56.jar:?]
at com.alibaba.fastjson.JSONObject.getJSONArray(JSONObject.java:145) ~[fastjson-1.2.56.jar:?]
at com.ruwii.es.util.CheckGoodsMessageUtil.checkGoodsMessage(CheckGoodsMessageUtil.java:20) ~[classes/:?]
at com.ruwii.es.service.rabbitmq.MQConsumerService.onGoodsmessage(MQConsumerService.java:61) ~[classes/:?]
at com.ruwii.es.service.rabbitmq.MQConsumerService$$FastClassBySpringCGLIB$$b57d805d.invoke(<generated>) ~[classes/:?]
at org.springframework.cglib.proxy.MethodProxy.invoke(MethodProxy.java:218) ~[spring-core-5.3.4.jar:5.3.4]
at org.springframework.aop.framework.CglibAopProxy$CglibMethodInvocation.invokeJoinpoint(CglibAopProxy.java:779) ~[spring-aop-5.3.4.jar:5.3.4]
at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:163) ~[spring-aop-5.3.4.jar:5.3.4]
at org.springframework.aop.framework.CglibAopProxy$CglibMethodInvocation.proceed(CglibAopProxy.java:750) ~[spring-aop-5.3.4.jar:5.3.4]
at org.springframework.aop.framework.adapter.AfterReturningAdviceInterceptor.invoke(AfterReturningAdviceInterceptor.java:57) ~[spring-aop-5.3.4.jar:5.3.4]
at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:186) ~[spring-aop-5.3.4.jar:5.3.4]
at org.springframework.aop.framework.CglibAopProxy$CglibMethodInvocation.proceed(CglibAopProxy.java:750) ~[spring-aop-5.3.4.jar:5.3.4]
at org.springframework.aop.framework.adapter.MethodBeforeAdviceInterceptor.invoke(MethodBeforeAdviceInterceptor.java:58) ~[spring-aop-5.3.4.jar:5.3.4]
at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:186) ~[spring-aop-5.3.4.jar:5.3.4]
at org.springframework.aop.framework.CglibAopProxy$CglibMethodInvocation.proceed(CglibAopProxy.java:750) ~[spring-aop-5.3.4.jar:5.3.4]
at org.springframework.aop.interceptor.ExposeInvocationInterceptor.invoke(ExposeInvocationInterceptor.java:97) ~[spring-aop-5.3.4.jar:5.3.4]
at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:186) ~[spring-aop-5.3.4.jar:5.3.4]
at org.springframework.aop.framework.CglibAopProxy$CglibMethodInvocation.proceed(CglibAopProxy.java:750) ~[spring-aop-5.3.4.jar:5.3.4]
at org.springframework.aop.framework.CglibAopProxy$DynamicAdvisedInterceptor.intercept(CglibAopProxy.java:692) ~[spring-aop-5.3.4.jar:5.3.4]
at com.ruwii.es.service.rabbitmq.MQConsumerService$$EnhancerBySpringCGLIB$$b0d1daec.onGoodsmessage(<generated>) ~[classes/:?]
at sun.reflect.GeneratedMethodAccessor45.invoke(Unknown Source) ~[?:?]
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) ~[?:1.8.0_241]
at java.lang.reflect.Method.invoke(Method.java:498) ~[?:1.8.0_241]
at org.springframework.messaging.handler.invocation.InvocableHandlerMethod.doInvoke(InvocableHandlerMethod.java:171) ~[spring-messaging-5.3.4.jar:5.3.4]
at org.springframework.messaging.handler.invocation.InvocableHandlerMethod.invoke(InvocableHandlerMethod.java:120) ~[spring-messaging-5.3.4.jar:5.3.4]
at org.springframework.amqp.rabbit.listener.adapter.HandlerAdapter.invoke(HandlerAdapter.java:53) ~[spring-rabbit-2.3.5.jar:2.3.5]
at org.springframework.amqp.rabbit.listener.adapter.MessagingMessageListenerAdapter.invokeHandler(MessagingMessageListenerAdapter.java:222) ~[spring-rabbit-2.3.5.jar:2.3.5]
at org.springframework.amqp.rabbit.listener.adapter.MessagingMessageListenerAdapter.invokeHandlerAndProcessResult(MessagingMessageListenerAdapter.java:150) ~[spring-rabbit-2.3.5.jar:2.3.5]
at org.springframework.amqp.rabbit.listener.adapter.MessagingMessageListenerAdapter.onMessage(MessagingMessageListenerAdapter.java:135) ~[spring-rabbit-2.3.5.jar:2.3.5]
at org.springframework.amqp.rabbit.listener.AbstractMessageListenerContainer.doInvokeListener(AbstractMessageListenerContainer.java:1632) ~[spring-rabbit-2.3.5.jar:2.3.5]
at org.springframework.amqp.rabbit.listener.AbstractMessageListenerContainer.actualInvokeListener(AbstractMessageListenerContainer.java:1551) ~[spring-rabbit-2.3.5.jar:2.3.5]
at org.springframework.amqp.rabbit.listener.AbstractMessageListenerContainer.invokeListener(AbstractMessageListenerContainer.java:1539) [spring-rabbit-2.3.5.jar:2.3.5]
at org.springframework.amqp.rabbit.listener.AbstractMessageListenerContainer.doExecuteListener(AbstractMessageListenerContainer.java:1530) [spring-rabbit-2.3.5.jar:2.3.5]
at org.springframework.amqp.rabbit.listener.AbstractMessageListenerContainer.executeListener(AbstractMessageListenerContainer.java:1474) [spring-rabbit-2.3.5.jar:2.3.5]
at org.springframework.amqp.rabbit.listener.SimpleMessageListenerContainer.doReceiveAndExecute(SimpleMessageListenerContainer.java:967) [spring-rabbit-2.3.5.jar:2.3.5]
at org.springframework.amqp.rabbit.listener.SimpleMessageListenerContainer.receiveAndExecute(SimpleMessageListenerContainer.java:913) [spring-rabbit-2.3.5.jar:2.3.5]
at org.springframework.amqp.rabbit.listener.SimpleMessageListenerContainer.access$1600(SimpleMessageListenerContainer.java:83) [spring-rabbit-2.3.5.jar:2.3.5]
at org.springframework.amqp.rabbit.listener.SimpleMessageListenerContainer$AsyncMessageProcessingConsumer.mainLoop(SimpleMessageListenerContainer.java:1288) [spring-rabbit-2.3.5.jar:2.3.5]
at org.springframework.amqp.rabbit.listener.SimpleMessageListenerContainer$AsyncMessageProcessingConsumer.run(SimpleMessageListenerContainer.java:1194) [spring-rabbit-2.3.5.jar:2.3.5]
at java.lang.Thread.run(Thread.java:748) [?:1.8.0_241]
2021-06-18 13:59:51 [traceId:e4004924e5d140b893fc94b7231eb324] [ ERROR ] [ com.ruwii.es.service.rabbitmq.MQConsumerService ] com.ruwii.es.service.rabbitmq.MQConsumerService@63f9b562
com.alibaba.fastjson.JSONException: syntax error, pos 1, line 1, column 2G202105171759025783
at com.alibaba.fastjson.parser.DefaultJSONParser.parse(DefaultJSONParser.java:1460) ~[fastjson-1.2.56.jar:?]
at com.alibaba.fastjson.parser.DefaultJSONParser.parse(DefaultJSONParser.java:1346) ~[fastjson-1.2.56.jar:?]
at com.alibaba.fastjson.JSON.parse(JSON.java:156) ~[fastjson-1.2.56.jar:?]
at com.alibaba.fastjson.JSON.parse(JSON.java:166) ~[fastjson-1.2.56.jar:?]
at com.alibaba.fastjson.JSON.parse(JSON.java:135) ~[fastjson-1.2.56.jar:?]
at com.alibaba.fastjson.JSONObject.getJSONArray(JSONObject.java:145) ~[fastjson-1.2.56.jar:?]
at com.ruwii.es.util.CheckGoodsMessageUtil.checkGoodsMessage(CheckGoodsMessageUtil.java:20) ~[classes/:?]
at com.ruwii.es.service.rabbitmq.MQConsumerService.onGoodsmessage(MQConsumerService.java:61) ~[classes/:?]
at com.ruwii.es.service.rabbitmq.MQConsumerService$$FastClassBySpringCGLIB$$b57d805d.invoke(<generated>) ~[classes/:?]
at org.springframework.cglib.proxy.MethodProxy.invoke(MethodProxy.java:218) ~[spring-core-5.3.4.jar:5.3.4]
at org.springframework.aop.framework.CglibAopProxy$CglibMethodInvocation.invokeJoinpoint(CglibAopProxy.java:779) ~[spring-aop-5.3.4.jar:5.3.4]
at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:163) ~[spring-aop-5.3.4.jar:5.3.4]
at org.springframework.aop.framework.CglibAopProxy$CglibMethodInvocation.proceed(CglibAopProxy.java:750) ~[spring-aop-5.3.4.jar:5.3.4]
at org.springframework.aop.framework.adapter.AfterReturningAdviceInterceptor.invoke(AfterReturningAdviceInterceptor.java:57) ~[spring-aop-5.3.4.jar:5.3.4]
at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:186) ~[spring-aop-5.3.4.jar:5.3.4]
at org.springframework.aop.framework.CglibAopProxy$CglibMethodInvocation.proceed(CglibAopProxy.java:750) ~[spring-aop-5.3.4.jar:5.3.4]
at org.springframework.aop.framework.adapter.MethodBeforeAdviceInterceptor.invoke(MethodBeforeAdviceInterceptor.java:58) ~[spring-aop-5.3.4.jar:5.3.4]
at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:186) ~[spring-aop-5.3.4.jar:5.3.4]
at org.springframework.aop.framework.CglibAopProxy$CglibMethodInvocation.proceed(CglibAopProxy.java:750) ~[spring-aop-5.3.4.jar:5.3.4]
at org.springframework.aop.interceptor.ExposeInvocationInterceptor.invoke(ExposeInvocationInterceptor.java:97) ~[spring-aop-5.3.4.jar:5.3.4]
at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:186) ~[spring-aop-5.3.4.jar:5.3.4]
at org.springframework.aop.framework.CglibAopProxy$CglibMethodInvocation.proceed(CglibAopProxy.java:750) ~[spring-aop-5.3.4.jar:5.3.4]
at org.springframework.aop.framework.CglibAopProxy$DynamicAdvisedInterceptor.intercept(CglibAopProxy.java:692) ~[spring-aop-5.3.4.jar:5.3.4]
at com.ruwii.es.service.rabbitmq.MQConsumerService$$EnhancerBySpringCGLIB$$b0d1daec.onGoodsmessage(<generated>) ~[classes/:?]
at sun.reflect.GeneratedMethodAccessor45.invoke(Unknown Source) ~[?:?]
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) ~[?:1.8.0_241]
at java.lang.reflect.Method.invoke(Method.java:498) ~[?:1.8.0_241]
at org.springframework.messaging.handler.invocation.InvocableHandlerMethod.doInvoke(InvocableHandlerMethod.java:171) ~[spring-messaging-5.3.4.jar:5.3.4]
at org.springframework.messaging.handler.invocation.InvocableHandlerMethod.invoke(InvocableHandlerMethod.java:120) ~[spring-messaging-5.3.4.jar:5.3.4]
at org.springframework.amqp.rabbit.listener.adapter.HandlerAdapter.invoke(HandlerAdapter.java:53) ~[spring-rabbit-2.3.5.jar:2.3.5]
at org.springframework.amqp.rabbit.listener.adapter.MessagingMessageListenerAdapter.invokeHandler(MessagingMessageListenerAdapter.java:222) ~[spring-rabbit-2.3.5.jar:2.3.5]
at org.springframework.amqp.rabbit.listener.adapter.MessagingMessageListenerAdapter.invokeHandlerAndProcessResult(MessagingMessageListenerAdapter.java:150) ~[spring-rabbit-2.3.5.jar:2.3.5]
at org.springframework.amqp.rabbit.listener.adapter.MessagingMessageListenerAdapter.onMessage(MessagingMessageListenerAdapter.java:135) ~[spring-rabbit-2.3.5.jar:2.3.5]
at org.springframework.amqp.rabbit.listener.AbstractMessageListenerContainer.doInvokeListener(AbstractMessageListenerContainer.java:1632) ~[spring-rabbit-2.3.5.jar:2.3.5]
at org.springframework.amqp.rabbit.listener.AbstractMessageListenerContainer.actualInvokeListener(AbstractMessageListenerContainer.java:1551) ~[spring-rabbit-2.3.5.jar:2.3.5]
at org.springframework.amqp.rabbit.listener.AbstractMessageListenerContainer.invokeListener(AbstractMessageListenerContainer.java:1539) [spring-rabbit-2.3.5.jar:2.3.5]
at org.springframework.amqp.rabbit.listener.AbstractMessageListenerContainer.doExecuteListener(AbstractMessageListenerContainer.java:1530) [spring-rabbit-2.3.5.jar:2.3.5]
at org.springframework.amqp.rabbit.listener.AbstractMessageListenerContainer.executeListener(AbstractMessageListenerContainer.java:1474) [spring-rabbit-2.3.5.jar:2.3.5]
at org.springframework.amqp.rabbit.listener.SimpleMessageListenerContainer.doReceiveAndExecute(SimpleMessageListenerContainer.java:967) [spring-rabbit-2.3.5.jar:2.3.5]
at org.springframework.amqp.rabbit.listener.SimpleMessageListenerContainer.receiveAndExecute(SimpleMessageListenerContainer.java:913) [spring-rabbit-2.3.5.jar:2.3.5]
at org.springframework.amqp.rabbit.listener.SimpleMessageListenerContainer.access$1600(SimpleMessageListenerContainer.java:83) [spring-rabbit-2.3.5.jar:2.3.5]
at org.springframework.amqp.rabbit.listener.SimpleMessageListenerContainer$AsyncMessageProcessingConsumer.mainLoop(SimpleMessageListenerContainer.java:1288) [spring-rabbit-2.3.5.jar:2.3.5]
at org.springframework.amqp.rabbit.listener.SimpleMessageListenerContainer$AsyncMessageProcessingConsumer.run(SimpleMessageListenerContainer.java:1194) [spring-rabbit-2.3.5.jar:2.3.5]
at java.lang.Thread.run(Thread.java:748) [?:1.8.0_241]
2021-06-18 13:59:51 [traceId:84072986a9514a78a7e3d9716c8b9d6c] [ ERROR ] [ com.ruwii.es.service.rabbitmq.MQConsumerService ] com.ruwii.es.service.rabbitmq.MQConsumerService@63f9b562
com.alibaba.fastjson.JSONException: syntax error, pos 1, line 1, column 2G202105171759025783
at com.alibaba.fastjson.parser.DefaultJSONParser.parse(DefaultJSONParser.java:1460) ~[fastjson-1.2.56.jar:?]
at com.alibaba.fastjson.parser.DefaultJSONParser.parse(DefaultJSONParser.java:1346) ~[fastjson-1.2.56.jar:?]
at com.alibaba.fastjson.JSON.parse(JSON.java:156) ~[fastjson-1.2.56.jar:?]
at com.alibaba.fastjson.JSON.parse(JSON.java:166) ~[fastjson-1.2.56.jar:?]
at com.alibaba.fastjson.JSON.parse(JSON.java:135) ~[fastjson-1.2.56.jar:?]
at com.alibaba.fastjson.JSONObject.getJSONArray(JSONObject.java:145) ~[fastjson-1.2.56.jar:?]
at com.ruwii.es.util.CheckGoodsMessageUtil.checkGoodsMessage(CheckGoodsMessageUtil.java:20) ~[classes/:?]
at com.ruwii.es.service.rabbitmq.MQConsumerService.onGoodsmessage(MQConsumerService.java:61) ~[classes/:?]
at com.ruwii.es.service.rabbitmq.MQConsumerService$$FastClassBySpringCGLIB$$b57d805d.invoke(<generated>) ~[classes/:?]
at org.springframework.cglib.proxy.MethodProxy.invoke(MethodProxy.java:218) ~[spring-core-5.3.4.jar:5.3.4]
at org.springframework.aop.framework.CglibAopProxy$CglibMethodInvocation.invokeJoinpoint(CglibAopProxy.java:779) ~[spring-aop-5.3.4.jar:5.3.4]
at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:163) ~[spring-aop-5.3.4.jar:5.3.4]
at org.springframework.aop.framework.CglibAopProxy$CglibMethodInvocation.proceed(CglibAopProxy.java:750) ~[spring-aop-5.3.4.jar:5.3.4]
at org.springframework.aop.framework.adapter.AfterReturningAdviceInterceptor.invoke(AfterReturningAdviceInterceptor.java:57) ~[spring-aop-5.3.4.jar:5.3.4]
at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:186) ~[spring-aop-5.3.4.jar:5.3.4]
at org.springframework.aop.framework.CglibAopProxy$CglibMethodInvocation.proceed(CglibAopProxy.java:750) ~[spring-aop-5.3.4.jar:5.3.4]
at org.springframework.aop.framework.adapter.MethodBeforeAdviceInterceptor.invoke(MethodBeforeAdviceInterceptor.java:58) ~[spring-aop-5.3.4.jar:5.3.4]
at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:186) ~[spring-aop-5.3.4.jar:5.3.4]
at org.springframework.aop.framework.CglibAopProxy$CglibMethodInvocation.proceed(CglibAopProxy.java:750) ~[spring-aop-5.3.4.jar:5.3.4]
at org.springframework.aop.interceptor.ExposeInvocationInterceptor.invoke(ExposeInvocationInterceptor.java:97) ~[spring-aop-5.3.4.jar:5.3.4]
at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:186) ~[spring-aop-5.3.4.jar:5.3.4]
at org.springframework.aop.framework.CglibAopProxy$CglibMethodInvocation.proceed(CglibAopProxy.java:750) ~[spring-aop-5.3.4.jar:5.3.4]
at org.springframework.aop.framework.CglibAopProxy$DynamicAdvisedInterceptor.intercept(CglibAopProxy.java:692) ~[spring-aop-5.3.4.jar:5.3.4]
at com.ruwii.es.service.rabbitmq.MQConsumerService$$EnhancerBySpringCGLIB$$b0d1daec.onGoodsmessage(<generated>) ~[classes/:?]
at sun.reflect.GeneratedMethodAccessor45.invoke(Unknown Source) ~[?:?]
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) ~[?:1.8.0_241]
at java.lang.reflect.Method.invoke(Method.java:498) ~[?:1.8.0_241]
at org.springframework.messaging.handler.invocation.InvocableHandlerMethod.doInvoke(InvocableHandlerMethod.java:171) ~[spring-messaging-5.3.4.jar:5.3.4]
at org.springframework.messaging.handler.invocation.InvocableHandlerMethod.invoke(InvocableHandlerMethod.java:120) ~[spring-messaging-5.3.4.jar:5.3.4]
at org.springframework.amqp.rabbit.listener.adapter.HandlerAdapter.invoke(HandlerAdapter.java:53) ~[spring-rabbit-2.3.5.jar:2.3.5]
at org.springframework.amqp.rabbit.listener.adapter.MessagingMessageListenerAdapter.invokeHandler(MessagingMessageListenerAdapter.java:222) ~[spring-rabbit-2.3.5.jar:2.3.5]
at org.springframework.amqp.rabbit.listener.adapter.MessagingMessageListenerAdapter.invokeHandlerAndProcessResult(MessagingMessageListenerAdapter.java:150) ~[spring-rabbit-2.3.5.jar:2.3.5]
at org.springframework.amqp.rabbit.listener.adapter.MessagingMessageListenerAdapter.onMessage(MessagingMessageListenerAdapter.java:135) ~[spring-rabbit-2.3.5.jar:2.3.5]
at org.springframework.amqp.rabbit.listener.AbstractMessageListenerContainer.doInvokeListener(AbstractMessageListenerContainer.java:1632) ~[spring-rabbit-2.3.5.jar:2.3.5]
at org.springframework.amqp.rabbit.listener.AbstractMessageListenerContainer.actualInvokeListener(AbstractMessageListenerContainer.java:1551) ~[spring-rabbit-2.3.5.jar:2.3.5]
at org.springframework.amqp.rabbit.listener.AbstractMessageListenerContainer.invokeListener(AbstractMessageListenerContainer.java:1539) [spring-rabbit-2.3.5.jar:2.3.5]
at org.springframework.amqp.rabbit.listener.AbstractMessageListenerContainer.doExecuteListener(AbstractMessageListenerContainer.java:1530) [spring-rabbit-2.3.5.jar:2.3.5]
at org.springframework.amqp.rabbit.listener.AbstractMessageListenerContainer.executeListener(AbstractMessageListenerContainer.java:1474) [spring-rabbit-2.3.5.jar:2.3.5]
at org.springframework.amqp.rabbit.listener.SimpleMessageListenerContainer.doReceiveAndExecute(SimpleMessageListenerContainer.java:967) [spring-rabbit-2.3.5.jar:2.3.5]
at org.springframework.amqp.rabbit.listener.SimpleMessageListenerContainer.receiveAndExecute(SimpleMessageListenerContainer.java:913) [spring-rabbit-2.3.5.jar:2.3.5]
at org.springframework.amqp.rabbit.listener.SimpleMessageListenerContainer.access$1600(SimpleMessageListenerContainer.java:83) [spring-rabbit-2.3.5.jar:2.3.5]
at org.springframework.amqp.rabbit.listener.SimpleMessageListenerContainer$AsyncMessageProcessingConsumer.mainLoop(SimpleMessageListenerContainer.java:1288) [spring-rabbit-2.3.5.jar:2.3.5]
at org.springframework.amqp.rabbit.listener.SimpleMessageListenerContainer$AsyncMessageProcessingConsumer.run(SimpleMessageListenerContainer.java:1194) [spring-rabbit-2.3.5.jar:2.3.5]
at java.lang.Thread.run(Thread.java:748) [?:1.8.0_241]

View File

@ -0,0 +1,69 @@
2021-06-21 11:55:26 [traceId:19616281ada144ad848afbd2d758bc96] [ ERROR ] [ com.ruwii.es.exception.GlobalErrorException ]
com.ruwii.es.model.exception.ParamsException: null
at com.ruwii.es.controller.GoodsController.searchGoodsExecutor(GoodsController.java:48) ~[classes/:?]
at com.ruwii.es.controller.GoodsController$$FastClassBySpringCGLIB$$51f42ab9.invoke(<generated>) ~[classes/:?]
at org.springframework.cglib.proxy.MethodProxy.invoke(MethodProxy.java:218) ~[spring-core-5.3.4.jar:5.3.4]
at org.springframework.aop.framework.CglibAopProxy$CglibMethodInvocation.invokeJoinpoint(CglibAopProxy.java:779) ~[spring-aop-5.3.4.jar:5.3.4]
at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:163) ~[spring-aop-5.3.4.jar:5.3.4]
at org.springframework.aop.framework.CglibAopProxy$CglibMethodInvocation.proceed(CglibAopProxy.java:750) ~[spring-aop-5.3.4.jar:5.3.4]
at org.springframework.aop.framework.adapter.AfterReturningAdviceInterceptor.invoke(AfterReturningAdviceInterceptor.java:57) ~[spring-aop-5.3.4.jar:5.3.4]
at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:186) ~[spring-aop-5.3.4.jar:5.3.4]
at org.springframework.aop.framework.CglibAopProxy$CglibMethodInvocation.proceed(CglibAopProxy.java:750) ~[spring-aop-5.3.4.jar:5.3.4]
at org.springframework.aop.framework.adapter.MethodBeforeAdviceInterceptor.invoke(MethodBeforeAdviceInterceptor.java:58) ~[spring-aop-5.3.4.jar:5.3.4]
at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:186) ~[spring-aop-5.3.4.jar:5.3.4]
at org.springframework.aop.framework.CglibAopProxy$CglibMethodInvocation.proceed(CglibAopProxy.java:750) ~[spring-aop-5.3.4.jar:5.3.4]
at org.springframework.aop.interceptor.ExposeInvocationInterceptor.invoke(ExposeInvocationInterceptor.java:97) ~[spring-aop-5.3.4.jar:5.3.4]
at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:186) ~[spring-aop-5.3.4.jar:5.3.4]
at org.springframework.aop.framework.CglibAopProxy$CglibMethodInvocation.proceed(CglibAopProxy.java:750) ~[spring-aop-5.3.4.jar:5.3.4]
at org.springframework.aop.framework.CglibAopProxy$DynamicAdvisedInterceptor.intercept(CglibAopProxy.java:692) ~[spring-aop-5.3.4.jar:5.3.4]
at com.ruwii.es.controller.GoodsController$$EnhancerBySpringCGLIB$$ec16b614.searchGoodsExecutor(<generated>) ~[classes/:?]
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) ~[?:1.8.0_241]
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) ~[?:1.8.0_241]
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) ~[?:1.8.0_241]
at java.lang.reflect.Method.invoke(Method.java:498) ~[?:1.8.0_241]
at org.springframework.web.method.support.InvocableHandlerMethod.doInvoke(InvocableHandlerMethod.java:197) ~[spring-web-5.3.4.jar:5.3.4]
at org.springframework.web.method.support.InvocableHandlerMethod.invokeForRequest(InvocableHandlerMethod.java:141) ~[spring-web-5.3.4.jar:5.3.4]
at org.springframework.web.servlet.mvc.method.annotation.ServletInvocableHandlerMethod.invokeAndHandle(ServletInvocableHandlerMethod.java:106) ~[spring-webmvc-5.3.4.jar:5.3.4]
at org.springframework.web.servlet.mvc.method.annotation.RequestMappingHandlerAdapter.invokeHandlerMethod(RequestMappingHandlerAdapter.java:894) ~[spring-webmvc-5.3.4.jar:5.3.4]
at org.springframework.web.servlet.mvc.method.annotation.RequestMappingHandlerAdapter.handleInternal(RequestMappingHandlerAdapter.java:808) ~[spring-webmvc-5.3.4.jar:5.3.4]
at org.springframework.web.servlet.mvc.method.AbstractHandlerMethodAdapter.handle(AbstractHandlerMethodAdapter.java:87) ~[spring-webmvc-5.3.4.jar:5.3.4]
at org.springframework.web.servlet.DispatcherServlet.doDispatch(DispatcherServlet.java:1060) [spring-webmvc-5.3.4.jar:5.3.4]
at org.springframework.web.servlet.DispatcherServlet.doService(DispatcherServlet.java:962) [spring-webmvc-5.3.4.jar:5.3.4]
at org.springframework.web.servlet.FrameworkServlet.processRequest(FrameworkServlet.java:1006) [spring-webmvc-5.3.4.jar:5.3.4]
at org.springframework.web.servlet.FrameworkServlet.doGet(FrameworkServlet.java:898) [spring-webmvc-5.3.4.jar:5.3.4]
at javax.servlet.http.HttpServlet.service(HttpServlet.java:626) [tomcat-embed-core-9.0.43.jar:4.0.FR]
at org.springframework.web.servlet.FrameworkServlet.service(FrameworkServlet.java:883) [spring-webmvc-5.3.4.jar:5.3.4]
at javax.servlet.http.HttpServlet.service(HttpServlet.java:733) [tomcat-embed-core-9.0.43.jar:4.0.FR]
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:227) [tomcat-embed-core-9.0.43.jar:9.0.43]
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162) [tomcat-embed-core-9.0.43.jar:9.0.43]
at org.apache.tomcat.websocket.server.WsFilter.doFilter(WsFilter.java:53) [tomcat-embed-websocket-9.0.43.jar:9.0.43]
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189) [tomcat-embed-core-9.0.43.jar:9.0.43]
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162) [tomcat-embed-core-9.0.43.jar:9.0.43]
at org.springframework.web.filter.RequestContextFilter.doFilterInternal(RequestContextFilter.java:100) [spring-web-5.3.4.jar:5.3.4]
at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:119) [spring-web-5.3.4.jar:5.3.4]
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189) [tomcat-embed-core-9.0.43.jar:9.0.43]
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162) [tomcat-embed-core-9.0.43.jar:9.0.43]
at org.springframework.web.filter.FormContentFilter.doFilterInternal(FormContentFilter.java:93) [spring-web-5.3.4.jar:5.3.4]
at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:119) [spring-web-5.3.4.jar:5.3.4]
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189) [tomcat-embed-core-9.0.43.jar:9.0.43]
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162) [tomcat-embed-core-9.0.43.jar:9.0.43]
at org.springframework.web.filter.CharacterEncodingFilter.doFilterInternal(CharacterEncodingFilter.java:201) [spring-web-5.3.4.jar:5.3.4]
at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:119) [spring-web-5.3.4.jar:5.3.4]
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189) [tomcat-embed-core-9.0.43.jar:9.0.43]
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162) [tomcat-embed-core-9.0.43.jar:9.0.43]
at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:202) [tomcat-embed-core-9.0.43.jar:9.0.43]
at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:97) [tomcat-embed-core-9.0.43.jar:9.0.43]
at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:542) [tomcat-embed-core-9.0.43.jar:9.0.43]
at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:143) [tomcat-embed-core-9.0.43.jar:9.0.43]
at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:92) [tomcat-embed-core-9.0.43.jar:9.0.43]
at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:78) [tomcat-embed-core-9.0.43.jar:9.0.43]
at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:346) [tomcat-embed-core-9.0.43.jar:9.0.43]
at org.apache.coyote.http11.Http11Processor.service(Http11Processor.java:374) [tomcat-embed-core-9.0.43.jar:9.0.43]
at org.apache.coyote.AbstractProcessorLight.process(AbstractProcessorLight.java:65) [tomcat-embed-core-9.0.43.jar:9.0.43]
at org.apache.coyote.AbstractProtocol$ConnectionHandler.process(AbstractProtocol.java:887) [tomcat-embed-core-9.0.43.jar:9.0.43]
at org.apache.tomcat.util.net.NioEndpoint$SocketProcessor.doRun(NioEndpoint.java:1684) [tomcat-embed-core-9.0.43.jar:9.0.43]
at org.apache.tomcat.util.net.SocketProcessorBase.run(SocketProcessorBase.java:49) [tomcat-embed-core-9.0.43.jar:9.0.43]
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149) [?:1.8.0_241]
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624) [?:1.8.0_241]
at org.apache.tomcat.util.threads.TaskThread$WrappingRunnable.run(TaskThread.java:61) [tomcat-embed-core-9.0.43.jar:9.0.43]
at java.lang.Thread.run(Thread.java:748) [?:1.8.0_241]

View File

@ -0,0 +1,146 @@
2021-09-01 17:07:21 [traceId:] [ WARN ] [ com.rabbitmq.client.impl.ForgivingExceptionHandler ] An unexpected connection driver error occured (Exception message: Connection reset)
2021-09-01 17:07:22 [traceId:] [ ERROR ] [ com.rabbitmq.client.impl.ForgivingExceptionHandler ] An unexpected connection driver error occured
java.net.SocketException: socket closed
at java.net.SocketInputStream.socketRead0(Native Method) ~[?:1.8.0_241]
at java.net.SocketInputStream.socketRead(SocketInputStream.java:116) ~[?:1.8.0_241]
at java.net.SocketInputStream.read(SocketInputStream.java:171) ~[?:1.8.0_241]
at java.net.SocketInputStream.read(SocketInputStream.java:141) ~[?:1.8.0_241]
at java.io.BufferedInputStream.fill(BufferedInputStream.java:246) ~[?:1.8.0_241]
at java.io.BufferedInputStream.read(BufferedInputStream.java:265) ~[?:1.8.0_241]
at java.io.DataInputStream.readUnsignedByte(DataInputStream.java:288) ~[?:1.8.0_241]
at com.rabbitmq.client.impl.Frame.readFrom(Frame.java:91) ~[amqp-client-5.10.0.jar:5.10.0]
at com.rabbitmq.client.impl.SocketFrameHandler.readFrame(SocketFrameHandler.java:184) ~[amqp-client-5.10.0.jar:5.10.0]
at com.rabbitmq.client.impl.AMQConnection$MainLoop.run(AMQConnection.java:665) [amqp-client-5.10.0.jar:5.10.0]
at java.lang.Thread.run(Thread.java:748) [?:1.8.0_241]
2021-09-01 17:07:22 [traceId:] [ ERROR ] [ org.springframework.amqp.rabbit.listener.SimpleMessageListenerContainer ] Failed to check/redeclare auto-delete queue(s).
org.springframework.amqp.AmqpAuthenticationException: com.rabbitmq.client.AuthenticationFailureException: ACCESS_REFUSED - Login was refused using authentication mechanism PLAIN. For details see the broker logfile.
at org.springframework.amqp.rabbit.support.RabbitExceptionTranslator.convertRabbitAccessException(RabbitExceptionTranslator.java:64) ~[spring-rabbit-2.3.5.jar:2.3.5]
at org.springframework.amqp.rabbit.connection.AbstractConnectionFactory.createBareConnection(AbstractConnectionFactory.java:602) ~[spring-rabbit-2.3.5.jar:2.3.5]
at org.springframework.amqp.rabbit.connection.CachingConnectionFactory.createConnection(CachingConnectionFactory.java:724) ~[spring-rabbit-2.3.5.jar:2.3.5]
at org.springframework.amqp.rabbit.connection.ConnectionFactoryUtils.createConnection(ConnectionFactoryUtils.java:214) ~[spring-rabbit-2.3.5.jar:2.3.5]
at org.springframework.amqp.rabbit.core.RabbitTemplate.doExecute(RabbitTemplate.java:2132) ~[spring-rabbit-2.3.5.jar:2.3.5]
at org.springframework.amqp.rabbit.core.RabbitTemplate.execute(RabbitTemplate.java:2105) ~[spring-rabbit-2.3.5.jar:2.3.5]
at org.springframework.amqp.rabbit.core.RabbitTemplate.execute(RabbitTemplate.java:2085) ~[spring-rabbit-2.3.5.jar:2.3.5]
at org.springframework.amqp.rabbit.core.RabbitAdmin.getQueueInfo(RabbitAdmin.java:407) ~[spring-rabbit-2.3.5.jar:2.3.5]
at org.springframework.amqp.rabbit.core.RabbitAdmin.getQueueProperties(RabbitAdmin.java:391) ~[spring-rabbit-2.3.5.jar:2.3.5]
at org.springframework.amqp.rabbit.listener.AbstractMessageListenerContainer.attemptDeclarations(AbstractMessageListenerContainer.java:1890) ~[spring-rabbit-2.3.5.jar:2.3.5]
at org.springframework.amqp.rabbit.listener.AbstractMessageListenerContainer.redeclareElementsIfNecessary(AbstractMessageListenerContainer.java:1871) [spring-rabbit-2.3.5.jar:2.3.5]
at org.springframework.amqp.rabbit.listener.SimpleMessageListenerContainer$AsyncMessageProcessingConsumer.initialize(SimpleMessageListenerContainer.java:1346) [spring-rabbit-2.3.5.jar:2.3.5]
at org.springframework.amqp.rabbit.listener.SimpleMessageListenerContainer$AsyncMessageProcessingConsumer.run(SimpleMessageListenerContainer.java:1192) [spring-rabbit-2.3.5.jar:2.3.5]
at java.lang.Thread.run(Thread.java:748) [?:1.8.0_241]
Caused by: com.rabbitmq.client.AuthenticationFailureException: ACCESS_REFUSED - Login was refused using authentication mechanism PLAIN. For details see the broker logfile.
at com.rabbitmq.client.impl.AMQConnection.start(AMQConnection.java:385) ~[amqp-client-5.10.0.jar:5.10.0]
at com.rabbitmq.client.ConnectionFactory.newConnection(ConnectionFactory.java:1139) ~[amqp-client-5.10.0.jar:5.10.0]
at com.rabbitmq.client.ConnectionFactory.newConnection(ConnectionFactory.java:1087) ~[amqp-client-5.10.0.jar:5.10.0]
at org.springframework.amqp.rabbit.connection.AbstractConnectionFactory.connectAddresses(AbstractConnectionFactory.java:638) ~[spring-rabbit-2.3.5.jar:2.3.5]
at org.springframework.amqp.rabbit.connection.AbstractConnectionFactory.connect(AbstractConnectionFactory.java:613) ~[spring-rabbit-2.3.5.jar:2.3.5]
at org.springframework.amqp.rabbit.connection.AbstractConnectionFactory.createBareConnection(AbstractConnectionFactory.java:565) ~[spring-rabbit-2.3.5.jar:2.3.5]
... 12 more
2021-09-01 17:07:22 [traceId:] [ ERROR ] [ com.rabbitmq.client.impl.ForgivingExceptionHandler ] An unexpected connection driver error occured
java.net.SocketException: socket closed
at java.net.SocketInputStream.socketRead0(Native Method) ~[?:1.8.0_241]
at java.net.SocketInputStream.socketRead(SocketInputStream.java:116) ~[?:1.8.0_241]
at java.net.SocketInputStream.read(SocketInputStream.java:171) ~[?:1.8.0_241]
at java.net.SocketInputStream.read(SocketInputStream.java:141) ~[?:1.8.0_241]
at java.io.BufferedInputStream.fill(BufferedInputStream.java:246) ~[?:1.8.0_241]
at java.io.BufferedInputStream.read(BufferedInputStream.java:265) ~[?:1.8.0_241]
at java.io.DataInputStream.readUnsignedByte(DataInputStream.java:288) ~[?:1.8.0_241]
at com.rabbitmq.client.impl.Frame.readFrom(Frame.java:91) ~[amqp-client-5.10.0.jar:5.10.0]
at com.rabbitmq.client.impl.SocketFrameHandler.readFrame(SocketFrameHandler.java:184) ~[amqp-client-5.10.0.jar:5.10.0]
at com.rabbitmq.client.impl.AMQConnection$MainLoop.run(AMQConnection.java:665) [amqp-client-5.10.0.jar:5.10.0]
at java.lang.Thread.run(Thread.java:748) [?:1.8.0_241]
2021-09-01 17:07:22 [traceId:] [ ERROR ] [ org.springframework.amqp.rabbit.listener.SimpleMessageListenerContainer ] Consumer received fatal exception on startup
org.springframework.amqp.rabbit.listener.exception.FatalListenerStartupException: Authentication failure
at org.springframework.amqp.rabbit.listener.BlockingQueueConsumer.start(BlockingQueueConsumer.java:590) ~[spring-rabbit-2.3.5.jar:2.3.5]
at org.springframework.amqp.rabbit.listener.SimpleMessageListenerContainer$AsyncMessageProcessingConsumer.initialize(SimpleMessageListenerContainer.java:1347) ~[spring-rabbit-2.3.5.jar:2.3.5]
at org.springframework.amqp.rabbit.listener.SimpleMessageListenerContainer$AsyncMessageProcessingConsumer.run(SimpleMessageListenerContainer.java:1192) [spring-rabbit-2.3.5.jar:2.3.5]
at java.lang.Thread.run(Thread.java:748) [?:1.8.0_241]
Caused by: org.springframework.amqp.AmqpAuthenticationException: com.rabbitmq.client.AuthenticationFailureException: ACCESS_REFUSED - Login was refused using authentication mechanism PLAIN. For details see the broker logfile.
at org.springframework.amqp.rabbit.support.RabbitExceptionTranslator.convertRabbitAccessException(RabbitExceptionTranslator.java:64) ~[spring-rabbit-2.3.5.jar:2.3.5]
at org.springframework.amqp.rabbit.connection.AbstractConnectionFactory.createBareConnection(AbstractConnectionFactory.java:602) ~[spring-rabbit-2.3.5.jar:2.3.5]
at org.springframework.amqp.rabbit.connection.CachingConnectionFactory.createConnection(CachingConnectionFactory.java:724) ~[spring-rabbit-2.3.5.jar:2.3.5]
at org.springframework.amqp.rabbit.connection.ConnectionFactoryUtils.createConnection(ConnectionFactoryUtils.java:214) ~[spring-rabbit-2.3.5.jar:2.3.5]
at org.springframework.amqp.rabbit.connection.ConnectionFactoryUtils$RabbitResourceFactory.createConnection(ConnectionFactoryUtils.java:293) ~[spring-rabbit-2.3.5.jar:2.3.5]
at org.springframework.amqp.rabbit.connection.ConnectionFactoryUtils.doGetTransactionalResourceHolder(ConnectionFactoryUtils.java:130) ~[spring-rabbit-2.3.5.jar:2.3.5]
at org.springframework.amqp.rabbit.connection.ConnectionFactoryUtils.getTransactionalResourceHolder(ConnectionFactoryUtils.java:92) ~[spring-rabbit-2.3.5.jar:2.3.5]
at org.springframework.amqp.rabbit.connection.ConnectionFactoryUtils.getTransactionalResourceHolder(ConnectionFactoryUtils.java:75) ~[spring-rabbit-2.3.5.jar:2.3.5]
at org.springframework.amqp.rabbit.listener.BlockingQueueConsumer.start(BlockingQueueConsumer.java:584) ~[spring-rabbit-2.3.5.jar:2.3.5]
... 3 more
Caused by: com.rabbitmq.client.AuthenticationFailureException: ACCESS_REFUSED - Login was refused using authentication mechanism PLAIN. For details see the broker logfile.
at com.rabbitmq.client.impl.AMQConnection.start(AMQConnection.java:385) ~[amqp-client-5.10.0.jar:5.10.0]
at com.rabbitmq.client.ConnectionFactory.newConnection(ConnectionFactory.java:1139) ~[amqp-client-5.10.0.jar:5.10.0]
at com.rabbitmq.client.ConnectionFactory.newConnection(ConnectionFactory.java:1087) ~[amqp-client-5.10.0.jar:5.10.0]
at org.springframework.amqp.rabbit.connection.AbstractConnectionFactory.connectAddresses(AbstractConnectionFactory.java:638) ~[spring-rabbit-2.3.5.jar:2.3.5]
at org.springframework.amqp.rabbit.connection.AbstractConnectionFactory.connect(AbstractConnectionFactory.java:613) ~[spring-rabbit-2.3.5.jar:2.3.5]
at org.springframework.amqp.rabbit.connection.AbstractConnectionFactory.createBareConnection(AbstractConnectionFactory.java:565) ~[spring-rabbit-2.3.5.jar:2.3.5]
at org.springframework.amqp.rabbit.connection.CachingConnectionFactory.createConnection(CachingConnectionFactory.java:724) ~[spring-rabbit-2.3.5.jar:2.3.5]
at org.springframework.amqp.rabbit.connection.ConnectionFactoryUtils.createConnection(ConnectionFactoryUtils.java:214) ~[spring-rabbit-2.3.5.jar:2.3.5]
at org.springframework.amqp.rabbit.connection.ConnectionFactoryUtils$RabbitResourceFactory.createConnection(ConnectionFactoryUtils.java:293) ~[spring-rabbit-2.3.5.jar:2.3.5]
at org.springframework.amqp.rabbit.connection.ConnectionFactoryUtils.doGetTransactionalResourceHolder(ConnectionFactoryUtils.java:130) ~[spring-rabbit-2.3.5.jar:2.3.5]
at org.springframework.amqp.rabbit.connection.ConnectionFactoryUtils.getTransactionalResourceHolder(ConnectionFactoryUtils.java:92) ~[spring-rabbit-2.3.5.jar:2.3.5]
at org.springframework.amqp.rabbit.connection.ConnectionFactoryUtils.getTransactionalResourceHolder(ConnectionFactoryUtils.java:75) ~[spring-rabbit-2.3.5.jar:2.3.5]
at org.springframework.amqp.rabbit.listener.BlockingQueueConsumer.start(BlockingQueueConsumer.java:584) ~[spring-rabbit-2.3.5.jar:2.3.5]
... 3 more
2021-09-01 17:07:22 [traceId:] [ ERROR ] [ org.springframework.amqp.rabbit.listener.SimpleMessageListenerContainer ] Stopping container from aborted consumer
2021-09-01 17:07:22 [traceId:] [ WARN ] [ org.springframework.boot.web.servlet.context.AnnotationConfigServletWebServerApplicationContext ] Exception encountered during context initialization - cancelling refresh attempt: org.springframework.context.ApplicationContextException: Failed to start bean 'org.springframework.amqp.rabbit.config.internalRabbitListenerEndpointRegistry'; nested exception is org.springframework.amqp.AmqpIllegalStateException: Fatal exception on listener startup
2021-09-01 17:07:23 [traceId:] [ ERROR ] [ org.springframework.boot.SpringApplication ] Application run failed
org.springframework.context.ApplicationContextException: Failed to start bean 'org.springframework.amqp.rabbit.config.internalRabbitListenerEndpointRegistry'; nested exception is org.springframework.amqp.AmqpIllegalStateException: Fatal exception on listener startup
at org.springframework.context.support.DefaultLifecycleProcessor.doStart(DefaultLifecycleProcessor.java:181) ~[spring-context-5.3.4.jar:5.3.4]
at org.springframework.context.support.DefaultLifecycleProcessor.access$200(DefaultLifecycleProcessor.java:54) ~[spring-context-5.3.4.jar:5.3.4]
at org.springframework.context.support.DefaultLifecycleProcessor$LifecycleGroup.start(DefaultLifecycleProcessor.java:356) ~[spring-context-5.3.4.jar:5.3.4]
at java.lang.Iterable.forEach(Iterable.java:75) ~[?:1.8.0_241]
at org.springframework.context.support.DefaultLifecycleProcessor.startBeans(DefaultLifecycleProcessor.java:155) ~[spring-context-5.3.4.jar:5.3.4]
at org.springframework.context.support.DefaultLifecycleProcessor.onRefresh(DefaultLifecycleProcessor.java:123) ~[spring-context-5.3.4.jar:5.3.4]
at org.springframework.context.support.AbstractApplicationContext.finishRefresh(AbstractApplicationContext.java:934) ~[spring-context-5.3.4.jar:5.3.4]
at org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:585) ~[spring-context-5.3.4.jar:5.3.4]
at org.springframework.boot.web.servlet.context.ServletWebServerApplicationContext.refresh(ServletWebServerApplicationContext.java:144) ~[spring-boot-2.4.3.jar:2.4.3]
at org.springframework.boot.SpringApplication.refresh(SpringApplication.java:767) ~[spring-boot-2.4.3.jar:2.4.3]
at org.springframework.boot.SpringApplication.refresh(SpringApplication.java:759) [spring-boot-2.4.3.jar:2.4.3]
at org.springframework.boot.SpringApplication.refreshContext(SpringApplication.java:426) [spring-boot-2.4.3.jar:2.4.3]
at org.springframework.boot.SpringApplication.run(SpringApplication.java:326) [spring-boot-2.4.3.jar:2.4.3]
at org.springframework.boot.SpringApplication.run(SpringApplication.java:1311) [spring-boot-2.4.3.jar:2.4.3]
at org.springframework.boot.SpringApplication.run(SpringApplication.java:1300) [spring-boot-2.4.3.jar:2.4.3]
at com.ruwii.es.EsApplication.main(EsApplication.java:25) [classes/:?]
Caused by: org.springframework.amqp.AmqpIllegalStateException: Fatal exception on listener startup
at org.springframework.amqp.rabbit.listener.SimpleMessageListenerContainer.waitForConsumersToStart(SimpleMessageListenerContainer.java:601) ~[spring-rabbit-2.3.5.jar:2.3.5]
at org.springframework.amqp.rabbit.listener.SimpleMessageListenerContainer.doStart(SimpleMessageListenerContainer.java:562) ~[spring-rabbit-2.3.5.jar:2.3.5]
at org.springframework.amqp.rabbit.listener.AbstractMessageListenerContainer.start(AbstractMessageListenerContainer.java:1354) ~[spring-rabbit-2.3.5.jar:2.3.5]
at org.springframework.amqp.rabbit.listener.RabbitListenerEndpointRegistry.startIfNecessary(RabbitListenerEndpointRegistry.java:299) ~[spring-rabbit-2.3.5.jar:2.3.5]
at org.springframework.amqp.rabbit.listener.RabbitListenerEndpointRegistry.start(RabbitListenerEndpointRegistry.java:249) ~[spring-rabbit-2.3.5.jar:2.3.5]
at org.springframework.context.support.DefaultLifecycleProcessor.doStart(DefaultLifecycleProcessor.java:178) ~[spring-context-5.3.4.jar:5.3.4]
... 15 more
Caused by: org.springframework.amqp.rabbit.listener.exception.FatalListenerStartupException: Authentication failure
at org.springframework.amqp.rabbit.listener.BlockingQueueConsumer.start(BlockingQueueConsumer.java:590) ~[spring-rabbit-2.3.5.jar:2.3.5]
at org.springframework.amqp.rabbit.listener.SimpleMessageListenerContainer$AsyncMessageProcessingConsumer.initialize(SimpleMessageListenerContainer.java:1347) ~[spring-rabbit-2.3.5.jar:2.3.5]
at org.springframework.amqp.rabbit.listener.SimpleMessageListenerContainer$AsyncMessageProcessingConsumer.run(SimpleMessageListenerContainer.java:1192) ~[spring-rabbit-2.3.5.jar:2.3.5]
at java.lang.Thread.run(Thread.java:748) ~[?:1.8.0_241]
Caused by: org.springframework.amqp.AmqpAuthenticationException: com.rabbitmq.client.AuthenticationFailureException: ACCESS_REFUSED - Login was refused using authentication mechanism PLAIN. For details see the broker logfile.
at org.springframework.amqp.rabbit.support.RabbitExceptionTranslator.convertRabbitAccessException(RabbitExceptionTranslator.java:64) ~[spring-rabbit-2.3.5.jar:2.3.5]
at org.springframework.amqp.rabbit.connection.AbstractConnectionFactory.createBareConnection(AbstractConnectionFactory.java:602) ~[spring-rabbit-2.3.5.jar:2.3.5]
at org.springframework.amqp.rabbit.connection.CachingConnectionFactory.createConnection(CachingConnectionFactory.java:724) ~[spring-rabbit-2.3.5.jar:2.3.5]
at org.springframework.amqp.rabbit.connection.ConnectionFactoryUtils.createConnection(ConnectionFactoryUtils.java:214) ~[spring-rabbit-2.3.5.jar:2.3.5]
at org.springframework.amqp.rabbit.connection.ConnectionFactoryUtils$RabbitResourceFactory.createConnection(ConnectionFactoryUtils.java:293) ~[spring-rabbit-2.3.5.jar:2.3.5]
at org.springframework.amqp.rabbit.connection.ConnectionFactoryUtils.doGetTransactionalResourceHolder(ConnectionFactoryUtils.java:130) ~[spring-rabbit-2.3.5.jar:2.3.5]
at org.springframework.amqp.rabbit.connection.ConnectionFactoryUtils.getTransactionalResourceHolder(ConnectionFactoryUtils.java:92) ~[spring-rabbit-2.3.5.jar:2.3.5]
at org.springframework.amqp.rabbit.connection.ConnectionFactoryUtils.getTransactionalResourceHolder(ConnectionFactoryUtils.java:75) ~[spring-rabbit-2.3.5.jar:2.3.5]
at org.springframework.amqp.rabbit.listener.BlockingQueueConsumer.start(BlockingQueueConsumer.java:584) ~[spring-rabbit-2.3.5.jar:2.3.5]
at org.springframework.amqp.rabbit.listener.SimpleMessageListenerContainer$AsyncMessageProcessingConsumer.initialize(SimpleMessageListenerContainer.java:1347) ~[spring-rabbit-2.3.5.jar:2.3.5]
at org.springframework.amqp.rabbit.listener.SimpleMessageListenerContainer$AsyncMessageProcessingConsumer.run(SimpleMessageListenerContainer.java:1192) ~[spring-rabbit-2.3.5.jar:2.3.5]
at java.lang.Thread.run(Thread.java:748) ~[?:1.8.0_241]
Caused by: com.rabbitmq.client.AuthenticationFailureException: ACCESS_REFUSED - Login was refused using authentication mechanism PLAIN. For details see the broker logfile.
at com.rabbitmq.client.impl.AMQConnection.start(AMQConnection.java:385) ~[amqp-client-5.10.0.jar:5.10.0]
at com.rabbitmq.client.ConnectionFactory.newConnection(ConnectionFactory.java:1139) ~[amqp-client-5.10.0.jar:5.10.0]
at com.rabbitmq.client.ConnectionFactory.newConnection(ConnectionFactory.java:1087) ~[amqp-client-5.10.0.jar:5.10.0]
at org.springframework.amqp.rabbit.connection.AbstractConnectionFactory.connectAddresses(AbstractConnectionFactory.java:638) ~[spring-rabbit-2.3.5.jar:2.3.5]
at org.springframework.amqp.rabbit.connection.AbstractConnectionFactory.connect(AbstractConnectionFactory.java:613) ~[spring-rabbit-2.3.5.jar:2.3.5]
at org.springframework.amqp.rabbit.connection.AbstractConnectionFactory.createBareConnection(AbstractConnectionFactory.java:565) ~[spring-rabbit-2.3.5.jar:2.3.5]
at org.springframework.amqp.rabbit.connection.CachingConnectionFactory.createConnection(CachingConnectionFactory.java:724) ~[spring-rabbit-2.3.5.jar:2.3.5]
at org.springframework.amqp.rabbit.connection.ConnectionFactoryUtils.createConnection(ConnectionFactoryUtils.java:214) ~[spring-rabbit-2.3.5.jar:2.3.5]
at org.springframework.amqp.rabbit.connection.ConnectionFactoryUtils$RabbitResourceFactory.createConnection(ConnectionFactoryUtils.java:293) ~[spring-rabbit-2.3.5.jar:2.3.5]
at org.springframework.amqp.rabbit.connection.ConnectionFactoryUtils.doGetTransactionalResourceHolder(ConnectionFactoryUtils.java:130) ~[spring-rabbit-2.3.5.jar:2.3.5]
at org.springframework.amqp.rabbit.connection.ConnectionFactoryUtils.getTransactionalResourceHolder(ConnectionFactoryUtils.java:92) ~[spring-rabbit-2.3.5.jar:2.3.5]
at org.springframework.amqp.rabbit.connection.ConnectionFactoryUtils.getTransactionalResourceHolder(ConnectionFactoryUtils.java:75) ~[spring-rabbit-2.3.5.jar:2.3.5]
at org.springframework.amqp.rabbit.listener.BlockingQueueConsumer.start(BlockingQueueConsumer.java:584) ~[spring-rabbit-2.3.5.jar:2.3.5]
at org.springframework.amqp.rabbit.listener.SimpleMessageListenerContainer$AsyncMessageProcessingConsumer.initialize(SimpleMessageListenerContainer.java:1347) ~[spring-rabbit-2.3.5.jar:2.3.5]
at org.springframework.amqp.rabbit.listener.SimpleMessageListenerContainer$AsyncMessageProcessingConsumer.run(SimpleMessageListenerContainer.java:1192) ~[spring-rabbit-2.3.5.jar:2.3.5]
at java.lang.Thread.run(Thread.java:748) ~[?:1.8.0_241]

View File

@ -0,0 +1,45 @@
2021-09-02 16:48:53 [traceId:] [ WARN ] [ org.springframework.boot.web.servlet.context.AnnotationConfigServletWebServerApplicationContext ] Exception encountered during context initialization - cancelling refresh attempt: org.springframework.context.ApplicationContextException: Failed to start bean 'webServerStartStop'; nested exception is org.springframework.boot.web.server.PortInUseException: Port 8110 is already in use
2021-09-02 16:48:53 [traceId:] [ ERROR ] [ org.springframework.boot.diagnostics.LoggingFailureAnalysisReporter ]
***************************
APPLICATION FAILED TO START
***************************
Description:
Web server failed to start. Port 8110 was already in use.
Action:
Identify and stop the process that's listening on port 8110 or configure this application to listen on another port.
2021-09-02 16:49:24 [traceId:] [ WARN ] [ org.springframework.boot.web.servlet.context.AnnotationConfigServletWebServerApplicationContext ] Exception encountered during context initialization - cancelling refresh attempt: org.springframework.context.ApplicationContextException: Failed to start bean 'webServerStartStop'; nested exception is org.springframework.boot.web.server.PortInUseException: Port 8110 is already in use
2021-09-02 16:49:24 [traceId:] [ ERROR ] [ org.springframework.boot.diagnostics.LoggingFailureAnalysisReporter ]
***************************
APPLICATION FAILED TO START
***************************
Description:
Web server failed to start. Port 8110 was already in use.
Action:
Identify and stop the process that's listening on port 8110 or configure this application to listen on another port.
2021-09-02 17:35:58 [traceId:] [ WARN ] [ org.springframework.boot.web.servlet.context.AnnotationConfigServletWebServerApplicationContext ] Exception encountered during context initialization - cancelling refresh attempt: org.springframework.context.ApplicationContextException: Failed to start bean 'webServerStartStop'; nested exception is org.springframework.boot.web.server.PortInUseException: Port 8110 is already in use
2021-09-02 17:35:58 [traceId:] [ ERROR ] [ org.springframework.boot.diagnostics.LoggingFailureAnalysisReporter ]
***************************
APPLICATION FAILED TO START
***************************
Description:
Web server failed to start. Port 8110 was already in use.
Action:
Identify and stop the process that's listening on port 8110 or configure this application to listen on another port.

File diff suppressed because it is too large Load Diff

View File

@ -0,0 +1,863 @@
2022-01-10 09:17:59 [traceId:ad5d02e5a21a4d24baebe5c55f486fa0] [ ERROR ] [ com.ruwii.es.service.rabbitmq.MQConsumerService ] com.ruwii.es.service.rabbitmq.MQConsumerService@380ce5a3
java.net.ConnectException: Timeout connecting to [/192.168.1.180:9200]
at org.elasticsearch.client.RestClient.extractAndWrapCause(RestClient.java:849) ~[elasticsearch-rest-client-7.9.3.jar:7.9.1]
at org.elasticsearch.client.RestClient.performRequest(RestClient.java:259) ~[elasticsearch-rest-client-7.9.3.jar:7.9.1]
at org.elasticsearch.client.RestClient.performRequest(RestClient.java:246) ~[elasticsearch-rest-client-7.9.3.jar:7.9.1]
at org.elasticsearch.client.RestHighLevelClient.internalPerformRequest(RestHighLevelClient.java:1613) ~[elasticsearch-rest-high-level-client-7.9.1.jar:7.9.1]
at org.elasticsearch.client.RestHighLevelClient.performRequest(RestHighLevelClient.java:1583) ~[elasticsearch-rest-high-level-client-7.9.1.jar:7.9.1]
at org.elasticsearch.client.RestHighLevelClient.performRequestAndParseEntity(RestHighLevelClient.java:1553) ~[elasticsearch-rest-high-level-client-7.9.1.jar:7.9.1]
at org.elasticsearch.client.RestHighLevelClient.bulk(RestHighLevelClient.java:533) ~[elasticsearch-rest-high-level-client-7.9.1.jar:7.9.1]
at com.ruwii.es.config.EsTemplate.bulkUpdate(EsTemplate.java:139) ~[classes/:?]
at com.ruwii.es.service.es.impl.EsGoodsMixMessageServiceImpl.syncGoodsMessage(EsGoodsMixMessageServiceImpl.java:370) ~[classes/:?]
at com.ruwii.es.service.rabbitmq.MQConsumerService.onGoodsmessage(MQConsumerService.java:73) ~[classes/:?]
at com.ruwii.es.service.rabbitmq.MQConsumerService$$FastClassBySpringCGLIB$$b57d805d.invoke(<generated>) ~[classes/:?]
at org.springframework.cglib.proxy.MethodProxy.invoke(MethodProxy.java:218) ~[spring-core-5.3.4.jar:5.3.4]
at org.springframework.aop.framework.CglibAopProxy$CglibMethodInvocation.invokeJoinpoint(CglibAopProxy.java:779) ~[spring-aop-5.3.4.jar:5.3.4]
at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:163) ~[spring-aop-5.3.4.jar:5.3.4]
at org.springframework.aop.framework.CglibAopProxy$CglibMethodInvocation.proceed(CglibAopProxy.java:750) ~[spring-aop-5.3.4.jar:5.3.4]
at org.springframework.aop.framework.adapter.AfterReturningAdviceInterceptor.invoke(AfterReturningAdviceInterceptor.java:57) ~[spring-aop-5.3.4.jar:5.3.4]
at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:186) ~[spring-aop-5.3.4.jar:5.3.4]
at org.springframework.aop.framework.CglibAopProxy$CglibMethodInvocation.proceed(CglibAopProxy.java:750) ~[spring-aop-5.3.4.jar:5.3.4]
at org.springframework.aop.framework.adapter.MethodBeforeAdviceInterceptor.invoke(MethodBeforeAdviceInterceptor.java:58) ~[spring-aop-5.3.4.jar:5.3.4]
at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:186) ~[spring-aop-5.3.4.jar:5.3.4]
at org.springframework.aop.framework.CglibAopProxy$CglibMethodInvocation.proceed(CglibAopProxy.java:750) ~[spring-aop-5.3.4.jar:5.3.4]
at org.springframework.aop.interceptor.ExposeInvocationInterceptor.invoke(ExposeInvocationInterceptor.java:97) ~[spring-aop-5.3.4.jar:5.3.4]
at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:186) ~[spring-aop-5.3.4.jar:5.3.4]
at org.springframework.aop.framework.CglibAopProxy$CglibMethodInvocation.proceed(CglibAopProxy.java:750) ~[spring-aop-5.3.4.jar:5.3.4]
at org.springframework.aop.framework.CglibAopProxy$DynamicAdvisedInterceptor.intercept(CglibAopProxy.java:692) ~[spring-aop-5.3.4.jar:5.3.4]
at com.ruwii.es.service.rabbitmq.MQConsumerService$$EnhancerBySpringCGLIB$$9b4799d8.onGoodsmessage(<generated>) ~[classes/:?]
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) ~[?:1.8.0_241]
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) ~[?:1.8.0_241]
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) ~[?:1.8.0_241]
at java.lang.reflect.Method.invoke(Method.java:498) ~[?:1.8.0_241]
at org.springframework.messaging.handler.invocation.InvocableHandlerMethod.doInvoke(InvocableHandlerMethod.java:171) ~[spring-messaging-5.3.4.jar:5.3.4]
at org.springframework.messaging.handler.invocation.InvocableHandlerMethod.invoke(InvocableHandlerMethod.java:120) ~[spring-messaging-5.3.4.jar:5.3.4]
at org.springframework.amqp.rabbit.listener.adapter.HandlerAdapter.invoke(HandlerAdapter.java:53) ~[spring-rabbit-2.3.5.jar:2.3.5]
at org.springframework.amqp.rabbit.listener.adapter.MessagingMessageListenerAdapter.invokeHandler(MessagingMessageListenerAdapter.java:222) ~[spring-rabbit-2.3.5.jar:2.3.5]
at org.springframework.amqp.rabbit.listener.adapter.MessagingMessageListenerAdapter.invokeHandlerAndProcessResult(MessagingMessageListenerAdapter.java:150) ~[spring-rabbit-2.3.5.jar:2.3.5]
at org.springframework.amqp.rabbit.listener.adapter.MessagingMessageListenerAdapter.onMessage(MessagingMessageListenerAdapter.java:135) ~[spring-rabbit-2.3.5.jar:2.3.5]
at org.springframework.amqp.rabbit.listener.AbstractMessageListenerContainer.doInvokeListener(AbstractMessageListenerContainer.java:1632) ~[spring-rabbit-2.3.5.jar:2.3.5]
at org.springframework.amqp.rabbit.listener.AbstractMessageListenerContainer.actualInvokeListener(AbstractMessageListenerContainer.java:1551) ~[spring-rabbit-2.3.5.jar:2.3.5]
at org.springframework.amqp.rabbit.listener.AbstractMessageListenerContainer.invokeListener(AbstractMessageListenerContainer.java:1539) [spring-rabbit-2.3.5.jar:2.3.5]
at org.springframework.amqp.rabbit.listener.AbstractMessageListenerContainer.doExecuteListener(AbstractMessageListenerContainer.java:1530) [spring-rabbit-2.3.5.jar:2.3.5]
at org.springframework.amqp.rabbit.listener.AbstractMessageListenerContainer.executeListener(AbstractMessageListenerContainer.java:1474) [spring-rabbit-2.3.5.jar:2.3.5]
at org.springframework.amqp.rabbit.listener.SimpleMessageListenerContainer.doReceiveAndExecute(SimpleMessageListenerContainer.java:967) [spring-rabbit-2.3.5.jar:2.3.5]
at org.springframework.amqp.rabbit.listener.SimpleMessageListenerContainer.receiveAndExecute(SimpleMessageListenerContainer.java:913) [spring-rabbit-2.3.5.jar:2.3.5]
at org.springframework.amqp.rabbit.listener.SimpleMessageListenerContainer.access$1600(SimpleMessageListenerContainer.java:83) [spring-rabbit-2.3.5.jar:2.3.5]
at org.springframework.amqp.rabbit.listener.SimpleMessageListenerContainer$AsyncMessageProcessingConsumer.mainLoop(SimpleMessageListenerContainer.java:1288) [spring-rabbit-2.3.5.jar:2.3.5]
at org.springframework.amqp.rabbit.listener.SimpleMessageListenerContainer$AsyncMessageProcessingConsumer.run(SimpleMessageListenerContainer.java:1194) [spring-rabbit-2.3.5.jar:2.3.5]
at java.lang.Thread.run(Thread.java:748) [?:1.8.0_241]
Caused by: java.net.ConnectException: Timeout connecting to [/192.168.1.180:9200]
at org.apache.http.nio.pool.RouteSpecificPool.timeout(RouteSpecificPool.java:169) ~[httpcore-nio-4.4.14.jar:4.4.14]
at org.apache.http.nio.pool.AbstractNIOConnPool.requestTimeout(AbstractNIOConnPool.java:632) ~[httpcore-nio-4.4.14.jar:4.4.14]
at org.apache.http.nio.pool.AbstractNIOConnPool$InternalSessionRequestCallback.timeout(AbstractNIOConnPool.java:898) ~[httpcore-nio-4.4.14.jar:4.4.14]
at org.apache.http.impl.nio.reactor.SessionRequestImpl.timeout(SessionRequestImpl.java:198) ~[httpcore-nio-4.4.14.jar:4.4.14]
at org.apache.http.impl.nio.reactor.DefaultConnectingIOReactor.processTimeouts(DefaultConnectingIOReactor.java:213) ~[httpcore-nio-4.4.14.jar:4.4.14]
at org.apache.http.impl.nio.reactor.DefaultConnectingIOReactor.processEvents(DefaultConnectingIOReactor.java:158) ~[httpcore-nio-4.4.14.jar:4.4.14]
at org.apache.http.impl.nio.reactor.AbstractMultiworkerIOReactor.execute(AbstractMultiworkerIOReactor.java:351) ~[httpcore-nio-4.4.14.jar:4.4.14]
at org.apache.http.impl.nio.conn.PoolingNHttpClientConnectionManager.execute(PoolingNHttpClientConnectionManager.java:221) ~[httpasyncclient-4.1.4.jar:4.1.4]
at org.apache.http.impl.nio.client.CloseableHttpAsyncClientBase$1.run(CloseableHttpAsyncClientBase.java:64) ~[httpasyncclient-4.1.4.jar:4.1.4]
... 1 more
2022-01-10 09:18:01 [traceId:04f9f0e679e040edbd3296295099b93b] [ ERROR ] [ com.ruwii.es.service.rabbitmq.MQConsumerService ] com.ruwii.es.service.rabbitmq.MQConsumerService@380ce5a3
java.net.ConnectException: Timeout connecting to [/192.168.1.180:9200]
at org.elasticsearch.client.RestClient.extractAndWrapCause(RestClient.java:849) ~[elasticsearch-rest-client-7.9.3.jar:7.9.1]
at org.elasticsearch.client.RestClient.performRequest(RestClient.java:259) ~[elasticsearch-rest-client-7.9.3.jar:7.9.1]
at org.elasticsearch.client.RestClient.performRequest(RestClient.java:246) ~[elasticsearch-rest-client-7.9.3.jar:7.9.1]
at org.elasticsearch.client.RestHighLevelClient.internalPerformRequest(RestHighLevelClient.java:1613) ~[elasticsearch-rest-high-level-client-7.9.1.jar:7.9.1]
at org.elasticsearch.client.RestHighLevelClient.performRequest(RestHighLevelClient.java:1583) ~[elasticsearch-rest-high-level-client-7.9.1.jar:7.9.1]
at org.elasticsearch.client.RestHighLevelClient.performRequestAndParseEntity(RestHighLevelClient.java:1553) ~[elasticsearch-rest-high-level-client-7.9.1.jar:7.9.1]
at org.elasticsearch.client.RestHighLevelClient.bulk(RestHighLevelClient.java:533) ~[elasticsearch-rest-high-level-client-7.9.1.jar:7.9.1]
at com.ruwii.es.config.EsTemplate.bulkUpdate(EsTemplate.java:139) ~[classes/:?]
at com.ruwii.es.service.es.impl.EsGoodsMixMessageServiceImpl.syncGoodsMessage(EsGoodsMixMessageServiceImpl.java:370) ~[classes/:?]
at com.ruwii.es.service.rabbitmq.MQConsumerService.onGoodsmessage(MQConsumerService.java:73) ~[classes/:?]
at com.ruwii.es.service.rabbitmq.MQConsumerService$$FastClassBySpringCGLIB$$b57d805d.invoke(<generated>) ~[classes/:?]
at org.springframework.cglib.proxy.MethodProxy.invoke(MethodProxy.java:218) ~[spring-core-5.3.4.jar:5.3.4]
at org.springframework.aop.framework.CglibAopProxy$CglibMethodInvocation.invokeJoinpoint(CglibAopProxy.java:779) ~[spring-aop-5.3.4.jar:5.3.4]
at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:163) ~[spring-aop-5.3.4.jar:5.3.4]
at org.springframework.aop.framework.CglibAopProxy$CglibMethodInvocation.proceed(CglibAopProxy.java:750) ~[spring-aop-5.3.4.jar:5.3.4]
at org.springframework.aop.framework.adapter.AfterReturningAdviceInterceptor.invoke(AfterReturningAdviceInterceptor.java:57) ~[spring-aop-5.3.4.jar:5.3.4]
at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:186) ~[spring-aop-5.3.4.jar:5.3.4]
at org.springframework.aop.framework.CglibAopProxy$CglibMethodInvocation.proceed(CglibAopProxy.java:750) ~[spring-aop-5.3.4.jar:5.3.4]
at org.springframework.aop.framework.adapter.MethodBeforeAdviceInterceptor.invoke(MethodBeforeAdviceInterceptor.java:58) ~[spring-aop-5.3.4.jar:5.3.4]
at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:186) ~[spring-aop-5.3.4.jar:5.3.4]
at org.springframework.aop.framework.CglibAopProxy$CglibMethodInvocation.proceed(CglibAopProxy.java:750) ~[spring-aop-5.3.4.jar:5.3.4]
at org.springframework.aop.interceptor.ExposeInvocationInterceptor.invoke(ExposeInvocationInterceptor.java:97) ~[spring-aop-5.3.4.jar:5.3.4]
at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:186) ~[spring-aop-5.3.4.jar:5.3.4]
at org.springframework.aop.framework.CglibAopProxy$CglibMethodInvocation.proceed(CglibAopProxy.java:750) ~[spring-aop-5.3.4.jar:5.3.4]
at org.springframework.aop.framework.CglibAopProxy$DynamicAdvisedInterceptor.intercept(CglibAopProxy.java:692) ~[spring-aop-5.3.4.jar:5.3.4]
at com.ruwii.es.service.rabbitmq.MQConsumerService$$EnhancerBySpringCGLIB$$9b4799d8.onGoodsmessage(<generated>) ~[classes/:?]
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) ~[?:1.8.0_241]
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) ~[?:1.8.0_241]
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) ~[?:1.8.0_241]
at java.lang.reflect.Method.invoke(Method.java:498) ~[?:1.8.0_241]
at org.springframework.messaging.handler.invocation.InvocableHandlerMethod.doInvoke(InvocableHandlerMethod.java:171) ~[spring-messaging-5.3.4.jar:5.3.4]
at org.springframework.messaging.handler.invocation.InvocableHandlerMethod.invoke(InvocableHandlerMethod.java:120) ~[spring-messaging-5.3.4.jar:5.3.4]
at org.springframework.amqp.rabbit.listener.adapter.HandlerAdapter.invoke(HandlerAdapter.java:53) ~[spring-rabbit-2.3.5.jar:2.3.5]
at org.springframework.amqp.rabbit.listener.adapter.MessagingMessageListenerAdapter.invokeHandler(MessagingMessageListenerAdapter.java:222) ~[spring-rabbit-2.3.5.jar:2.3.5]
at org.springframework.amqp.rabbit.listener.adapter.MessagingMessageListenerAdapter.invokeHandlerAndProcessResult(MessagingMessageListenerAdapter.java:150) ~[spring-rabbit-2.3.5.jar:2.3.5]
at org.springframework.amqp.rabbit.listener.adapter.MessagingMessageListenerAdapter.onMessage(MessagingMessageListenerAdapter.java:135) ~[spring-rabbit-2.3.5.jar:2.3.5]
at org.springframework.amqp.rabbit.listener.AbstractMessageListenerContainer.doInvokeListener(AbstractMessageListenerContainer.java:1632) ~[spring-rabbit-2.3.5.jar:2.3.5]
at org.springframework.amqp.rabbit.listener.AbstractMessageListenerContainer.actualInvokeListener(AbstractMessageListenerContainer.java:1551) ~[spring-rabbit-2.3.5.jar:2.3.5]
at org.springframework.amqp.rabbit.listener.AbstractMessageListenerContainer.invokeListener(AbstractMessageListenerContainer.java:1539) [spring-rabbit-2.3.5.jar:2.3.5]
at org.springframework.amqp.rabbit.listener.AbstractMessageListenerContainer.doExecuteListener(AbstractMessageListenerContainer.java:1530) [spring-rabbit-2.3.5.jar:2.3.5]
at org.springframework.amqp.rabbit.listener.AbstractMessageListenerContainer.executeListener(AbstractMessageListenerContainer.java:1474) [spring-rabbit-2.3.5.jar:2.3.5]
at org.springframework.amqp.rabbit.listener.SimpleMessageListenerContainer.doReceiveAndExecute(SimpleMessageListenerContainer.java:967) [spring-rabbit-2.3.5.jar:2.3.5]
at org.springframework.amqp.rabbit.listener.SimpleMessageListenerContainer.receiveAndExecute(SimpleMessageListenerContainer.java:913) [spring-rabbit-2.3.5.jar:2.3.5]
at org.springframework.amqp.rabbit.listener.SimpleMessageListenerContainer.access$1600(SimpleMessageListenerContainer.java:83) [spring-rabbit-2.3.5.jar:2.3.5]
at org.springframework.amqp.rabbit.listener.SimpleMessageListenerContainer$AsyncMessageProcessingConsumer.mainLoop(SimpleMessageListenerContainer.java:1288) [spring-rabbit-2.3.5.jar:2.3.5]
at org.springframework.amqp.rabbit.listener.SimpleMessageListenerContainer$AsyncMessageProcessingConsumer.run(SimpleMessageListenerContainer.java:1194) [spring-rabbit-2.3.5.jar:2.3.5]
at java.lang.Thread.run(Thread.java:748) [?:1.8.0_241]
Caused by: java.net.ConnectException: Timeout connecting to [/192.168.1.180:9200]
at org.apache.http.nio.pool.RouteSpecificPool.timeout(RouteSpecificPool.java:169) ~[httpcore-nio-4.4.14.jar:4.4.14]
at org.apache.http.nio.pool.AbstractNIOConnPool.requestTimeout(AbstractNIOConnPool.java:632) ~[httpcore-nio-4.4.14.jar:4.4.14]
at org.apache.http.nio.pool.AbstractNIOConnPool$InternalSessionRequestCallback.timeout(AbstractNIOConnPool.java:898) ~[httpcore-nio-4.4.14.jar:4.4.14]
at org.apache.http.impl.nio.reactor.SessionRequestImpl.timeout(SessionRequestImpl.java:198) ~[httpcore-nio-4.4.14.jar:4.4.14]
at org.apache.http.impl.nio.reactor.DefaultConnectingIOReactor.processTimeouts(DefaultConnectingIOReactor.java:213) ~[httpcore-nio-4.4.14.jar:4.4.14]
at org.apache.http.impl.nio.reactor.DefaultConnectingIOReactor.processEvents(DefaultConnectingIOReactor.java:158) ~[httpcore-nio-4.4.14.jar:4.4.14]
at org.apache.http.impl.nio.reactor.AbstractMultiworkerIOReactor.execute(AbstractMultiworkerIOReactor.java:351) ~[httpcore-nio-4.4.14.jar:4.4.14]
at org.apache.http.impl.nio.conn.PoolingNHttpClientConnectionManager.execute(PoolingNHttpClientConnectionManager.java:221) ~[httpasyncclient-4.1.4.jar:4.1.4]
at org.apache.http.impl.nio.client.CloseableHttpAsyncClientBase$1.run(CloseableHttpAsyncClientBase.java:64) ~[httpasyncclient-4.1.4.jar:4.1.4]
... 1 more
2022-01-10 09:18:03 [traceId:c148458681824edd9c878e495c368e53] [ ERROR ] [ com.ruwii.es.service.rabbitmq.MQConsumerService ] com.ruwii.es.service.rabbitmq.MQConsumerService@380ce5a3
java.net.ConnectException: Timeout connecting to [/192.168.1.180:9200]
at org.elasticsearch.client.RestClient.extractAndWrapCause(RestClient.java:849) ~[elasticsearch-rest-client-7.9.3.jar:7.9.1]
at org.elasticsearch.client.RestClient.performRequest(RestClient.java:259) ~[elasticsearch-rest-client-7.9.3.jar:7.9.1]
at org.elasticsearch.client.RestClient.performRequest(RestClient.java:246) ~[elasticsearch-rest-client-7.9.3.jar:7.9.1]
at org.elasticsearch.client.RestHighLevelClient.internalPerformRequest(RestHighLevelClient.java:1613) ~[elasticsearch-rest-high-level-client-7.9.1.jar:7.9.1]
at org.elasticsearch.client.RestHighLevelClient.performRequest(RestHighLevelClient.java:1583) ~[elasticsearch-rest-high-level-client-7.9.1.jar:7.9.1]
at org.elasticsearch.client.RestHighLevelClient.performRequestAndParseEntity(RestHighLevelClient.java:1553) ~[elasticsearch-rest-high-level-client-7.9.1.jar:7.9.1]
at org.elasticsearch.client.RestHighLevelClient.bulk(RestHighLevelClient.java:533) ~[elasticsearch-rest-high-level-client-7.9.1.jar:7.9.1]
at com.ruwii.es.config.EsTemplate.bulkUpdate(EsTemplate.java:139) ~[classes/:?]
at com.ruwii.es.service.es.impl.EsGoodsMixMessageServiceImpl.syncGoodsMessage(EsGoodsMixMessageServiceImpl.java:370) ~[classes/:?]
at com.ruwii.es.service.rabbitmq.MQConsumerService.onGoodsmessage(MQConsumerService.java:73) ~[classes/:?]
at com.ruwii.es.service.rabbitmq.MQConsumerService$$FastClassBySpringCGLIB$$b57d805d.invoke(<generated>) ~[classes/:?]
at org.springframework.cglib.proxy.MethodProxy.invoke(MethodProxy.java:218) ~[spring-core-5.3.4.jar:5.3.4]
at org.springframework.aop.framework.CglibAopProxy$CglibMethodInvocation.invokeJoinpoint(CglibAopProxy.java:779) ~[spring-aop-5.3.4.jar:5.3.4]
at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:163) ~[spring-aop-5.3.4.jar:5.3.4]
at org.springframework.aop.framework.CglibAopProxy$CglibMethodInvocation.proceed(CglibAopProxy.java:750) ~[spring-aop-5.3.4.jar:5.3.4]
at org.springframework.aop.framework.adapter.AfterReturningAdviceInterceptor.invoke(AfterReturningAdviceInterceptor.java:57) ~[spring-aop-5.3.4.jar:5.3.4]
at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:186) ~[spring-aop-5.3.4.jar:5.3.4]
at org.springframework.aop.framework.CglibAopProxy$CglibMethodInvocation.proceed(CglibAopProxy.java:750) ~[spring-aop-5.3.4.jar:5.3.4]
at org.springframework.aop.framework.adapter.MethodBeforeAdviceInterceptor.invoke(MethodBeforeAdviceInterceptor.java:58) ~[spring-aop-5.3.4.jar:5.3.4]
at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:186) ~[spring-aop-5.3.4.jar:5.3.4]
at org.springframework.aop.framework.CglibAopProxy$CglibMethodInvocation.proceed(CglibAopProxy.java:750) ~[spring-aop-5.3.4.jar:5.3.4]
at org.springframework.aop.interceptor.ExposeInvocationInterceptor.invoke(ExposeInvocationInterceptor.java:97) ~[spring-aop-5.3.4.jar:5.3.4]
at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:186) ~[spring-aop-5.3.4.jar:5.3.4]
at org.springframework.aop.framework.CglibAopProxy$CglibMethodInvocation.proceed(CglibAopProxy.java:750) ~[spring-aop-5.3.4.jar:5.3.4]
at org.springframework.aop.framework.CglibAopProxy$DynamicAdvisedInterceptor.intercept(CglibAopProxy.java:692) ~[spring-aop-5.3.4.jar:5.3.4]
at com.ruwii.es.service.rabbitmq.MQConsumerService$$EnhancerBySpringCGLIB$$9b4799d8.onGoodsmessage(<generated>) ~[classes/:?]
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) ~[?:1.8.0_241]
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) ~[?:1.8.0_241]
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) ~[?:1.8.0_241]
at java.lang.reflect.Method.invoke(Method.java:498) ~[?:1.8.0_241]
at org.springframework.messaging.handler.invocation.InvocableHandlerMethod.doInvoke(InvocableHandlerMethod.java:171) ~[spring-messaging-5.3.4.jar:5.3.4]
at org.springframework.messaging.handler.invocation.InvocableHandlerMethod.invoke(InvocableHandlerMethod.java:120) ~[spring-messaging-5.3.4.jar:5.3.4]
at org.springframework.amqp.rabbit.listener.adapter.HandlerAdapter.invoke(HandlerAdapter.java:53) ~[spring-rabbit-2.3.5.jar:2.3.5]
at org.springframework.amqp.rabbit.listener.adapter.MessagingMessageListenerAdapter.invokeHandler(MessagingMessageListenerAdapter.java:222) ~[spring-rabbit-2.3.5.jar:2.3.5]
at org.springframework.amqp.rabbit.listener.adapter.MessagingMessageListenerAdapter.invokeHandlerAndProcessResult(MessagingMessageListenerAdapter.java:150) ~[spring-rabbit-2.3.5.jar:2.3.5]
at org.springframework.amqp.rabbit.listener.adapter.MessagingMessageListenerAdapter.onMessage(MessagingMessageListenerAdapter.java:135) ~[spring-rabbit-2.3.5.jar:2.3.5]
at org.springframework.amqp.rabbit.listener.AbstractMessageListenerContainer.doInvokeListener(AbstractMessageListenerContainer.java:1632) ~[spring-rabbit-2.3.5.jar:2.3.5]
at org.springframework.amqp.rabbit.listener.AbstractMessageListenerContainer.actualInvokeListener(AbstractMessageListenerContainer.java:1551) ~[spring-rabbit-2.3.5.jar:2.3.5]
at org.springframework.amqp.rabbit.listener.AbstractMessageListenerContainer.invokeListener(AbstractMessageListenerContainer.java:1539) [spring-rabbit-2.3.5.jar:2.3.5]
at org.springframework.amqp.rabbit.listener.AbstractMessageListenerContainer.doExecuteListener(AbstractMessageListenerContainer.java:1530) [spring-rabbit-2.3.5.jar:2.3.5]
at org.springframework.amqp.rabbit.listener.AbstractMessageListenerContainer.executeListener(AbstractMessageListenerContainer.java:1474) [spring-rabbit-2.3.5.jar:2.3.5]
at org.springframework.amqp.rabbit.listener.SimpleMessageListenerContainer.doReceiveAndExecute(SimpleMessageListenerContainer.java:967) [spring-rabbit-2.3.5.jar:2.3.5]
at org.springframework.amqp.rabbit.listener.SimpleMessageListenerContainer.receiveAndExecute(SimpleMessageListenerContainer.java:913) [spring-rabbit-2.3.5.jar:2.3.5]
at org.springframework.amqp.rabbit.listener.SimpleMessageListenerContainer.access$1600(SimpleMessageListenerContainer.java:83) [spring-rabbit-2.3.5.jar:2.3.5]
at org.springframework.amqp.rabbit.listener.SimpleMessageListenerContainer$AsyncMessageProcessingConsumer.mainLoop(SimpleMessageListenerContainer.java:1288) [spring-rabbit-2.3.5.jar:2.3.5]
at org.springframework.amqp.rabbit.listener.SimpleMessageListenerContainer$AsyncMessageProcessingConsumer.run(SimpleMessageListenerContainer.java:1194) [spring-rabbit-2.3.5.jar:2.3.5]
at java.lang.Thread.run(Thread.java:748) [?:1.8.0_241]
Caused by: java.net.ConnectException: Timeout connecting to [/192.168.1.180:9200]
at org.apache.http.nio.pool.RouteSpecificPool.timeout(RouteSpecificPool.java:169) ~[httpcore-nio-4.4.14.jar:4.4.14]
at org.apache.http.nio.pool.AbstractNIOConnPool.requestTimeout(AbstractNIOConnPool.java:632) ~[httpcore-nio-4.4.14.jar:4.4.14]
at org.apache.http.nio.pool.AbstractNIOConnPool$InternalSessionRequestCallback.timeout(AbstractNIOConnPool.java:898) ~[httpcore-nio-4.4.14.jar:4.4.14]
at org.apache.http.impl.nio.reactor.SessionRequestImpl.timeout(SessionRequestImpl.java:198) ~[httpcore-nio-4.4.14.jar:4.4.14]
at org.apache.http.impl.nio.reactor.DefaultConnectingIOReactor.processTimeouts(DefaultConnectingIOReactor.java:213) ~[httpcore-nio-4.4.14.jar:4.4.14]
at org.apache.http.impl.nio.reactor.DefaultConnectingIOReactor.processEvents(DefaultConnectingIOReactor.java:158) ~[httpcore-nio-4.4.14.jar:4.4.14]
at org.apache.http.impl.nio.reactor.AbstractMultiworkerIOReactor.execute(AbstractMultiworkerIOReactor.java:351) ~[httpcore-nio-4.4.14.jar:4.4.14]
at org.apache.http.impl.nio.conn.PoolingNHttpClientConnectionManager.execute(PoolingNHttpClientConnectionManager.java:221) ~[httpasyncclient-4.1.4.jar:4.1.4]
at org.apache.http.impl.nio.client.CloseableHttpAsyncClientBase$1.run(CloseableHttpAsyncClientBase.java:64) ~[httpasyncclient-4.1.4.jar:4.1.4]
... 1 more
2022-01-10 09:18:04 [traceId:9f5bee1e828b43b0ac78990467b23f70] [ ERROR ] [ com.ruwii.es.service.rabbitmq.MQConsumerService ] com.ruwii.es.service.rabbitmq.MQConsumerService@380ce5a3
java.net.ConnectException: Timeout connecting to [/192.168.1.180:9200]
at org.elasticsearch.client.RestClient.extractAndWrapCause(RestClient.java:849) ~[elasticsearch-rest-client-7.9.3.jar:7.9.1]
at org.elasticsearch.client.RestClient.performRequest(RestClient.java:259) ~[elasticsearch-rest-client-7.9.3.jar:7.9.1]
at org.elasticsearch.client.RestClient.performRequest(RestClient.java:246) ~[elasticsearch-rest-client-7.9.3.jar:7.9.1]
at org.elasticsearch.client.RestHighLevelClient.internalPerformRequest(RestHighLevelClient.java:1613) ~[elasticsearch-rest-high-level-client-7.9.1.jar:7.9.1]
at org.elasticsearch.client.RestHighLevelClient.performRequest(RestHighLevelClient.java:1583) ~[elasticsearch-rest-high-level-client-7.9.1.jar:7.9.1]
at org.elasticsearch.client.RestHighLevelClient.performRequestAndParseEntity(RestHighLevelClient.java:1553) ~[elasticsearch-rest-high-level-client-7.9.1.jar:7.9.1]
at org.elasticsearch.client.RestHighLevelClient.bulk(RestHighLevelClient.java:533) ~[elasticsearch-rest-high-level-client-7.9.1.jar:7.9.1]
at com.ruwii.es.config.EsTemplate.bulkUpdate(EsTemplate.java:139) ~[classes/:?]
at com.ruwii.es.service.es.impl.EsGoodsMixMessageServiceImpl.syncGoodsMessage(EsGoodsMixMessageServiceImpl.java:370) ~[classes/:?]
at com.ruwii.es.service.rabbitmq.MQConsumerService.onGoodsmessage(MQConsumerService.java:73) ~[classes/:?]
at com.ruwii.es.service.rabbitmq.MQConsumerService$$FastClassBySpringCGLIB$$b57d805d.invoke(<generated>) ~[classes/:?]
at org.springframework.cglib.proxy.MethodProxy.invoke(MethodProxy.java:218) ~[spring-core-5.3.4.jar:5.3.4]
at org.springframework.aop.framework.CglibAopProxy$CglibMethodInvocation.invokeJoinpoint(CglibAopProxy.java:779) ~[spring-aop-5.3.4.jar:5.3.4]
at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:163) ~[spring-aop-5.3.4.jar:5.3.4]
at org.springframework.aop.framework.CglibAopProxy$CglibMethodInvocation.proceed(CglibAopProxy.java:750) ~[spring-aop-5.3.4.jar:5.3.4]
at org.springframework.aop.framework.adapter.AfterReturningAdviceInterceptor.invoke(AfterReturningAdviceInterceptor.java:57) ~[spring-aop-5.3.4.jar:5.3.4]
at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:186) ~[spring-aop-5.3.4.jar:5.3.4]
at org.springframework.aop.framework.CglibAopProxy$CglibMethodInvocation.proceed(CglibAopProxy.java:750) ~[spring-aop-5.3.4.jar:5.3.4]
at org.springframework.aop.framework.adapter.MethodBeforeAdviceInterceptor.invoke(MethodBeforeAdviceInterceptor.java:58) ~[spring-aop-5.3.4.jar:5.3.4]
at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:186) ~[spring-aop-5.3.4.jar:5.3.4]
at org.springframework.aop.framework.CglibAopProxy$CglibMethodInvocation.proceed(CglibAopProxy.java:750) ~[spring-aop-5.3.4.jar:5.3.4]
at org.springframework.aop.interceptor.ExposeInvocationInterceptor.invoke(ExposeInvocationInterceptor.java:97) ~[spring-aop-5.3.4.jar:5.3.4]
at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:186) ~[spring-aop-5.3.4.jar:5.3.4]
at org.springframework.aop.framework.CglibAopProxy$CglibMethodInvocation.proceed(CglibAopProxy.java:750) ~[spring-aop-5.3.4.jar:5.3.4]
at org.springframework.aop.framework.CglibAopProxy$DynamicAdvisedInterceptor.intercept(CglibAopProxy.java:692) ~[spring-aop-5.3.4.jar:5.3.4]
at com.ruwii.es.service.rabbitmq.MQConsumerService$$EnhancerBySpringCGLIB$$9b4799d8.onGoodsmessage(<generated>) ~[classes/:?]
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) ~[?:1.8.0_241]
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) ~[?:1.8.0_241]
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) ~[?:1.8.0_241]
at java.lang.reflect.Method.invoke(Method.java:498) ~[?:1.8.0_241]
at org.springframework.messaging.handler.invocation.InvocableHandlerMethod.doInvoke(InvocableHandlerMethod.java:171) ~[spring-messaging-5.3.4.jar:5.3.4]
at org.springframework.messaging.handler.invocation.InvocableHandlerMethod.invoke(InvocableHandlerMethod.java:120) ~[spring-messaging-5.3.4.jar:5.3.4]
at org.springframework.amqp.rabbit.listener.adapter.HandlerAdapter.invoke(HandlerAdapter.java:53) ~[spring-rabbit-2.3.5.jar:2.3.5]
at org.springframework.amqp.rabbit.listener.adapter.MessagingMessageListenerAdapter.invokeHandler(MessagingMessageListenerAdapter.java:222) ~[spring-rabbit-2.3.5.jar:2.3.5]
at org.springframework.amqp.rabbit.listener.adapter.MessagingMessageListenerAdapter.invokeHandlerAndProcessResult(MessagingMessageListenerAdapter.java:150) ~[spring-rabbit-2.3.5.jar:2.3.5]
at org.springframework.amqp.rabbit.listener.adapter.MessagingMessageListenerAdapter.onMessage(MessagingMessageListenerAdapter.java:135) ~[spring-rabbit-2.3.5.jar:2.3.5]
at org.springframework.amqp.rabbit.listener.AbstractMessageListenerContainer.doInvokeListener(AbstractMessageListenerContainer.java:1632) ~[spring-rabbit-2.3.5.jar:2.3.5]
at org.springframework.amqp.rabbit.listener.AbstractMessageListenerContainer.actualInvokeListener(AbstractMessageListenerContainer.java:1551) ~[spring-rabbit-2.3.5.jar:2.3.5]
at org.springframework.amqp.rabbit.listener.AbstractMessageListenerContainer.invokeListener(AbstractMessageListenerContainer.java:1539) [spring-rabbit-2.3.5.jar:2.3.5]
at org.springframework.amqp.rabbit.listener.AbstractMessageListenerContainer.doExecuteListener(AbstractMessageListenerContainer.java:1530) [spring-rabbit-2.3.5.jar:2.3.5]
at org.springframework.amqp.rabbit.listener.AbstractMessageListenerContainer.executeListener(AbstractMessageListenerContainer.java:1474) [spring-rabbit-2.3.5.jar:2.3.5]
at org.springframework.amqp.rabbit.listener.SimpleMessageListenerContainer.doReceiveAndExecute(SimpleMessageListenerContainer.java:967) [spring-rabbit-2.3.5.jar:2.3.5]
at org.springframework.amqp.rabbit.listener.SimpleMessageListenerContainer.receiveAndExecute(SimpleMessageListenerContainer.java:913) [spring-rabbit-2.3.5.jar:2.3.5]
at org.springframework.amqp.rabbit.listener.SimpleMessageListenerContainer.access$1600(SimpleMessageListenerContainer.java:83) [spring-rabbit-2.3.5.jar:2.3.5]
at org.springframework.amqp.rabbit.listener.SimpleMessageListenerContainer$AsyncMessageProcessingConsumer.mainLoop(SimpleMessageListenerContainer.java:1288) [spring-rabbit-2.3.5.jar:2.3.5]
at org.springframework.amqp.rabbit.listener.SimpleMessageListenerContainer$AsyncMessageProcessingConsumer.run(SimpleMessageListenerContainer.java:1194) [spring-rabbit-2.3.5.jar:2.3.5]
at java.lang.Thread.run(Thread.java:748) [?:1.8.0_241]
Caused by: java.net.ConnectException: Timeout connecting to [/192.168.1.180:9200]
at org.apache.http.nio.pool.RouteSpecificPool.timeout(RouteSpecificPool.java:169) ~[httpcore-nio-4.4.14.jar:4.4.14]
at org.apache.http.nio.pool.AbstractNIOConnPool.requestTimeout(AbstractNIOConnPool.java:632) ~[httpcore-nio-4.4.14.jar:4.4.14]
at org.apache.http.nio.pool.AbstractNIOConnPool$InternalSessionRequestCallback.timeout(AbstractNIOConnPool.java:898) ~[httpcore-nio-4.4.14.jar:4.4.14]
at org.apache.http.impl.nio.reactor.SessionRequestImpl.timeout(SessionRequestImpl.java:198) ~[httpcore-nio-4.4.14.jar:4.4.14]
at org.apache.http.impl.nio.reactor.DefaultConnectingIOReactor.processTimeouts(DefaultConnectingIOReactor.java:213) ~[httpcore-nio-4.4.14.jar:4.4.14]
at org.apache.http.impl.nio.reactor.DefaultConnectingIOReactor.processEvents(DefaultConnectingIOReactor.java:158) ~[httpcore-nio-4.4.14.jar:4.4.14]
at org.apache.http.impl.nio.reactor.AbstractMultiworkerIOReactor.execute(AbstractMultiworkerIOReactor.java:351) ~[httpcore-nio-4.4.14.jar:4.4.14]
at org.apache.http.impl.nio.conn.PoolingNHttpClientConnectionManager.execute(PoolingNHttpClientConnectionManager.java:221) ~[httpasyncclient-4.1.4.jar:4.1.4]
at org.apache.http.impl.nio.client.CloseableHttpAsyncClientBase$1.run(CloseableHttpAsyncClientBase.java:64) ~[httpasyncclient-4.1.4.jar:4.1.4]
... 1 more
2022-01-10 09:18:07 [traceId:9635387ca9794dd9843ee1d9bc0cc828] [ ERROR ] [ com.ruwii.es.service.rabbitmq.MQConsumerService ] com.ruwii.es.service.rabbitmq.MQConsumerService@380ce5a3
java.net.ConnectException: Timeout connecting to [/192.168.1.180:9200]
at org.elasticsearch.client.RestClient.extractAndWrapCause(RestClient.java:849) ~[elasticsearch-rest-client-7.9.3.jar:7.9.1]
at org.elasticsearch.client.RestClient.performRequest(RestClient.java:259) ~[elasticsearch-rest-client-7.9.3.jar:7.9.1]
at org.elasticsearch.client.RestClient.performRequest(RestClient.java:246) ~[elasticsearch-rest-client-7.9.3.jar:7.9.1]
at org.elasticsearch.client.RestHighLevelClient.internalPerformRequest(RestHighLevelClient.java:1613) ~[elasticsearch-rest-high-level-client-7.9.1.jar:7.9.1]
at org.elasticsearch.client.RestHighLevelClient.performRequest(RestHighLevelClient.java:1583) ~[elasticsearch-rest-high-level-client-7.9.1.jar:7.9.1]
at org.elasticsearch.client.RestHighLevelClient.performRequestAndParseEntity(RestHighLevelClient.java:1553) ~[elasticsearch-rest-high-level-client-7.9.1.jar:7.9.1]
at org.elasticsearch.client.RestHighLevelClient.bulk(RestHighLevelClient.java:533) ~[elasticsearch-rest-high-level-client-7.9.1.jar:7.9.1]
at com.ruwii.es.config.EsTemplate.bulkUpdate(EsTemplate.java:139) ~[classes/:?]
at com.ruwii.es.service.es.impl.EsGoodsMixMessageServiceImpl.syncGoodsMessage(EsGoodsMixMessageServiceImpl.java:370) ~[classes/:?]
at com.ruwii.es.service.rabbitmq.MQConsumerService.onGoodsmessage(MQConsumerService.java:73) ~[classes/:?]
at com.ruwii.es.service.rabbitmq.MQConsumerService$$FastClassBySpringCGLIB$$b57d805d.invoke(<generated>) ~[classes/:?]
at org.springframework.cglib.proxy.MethodProxy.invoke(MethodProxy.java:218) ~[spring-core-5.3.4.jar:5.3.4]
at org.springframework.aop.framework.CglibAopProxy$CglibMethodInvocation.invokeJoinpoint(CglibAopProxy.java:779) ~[spring-aop-5.3.4.jar:5.3.4]
at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:163) ~[spring-aop-5.3.4.jar:5.3.4]
at org.springframework.aop.framework.CglibAopProxy$CglibMethodInvocation.proceed(CglibAopProxy.java:750) ~[spring-aop-5.3.4.jar:5.3.4]
at org.springframework.aop.framework.adapter.AfterReturningAdviceInterceptor.invoke(AfterReturningAdviceInterceptor.java:57) ~[spring-aop-5.3.4.jar:5.3.4]
at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:186) ~[spring-aop-5.3.4.jar:5.3.4]
at org.springframework.aop.framework.CglibAopProxy$CglibMethodInvocation.proceed(CglibAopProxy.java:750) ~[spring-aop-5.3.4.jar:5.3.4]
at org.springframework.aop.framework.adapter.MethodBeforeAdviceInterceptor.invoke(MethodBeforeAdviceInterceptor.java:58) ~[spring-aop-5.3.4.jar:5.3.4]
at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:186) ~[spring-aop-5.3.4.jar:5.3.4]
at org.springframework.aop.framework.CglibAopProxy$CglibMethodInvocation.proceed(CglibAopProxy.java:750) ~[spring-aop-5.3.4.jar:5.3.4]
at org.springframework.aop.interceptor.ExposeInvocationInterceptor.invoke(ExposeInvocationInterceptor.java:97) ~[spring-aop-5.3.4.jar:5.3.4]
at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:186) ~[spring-aop-5.3.4.jar:5.3.4]
at org.springframework.aop.framework.CglibAopProxy$CglibMethodInvocation.proceed(CglibAopProxy.java:750) ~[spring-aop-5.3.4.jar:5.3.4]
at org.springframework.aop.framework.CglibAopProxy$DynamicAdvisedInterceptor.intercept(CglibAopProxy.java:692) ~[spring-aop-5.3.4.jar:5.3.4]
at com.ruwii.es.service.rabbitmq.MQConsumerService$$EnhancerBySpringCGLIB$$9b4799d8.onGoodsmessage(<generated>) ~[classes/:?]
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) ~[?:1.8.0_241]
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) ~[?:1.8.0_241]
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) ~[?:1.8.0_241]
at java.lang.reflect.Method.invoke(Method.java:498) ~[?:1.8.0_241]
at org.springframework.messaging.handler.invocation.InvocableHandlerMethod.doInvoke(InvocableHandlerMethod.java:171) ~[spring-messaging-5.3.4.jar:5.3.4]
at org.springframework.messaging.handler.invocation.InvocableHandlerMethod.invoke(InvocableHandlerMethod.java:120) ~[spring-messaging-5.3.4.jar:5.3.4]
at org.springframework.amqp.rabbit.listener.adapter.HandlerAdapter.invoke(HandlerAdapter.java:53) ~[spring-rabbit-2.3.5.jar:2.3.5]
at org.springframework.amqp.rabbit.listener.adapter.MessagingMessageListenerAdapter.invokeHandler(MessagingMessageListenerAdapter.java:222) ~[spring-rabbit-2.3.5.jar:2.3.5]
at org.springframework.amqp.rabbit.listener.adapter.MessagingMessageListenerAdapter.invokeHandlerAndProcessResult(MessagingMessageListenerAdapter.java:150) ~[spring-rabbit-2.3.5.jar:2.3.5]
at org.springframework.amqp.rabbit.listener.adapter.MessagingMessageListenerAdapter.onMessage(MessagingMessageListenerAdapter.java:135) ~[spring-rabbit-2.3.5.jar:2.3.5]
at org.springframework.amqp.rabbit.listener.AbstractMessageListenerContainer.doInvokeListener(AbstractMessageListenerContainer.java:1632) ~[spring-rabbit-2.3.5.jar:2.3.5]
at org.springframework.amqp.rabbit.listener.AbstractMessageListenerContainer.actualInvokeListener(AbstractMessageListenerContainer.java:1551) ~[spring-rabbit-2.3.5.jar:2.3.5]
at org.springframework.amqp.rabbit.listener.AbstractMessageListenerContainer.invokeListener(AbstractMessageListenerContainer.java:1539) [spring-rabbit-2.3.5.jar:2.3.5]
at org.springframework.amqp.rabbit.listener.AbstractMessageListenerContainer.doExecuteListener(AbstractMessageListenerContainer.java:1530) [spring-rabbit-2.3.5.jar:2.3.5]
at org.springframework.amqp.rabbit.listener.AbstractMessageListenerContainer.executeListener(AbstractMessageListenerContainer.java:1474) [spring-rabbit-2.3.5.jar:2.3.5]
at org.springframework.amqp.rabbit.listener.SimpleMessageListenerContainer.doReceiveAndExecute(SimpleMessageListenerContainer.java:967) [spring-rabbit-2.3.5.jar:2.3.5]
at org.springframework.amqp.rabbit.listener.SimpleMessageListenerContainer.receiveAndExecute(SimpleMessageListenerContainer.java:913) [spring-rabbit-2.3.5.jar:2.3.5]
at org.springframework.amqp.rabbit.listener.SimpleMessageListenerContainer.access$1600(SimpleMessageListenerContainer.java:83) [spring-rabbit-2.3.5.jar:2.3.5]
at org.springframework.amqp.rabbit.listener.SimpleMessageListenerContainer$AsyncMessageProcessingConsumer.mainLoop(SimpleMessageListenerContainer.java:1288) [spring-rabbit-2.3.5.jar:2.3.5]
at org.springframework.amqp.rabbit.listener.SimpleMessageListenerContainer$AsyncMessageProcessingConsumer.run(SimpleMessageListenerContainer.java:1194) [spring-rabbit-2.3.5.jar:2.3.5]
at java.lang.Thread.run(Thread.java:748) [?:1.8.0_241]
Caused by: java.net.ConnectException: Timeout connecting to [/192.168.1.180:9200]
at org.apache.http.nio.pool.RouteSpecificPool.timeout(RouteSpecificPool.java:169) ~[httpcore-nio-4.4.14.jar:4.4.14]
at org.apache.http.nio.pool.AbstractNIOConnPool.requestTimeout(AbstractNIOConnPool.java:632) ~[httpcore-nio-4.4.14.jar:4.4.14]
at org.apache.http.nio.pool.AbstractNIOConnPool$InternalSessionRequestCallback.timeout(AbstractNIOConnPool.java:898) ~[httpcore-nio-4.4.14.jar:4.4.14]
at org.apache.http.impl.nio.reactor.SessionRequestImpl.timeout(SessionRequestImpl.java:198) ~[httpcore-nio-4.4.14.jar:4.4.14]
at org.apache.http.impl.nio.reactor.DefaultConnectingIOReactor.processTimeouts(DefaultConnectingIOReactor.java:213) ~[httpcore-nio-4.4.14.jar:4.4.14]
at org.apache.http.impl.nio.reactor.DefaultConnectingIOReactor.processEvents(DefaultConnectingIOReactor.java:158) ~[httpcore-nio-4.4.14.jar:4.4.14]
at org.apache.http.impl.nio.reactor.AbstractMultiworkerIOReactor.execute(AbstractMultiworkerIOReactor.java:351) ~[httpcore-nio-4.4.14.jar:4.4.14]
at org.apache.http.impl.nio.conn.PoolingNHttpClientConnectionManager.execute(PoolingNHttpClientConnectionManager.java:221) ~[httpasyncclient-4.1.4.jar:4.1.4]
at org.apache.http.impl.nio.client.CloseableHttpAsyncClientBase$1.run(CloseableHttpAsyncClientBase.java:64) ~[httpasyncclient-4.1.4.jar:4.1.4]
... 1 more
2022-01-10 09:18:08 [traceId:2297b38225654c6ba554d4b7afc36554] [ ERROR ] [ com.ruwii.es.service.rabbitmq.MQConsumerService ] com.ruwii.es.service.rabbitmq.MQConsumerService@380ce5a3
java.net.ConnectException: Timeout connecting to [/192.168.1.180:9200]
at org.elasticsearch.client.RestClient.extractAndWrapCause(RestClient.java:849) ~[elasticsearch-rest-client-7.9.3.jar:7.9.1]
at org.elasticsearch.client.RestClient.performRequest(RestClient.java:259) ~[elasticsearch-rest-client-7.9.3.jar:7.9.1]
at org.elasticsearch.client.RestClient.performRequest(RestClient.java:246) ~[elasticsearch-rest-client-7.9.3.jar:7.9.1]
at org.elasticsearch.client.RestHighLevelClient.internalPerformRequest(RestHighLevelClient.java:1613) ~[elasticsearch-rest-high-level-client-7.9.1.jar:7.9.1]
at org.elasticsearch.client.RestHighLevelClient.performRequest(RestHighLevelClient.java:1583) ~[elasticsearch-rest-high-level-client-7.9.1.jar:7.9.1]
at org.elasticsearch.client.RestHighLevelClient.performRequestAndParseEntity(RestHighLevelClient.java:1553) ~[elasticsearch-rest-high-level-client-7.9.1.jar:7.9.1]
at org.elasticsearch.client.RestHighLevelClient.bulk(RestHighLevelClient.java:533) ~[elasticsearch-rest-high-level-client-7.9.1.jar:7.9.1]
at com.ruwii.es.config.EsTemplate.bulkUpdate(EsTemplate.java:139) ~[classes/:?]
at com.ruwii.es.service.es.impl.EsGoodsMixMessageServiceImpl.syncGoodsMessage(EsGoodsMixMessageServiceImpl.java:370) ~[classes/:?]
at com.ruwii.es.service.rabbitmq.MQConsumerService.onGoodsmessage(MQConsumerService.java:73) ~[classes/:?]
at com.ruwii.es.service.rabbitmq.MQConsumerService$$FastClassBySpringCGLIB$$b57d805d.invoke(<generated>) ~[classes/:?]
at org.springframework.cglib.proxy.MethodProxy.invoke(MethodProxy.java:218) ~[spring-core-5.3.4.jar:5.3.4]
at org.springframework.aop.framework.CglibAopProxy$CglibMethodInvocation.invokeJoinpoint(CglibAopProxy.java:779) ~[spring-aop-5.3.4.jar:5.3.4]
at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:163) ~[spring-aop-5.3.4.jar:5.3.4]
at org.springframework.aop.framework.CglibAopProxy$CglibMethodInvocation.proceed(CglibAopProxy.java:750) ~[spring-aop-5.3.4.jar:5.3.4]
at org.springframework.aop.framework.adapter.AfterReturningAdviceInterceptor.invoke(AfterReturningAdviceInterceptor.java:57) ~[spring-aop-5.3.4.jar:5.3.4]
at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:186) ~[spring-aop-5.3.4.jar:5.3.4]
at org.springframework.aop.framework.CglibAopProxy$CglibMethodInvocation.proceed(CglibAopProxy.java:750) ~[spring-aop-5.3.4.jar:5.3.4]
at org.springframework.aop.framework.adapter.MethodBeforeAdviceInterceptor.invoke(MethodBeforeAdviceInterceptor.java:58) ~[spring-aop-5.3.4.jar:5.3.4]
at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:186) ~[spring-aop-5.3.4.jar:5.3.4]
at org.springframework.aop.framework.CglibAopProxy$CglibMethodInvocation.proceed(CglibAopProxy.java:750) ~[spring-aop-5.3.4.jar:5.3.4]
at org.springframework.aop.interceptor.ExposeInvocationInterceptor.invoke(ExposeInvocationInterceptor.java:97) ~[spring-aop-5.3.4.jar:5.3.4]
at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:186) ~[spring-aop-5.3.4.jar:5.3.4]
at org.springframework.aop.framework.CglibAopProxy$CglibMethodInvocation.proceed(CglibAopProxy.java:750) ~[spring-aop-5.3.4.jar:5.3.4]
at org.springframework.aop.framework.CglibAopProxy$DynamicAdvisedInterceptor.intercept(CglibAopProxy.java:692) ~[spring-aop-5.3.4.jar:5.3.4]
at com.ruwii.es.service.rabbitmq.MQConsumerService$$EnhancerBySpringCGLIB$$9b4799d8.onGoodsmessage(<generated>) ~[classes/:?]
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) ~[?:1.8.0_241]
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) ~[?:1.8.0_241]
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) ~[?:1.8.0_241]
at java.lang.reflect.Method.invoke(Method.java:498) ~[?:1.8.0_241]
at org.springframework.messaging.handler.invocation.InvocableHandlerMethod.doInvoke(InvocableHandlerMethod.java:171) ~[spring-messaging-5.3.4.jar:5.3.4]
at org.springframework.messaging.handler.invocation.InvocableHandlerMethod.invoke(InvocableHandlerMethod.java:120) ~[spring-messaging-5.3.4.jar:5.3.4]
at org.springframework.amqp.rabbit.listener.adapter.HandlerAdapter.invoke(HandlerAdapter.java:53) ~[spring-rabbit-2.3.5.jar:2.3.5]
at org.springframework.amqp.rabbit.listener.adapter.MessagingMessageListenerAdapter.invokeHandler(MessagingMessageListenerAdapter.java:222) ~[spring-rabbit-2.3.5.jar:2.3.5]
at org.springframework.amqp.rabbit.listener.adapter.MessagingMessageListenerAdapter.invokeHandlerAndProcessResult(MessagingMessageListenerAdapter.java:150) ~[spring-rabbit-2.3.5.jar:2.3.5]
at org.springframework.amqp.rabbit.listener.adapter.MessagingMessageListenerAdapter.onMessage(MessagingMessageListenerAdapter.java:135) ~[spring-rabbit-2.3.5.jar:2.3.5]
at org.springframework.amqp.rabbit.listener.AbstractMessageListenerContainer.doInvokeListener(AbstractMessageListenerContainer.java:1632) ~[spring-rabbit-2.3.5.jar:2.3.5]
at org.springframework.amqp.rabbit.listener.AbstractMessageListenerContainer.actualInvokeListener(AbstractMessageListenerContainer.java:1551) ~[spring-rabbit-2.3.5.jar:2.3.5]
at org.springframework.amqp.rabbit.listener.AbstractMessageListenerContainer.invokeListener(AbstractMessageListenerContainer.java:1539) [spring-rabbit-2.3.5.jar:2.3.5]
at org.springframework.amqp.rabbit.listener.AbstractMessageListenerContainer.doExecuteListener(AbstractMessageListenerContainer.java:1530) [spring-rabbit-2.3.5.jar:2.3.5]
at org.springframework.amqp.rabbit.listener.AbstractMessageListenerContainer.executeListener(AbstractMessageListenerContainer.java:1474) [spring-rabbit-2.3.5.jar:2.3.5]
at org.springframework.amqp.rabbit.listener.SimpleMessageListenerContainer.doReceiveAndExecute(SimpleMessageListenerContainer.java:967) [spring-rabbit-2.3.5.jar:2.3.5]
at org.springframework.amqp.rabbit.listener.SimpleMessageListenerContainer.receiveAndExecute(SimpleMessageListenerContainer.java:913) [spring-rabbit-2.3.5.jar:2.3.5]
at org.springframework.amqp.rabbit.listener.SimpleMessageListenerContainer.access$1600(SimpleMessageListenerContainer.java:83) [spring-rabbit-2.3.5.jar:2.3.5]
at org.springframework.amqp.rabbit.listener.SimpleMessageListenerContainer$AsyncMessageProcessingConsumer.mainLoop(SimpleMessageListenerContainer.java:1288) [spring-rabbit-2.3.5.jar:2.3.5]
at org.springframework.amqp.rabbit.listener.SimpleMessageListenerContainer$AsyncMessageProcessingConsumer.run(SimpleMessageListenerContainer.java:1194) [spring-rabbit-2.3.5.jar:2.3.5]
at java.lang.Thread.run(Thread.java:748) [?:1.8.0_241]
Caused by: java.net.ConnectException: Timeout connecting to [/192.168.1.180:9200]
at org.apache.http.nio.pool.RouteSpecificPool.timeout(RouteSpecificPool.java:169) ~[httpcore-nio-4.4.14.jar:4.4.14]
at org.apache.http.nio.pool.AbstractNIOConnPool.requestTimeout(AbstractNIOConnPool.java:632) ~[httpcore-nio-4.4.14.jar:4.4.14]
at org.apache.http.nio.pool.AbstractNIOConnPool$InternalSessionRequestCallback.timeout(AbstractNIOConnPool.java:898) ~[httpcore-nio-4.4.14.jar:4.4.14]
at org.apache.http.impl.nio.reactor.SessionRequestImpl.timeout(SessionRequestImpl.java:198) ~[httpcore-nio-4.4.14.jar:4.4.14]
at org.apache.http.impl.nio.reactor.DefaultConnectingIOReactor.processTimeouts(DefaultConnectingIOReactor.java:213) ~[httpcore-nio-4.4.14.jar:4.4.14]
at org.apache.http.impl.nio.reactor.DefaultConnectingIOReactor.processEvents(DefaultConnectingIOReactor.java:158) ~[httpcore-nio-4.4.14.jar:4.4.14]
at org.apache.http.impl.nio.reactor.AbstractMultiworkerIOReactor.execute(AbstractMultiworkerIOReactor.java:351) ~[httpcore-nio-4.4.14.jar:4.4.14]
at org.apache.http.impl.nio.conn.PoolingNHttpClientConnectionManager.execute(PoolingNHttpClientConnectionManager.java:221) ~[httpasyncclient-4.1.4.jar:4.1.4]
at org.apache.http.impl.nio.client.CloseableHttpAsyncClientBase$1.run(CloseableHttpAsyncClientBase.java:64) ~[httpasyncclient-4.1.4.jar:4.1.4]
... 1 more
2022-01-10 09:18:10 [traceId:16e435f8668e43f4ba6ecdd3bb5e5fe1] [ ERROR ] [ com.ruwii.es.service.rabbitmq.MQConsumerService ] com.ruwii.es.service.rabbitmq.MQConsumerService@380ce5a3
java.net.ConnectException: Timeout connecting to [/192.168.1.180:9200]
at org.elasticsearch.client.RestClient.extractAndWrapCause(RestClient.java:849) ~[elasticsearch-rest-client-7.9.3.jar:7.9.1]
at org.elasticsearch.client.RestClient.performRequest(RestClient.java:259) ~[elasticsearch-rest-client-7.9.3.jar:7.9.1]
at org.elasticsearch.client.RestClient.performRequest(RestClient.java:246) ~[elasticsearch-rest-client-7.9.3.jar:7.9.1]
at org.elasticsearch.client.RestHighLevelClient.internalPerformRequest(RestHighLevelClient.java:1613) ~[elasticsearch-rest-high-level-client-7.9.1.jar:7.9.1]
at org.elasticsearch.client.RestHighLevelClient.performRequest(RestHighLevelClient.java:1583) ~[elasticsearch-rest-high-level-client-7.9.1.jar:7.9.1]
at org.elasticsearch.client.RestHighLevelClient.performRequestAndParseEntity(RestHighLevelClient.java:1553) ~[elasticsearch-rest-high-level-client-7.9.1.jar:7.9.1]
at org.elasticsearch.client.RestHighLevelClient.bulk(RestHighLevelClient.java:533) ~[elasticsearch-rest-high-level-client-7.9.1.jar:7.9.1]
at com.ruwii.es.config.EsTemplate.bulkUpdate(EsTemplate.java:139) ~[classes/:?]
at com.ruwii.es.service.es.impl.EsGoodsMixMessageServiceImpl.syncGoodsMessage(EsGoodsMixMessageServiceImpl.java:370) ~[classes/:?]
at com.ruwii.es.service.rabbitmq.MQConsumerService.onGoodsmessage(MQConsumerService.java:73) ~[classes/:?]
at com.ruwii.es.service.rabbitmq.MQConsumerService$$FastClassBySpringCGLIB$$b57d805d.invoke(<generated>) ~[classes/:?]
at org.springframework.cglib.proxy.MethodProxy.invoke(MethodProxy.java:218) ~[spring-core-5.3.4.jar:5.3.4]
at org.springframework.aop.framework.CglibAopProxy$CglibMethodInvocation.invokeJoinpoint(CglibAopProxy.java:779) ~[spring-aop-5.3.4.jar:5.3.4]
at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:163) ~[spring-aop-5.3.4.jar:5.3.4]
at org.springframework.aop.framework.CglibAopProxy$CglibMethodInvocation.proceed(CglibAopProxy.java:750) ~[spring-aop-5.3.4.jar:5.3.4]
at org.springframework.aop.framework.adapter.AfterReturningAdviceInterceptor.invoke(AfterReturningAdviceInterceptor.java:57) ~[spring-aop-5.3.4.jar:5.3.4]
at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:186) ~[spring-aop-5.3.4.jar:5.3.4]
at org.springframework.aop.framework.CglibAopProxy$CglibMethodInvocation.proceed(CglibAopProxy.java:750) ~[spring-aop-5.3.4.jar:5.3.4]
at org.springframework.aop.framework.adapter.MethodBeforeAdviceInterceptor.invoke(MethodBeforeAdviceInterceptor.java:58) ~[spring-aop-5.3.4.jar:5.3.4]
at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:186) ~[spring-aop-5.3.4.jar:5.3.4]
at org.springframework.aop.framework.CglibAopProxy$CglibMethodInvocation.proceed(CglibAopProxy.java:750) ~[spring-aop-5.3.4.jar:5.3.4]
at org.springframework.aop.interceptor.ExposeInvocationInterceptor.invoke(ExposeInvocationInterceptor.java:97) ~[spring-aop-5.3.4.jar:5.3.4]
at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:186) ~[spring-aop-5.3.4.jar:5.3.4]
at org.springframework.aop.framework.CglibAopProxy$CglibMethodInvocation.proceed(CglibAopProxy.java:750) ~[spring-aop-5.3.4.jar:5.3.4]
at org.springframework.aop.framework.CglibAopProxy$DynamicAdvisedInterceptor.intercept(CglibAopProxy.java:692) ~[spring-aop-5.3.4.jar:5.3.4]
at com.ruwii.es.service.rabbitmq.MQConsumerService$$EnhancerBySpringCGLIB$$9b4799d8.onGoodsmessage(<generated>) ~[classes/:?]
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) ~[?:1.8.0_241]
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) ~[?:1.8.0_241]
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) ~[?:1.8.0_241]
at java.lang.reflect.Method.invoke(Method.java:498) ~[?:1.8.0_241]
at org.springframework.messaging.handler.invocation.InvocableHandlerMethod.doInvoke(InvocableHandlerMethod.java:171) ~[spring-messaging-5.3.4.jar:5.3.4]
at org.springframework.messaging.handler.invocation.InvocableHandlerMethod.invoke(InvocableHandlerMethod.java:120) ~[spring-messaging-5.3.4.jar:5.3.4]
at org.springframework.amqp.rabbit.listener.adapter.HandlerAdapter.invoke(HandlerAdapter.java:53) ~[spring-rabbit-2.3.5.jar:2.3.5]
at org.springframework.amqp.rabbit.listener.adapter.MessagingMessageListenerAdapter.invokeHandler(MessagingMessageListenerAdapter.java:222) ~[spring-rabbit-2.3.5.jar:2.3.5]
at org.springframework.amqp.rabbit.listener.adapter.MessagingMessageListenerAdapter.invokeHandlerAndProcessResult(MessagingMessageListenerAdapter.java:150) ~[spring-rabbit-2.3.5.jar:2.3.5]
at org.springframework.amqp.rabbit.listener.adapter.MessagingMessageListenerAdapter.onMessage(MessagingMessageListenerAdapter.java:135) ~[spring-rabbit-2.3.5.jar:2.3.5]
at org.springframework.amqp.rabbit.listener.AbstractMessageListenerContainer.doInvokeListener(AbstractMessageListenerContainer.java:1632) ~[spring-rabbit-2.3.5.jar:2.3.5]
at org.springframework.amqp.rabbit.listener.AbstractMessageListenerContainer.actualInvokeListener(AbstractMessageListenerContainer.java:1551) ~[spring-rabbit-2.3.5.jar:2.3.5]
at org.springframework.amqp.rabbit.listener.AbstractMessageListenerContainer.invokeListener(AbstractMessageListenerContainer.java:1539) [spring-rabbit-2.3.5.jar:2.3.5]
at org.springframework.amqp.rabbit.listener.AbstractMessageListenerContainer.doExecuteListener(AbstractMessageListenerContainer.java:1530) [spring-rabbit-2.3.5.jar:2.3.5]
at org.springframework.amqp.rabbit.listener.AbstractMessageListenerContainer.executeListener(AbstractMessageListenerContainer.java:1474) [spring-rabbit-2.3.5.jar:2.3.5]
at org.springframework.amqp.rabbit.listener.SimpleMessageListenerContainer.doReceiveAndExecute(SimpleMessageListenerContainer.java:967) [spring-rabbit-2.3.5.jar:2.3.5]
at org.springframework.amqp.rabbit.listener.SimpleMessageListenerContainer.receiveAndExecute(SimpleMessageListenerContainer.java:913) [spring-rabbit-2.3.5.jar:2.3.5]
at org.springframework.amqp.rabbit.listener.SimpleMessageListenerContainer.access$1600(SimpleMessageListenerContainer.java:83) [spring-rabbit-2.3.5.jar:2.3.5]
at org.springframework.amqp.rabbit.listener.SimpleMessageListenerContainer$AsyncMessageProcessingConsumer.mainLoop(SimpleMessageListenerContainer.java:1288) [spring-rabbit-2.3.5.jar:2.3.5]
at org.springframework.amqp.rabbit.listener.SimpleMessageListenerContainer$AsyncMessageProcessingConsumer.run(SimpleMessageListenerContainer.java:1194) [spring-rabbit-2.3.5.jar:2.3.5]
at java.lang.Thread.run(Thread.java:748) [?:1.8.0_241]
Caused by: java.net.ConnectException: Timeout connecting to [/192.168.1.180:9200]
at org.apache.http.nio.pool.RouteSpecificPool.timeout(RouteSpecificPool.java:169) ~[httpcore-nio-4.4.14.jar:4.4.14]
at org.apache.http.nio.pool.AbstractNIOConnPool.requestTimeout(AbstractNIOConnPool.java:632) ~[httpcore-nio-4.4.14.jar:4.4.14]
at org.apache.http.nio.pool.AbstractNIOConnPool$InternalSessionRequestCallback.timeout(AbstractNIOConnPool.java:898) ~[httpcore-nio-4.4.14.jar:4.4.14]
at org.apache.http.impl.nio.reactor.SessionRequestImpl.timeout(SessionRequestImpl.java:198) ~[httpcore-nio-4.4.14.jar:4.4.14]
at org.apache.http.impl.nio.reactor.DefaultConnectingIOReactor.processTimeouts(DefaultConnectingIOReactor.java:213) ~[httpcore-nio-4.4.14.jar:4.4.14]
at org.apache.http.impl.nio.reactor.DefaultConnectingIOReactor.processEvents(DefaultConnectingIOReactor.java:158) ~[httpcore-nio-4.4.14.jar:4.4.14]
at org.apache.http.impl.nio.reactor.AbstractMultiworkerIOReactor.execute(AbstractMultiworkerIOReactor.java:351) ~[httpcore-nio-4.4.14.jar:4.4.14]
at org.apache.http.impl.nio.conn.PoolingNHttpClientConnectionManager.execute(PoolingNHttpClientConnectionManager.java:221) ~[httpasyncclient-4.1.4.jar:4.1.4]
at org.apache.http.impl.nio.client.CloseableHttpAsyncClientBase$1.run(CloseableHttpAsyncClientBase.java:64) ~[httpasyncclient-4.1.4.jar:4.1.4]
... 1 more
2022-01-10 09:18:11 [traceId:5dc8cdaa84984d9da38cfd831e78a506] [ ERROR ] [ com.ruwii.es.service.rabbitmq.MQConsumerService ] com.ruwii.es.service.rabbitmq.MQConsumerService@380ce5a3
java.net.ConnectException: Timeout connecting to [/192.168.1.180:9200]
at org.elasticsearch.client.RestClient.extractAndWrapCause(RestClient.java:849) ~[elasticsearch-rest-client-7.9.3.jar:7.9.1]
at org.elasticsearch.client.RestClient.performRequest(RestClient.java:259) ~[elasticsearch-rest-client-7.9.3.jar:7.9.1]
at org.elasticsearch.client.RestClient.performRequest(RestClient.java:246) ~[elasticsearch-rest-client-7.9.3.jar:7.9.1]
at org.elasticsearch.client.RestHighLevelClient.internalPerformRequest(RestHighLevelClient.java:1613) ~[elasticsearch-rest-high-level-client-7.9.1.jar:7.9.1]
at org.elasticsearch.client.RestHighLevelClient.performRequest(RestHighLevelClient.java:1583) ~[elasticsearch-rest-high-level-client-7.9.1.jar:7.9.1]
at org.elasticsearch.client.RestHighLevelClient.performRequestAndParseEntity(RestHighLevelClient.java:1553) ~[elasticsearch-rest-high-level-client-7.9.1.jar:7.9.1]
at org.elasticsearch.client.RestHighLevelClient.bulk(RestHighLevelClient.java:533) ~[elasticsearch-rest-high-level-client-7.9.1.jar:7.9.1]
at com.ruwii.es.config.EsTemplate.bulkUpdate(EsTemplate.java:139) ~[classes/:?]
at com.ruwii.es.service.es.impl.EsGoodsMixMessageServiceImpl.syncGoodsMessage(EsGoodsMixMessageServiceImpl.java:370) ~[classes/:?]
at com.ruwii.es.service.rabbitmq.MQConsumerService.onGoodsmessage(MQConsumerService.java:73) ~[classes/:?]
at com.ruwii.es.service.rabbitmq.MQConsumerService$$FastClassBySpringCGLIB$$b57d805d.invoke(<generated>) ~[classes/:?]
at org.springframework.cglib.proxy.MethodProxy.invoke(MethodProxy.java:218) ~[spring-core-5.3.4.jar:5.3.4]
at org.springframework.aop.framework.CglibAopProxy$CglibMethodInvocation.invokeJoinpoint(CglibAopProxy.java:779) ~[spring-aop-5.3.4.jar:5.3.4]
at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:163) ~[spring-aop-5.3.4.jar:5.3.4]
at org.springframework.aop.framework.CglibAopProxy$CglibMethodInvocation.proceed(CglibAopProxy.java:750) ~[spring-aop-5.3.4.jar:5.3.4]
at org.springframework.aop.framework.adapter.AfterReturningAdviceInterceptor.invoke(AfterReturningAdviceInterceptor.java:57) ~[spring-aop-5.3.4.jar:5.3.4]
at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:186) ~[spring-aop-5.3.4.jar:5.3.4]
at org.springframework.aop.framework.CglibAopProxy$CglibMethodInvocation.proceed(CglibAopProxy.java:750) ~[spring-aop-5.3.4.jar:5.3.4]
at org.springframework.aop.framework.adapter.MethodBeforeAdviceInterceptor.invoke(MethodBeforeAdviceInterceptor.java:58) ~[spring-aop-5.3.4.jar:5.3.4]
at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:186) ~[spring-aop-5.3.4.jar:5.3.4]
at org.springframework.aop.framework.CglibAopProxy$CglibMethodInvocation.proceed(CglibAopProxy.java:750) ~[spring-aop-5.3.4.jar:5.3.4]
at org.springframework.aop.interceptor.ExposeInvocationInterceptor.invoke(ExposeInvocationInterceptor.java:97) ~[spring-aop-5.3.4.jar:5.3.4]
at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:186) ~[spring-aop-5.3.4.jar:5.3.4]
at org.springframework.aop.framework.CglibAopProxy$CglibMethodInvocation.proceed(CglibAopProxy.java:750) ~[spring-aop-5.3.4.jar:5.3.4]
at org.springframework.aop.framework.CglibAopProxy$DynamicAdvisedInterceptor.intercept(CglibAopProxy.java:692) ~[spring-aop-5.3.4.jar:5.3.4]
at com.ruwii.es.service.rabbitmq.MQConsumerService$$EnhancerBySpringCGLIB$$9b4799d8.onGoodsmessage(<generated>) ~[classes/:?]
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) ~[?:1.8.0_241]
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) ~[?:1.8.0_241]
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) ~[?:1.8.0_241]
at java.lang.reflect.Method.invoke(Method.java:498) ~[?:1.8.0_241]
at org.springframework.messaging.handler.invocation.InvocableHandlerMethod.doInvoke(InvocableHandlerMethod.java:171) ~[spring-messaging-5.3.4.jar:5.3.4]
at org.springframework.messaging.handler.invocation.InvocableHandlerMethod.invoke(InvocableHandlerMethod.java:120) ~[spring-messaging-5.3.4.jar:5.3.4]
at org.springframework.amqp.rabbit.listener.adapter.HandlerAdapter.invoke(HandlerAdapter.java:53) ~[spring-rabbit-2.3.5.jar:2.3.5]
at org.springframework.amqp.rabbit.listener.adapter.MessagingMessageListenerAdapter.invokeHandler(MessagingMessageListenerAdapter.java:222) ~[spring-rabbit-2.3.5.jar:2.3.5]
at org.springframework.amqp.rabbit.listener.adapter.MessagingMessageListenerAdapter.invokeHandlerAndProcessResult(MessagingMessageListenerAdapter.java:150) ~[spring-rabbit-2.3.5.jar:2.3.5]
at org.springframework.amqp.rabbit.listener.adapter.MessagingMessageListenerAdapter.onMessage(MessagingMessageListenerAdapter.java:135) ~[spring-rabbit-2.3.5.jar:2.3.5]
at org.springframework.amqp.rabbit.listener.AbstractMessageListenerContainer.doInvokeListener(AbstractMessageListenerContainer.java:1632) ~[spring-rabbit-2.3.5.jar:2.3.5]
at org.springframework.amqp.rabbit.listener.AbstractMessageListenerContainer.actualInvokeListener(AbstractMessageListenerContainer.java:1551) ~[spring-rabbit-2.3.5.jar:2.3.5]
at org.springframework.amqp.rabbit.listener.AbstractMessageListenerContainer.invokeListener(AbstractMessageListenerContainer.java:1539) [spring-rabbit-2.3.5.jar:2.3.5]
at org.springframework.amqp.rabbit.listener.AbstractMessageListenerContainer.doExecuteListener(AbstractMessageListenerContainer.java:1530) [spring-rabbit-2.3.5.jar:2.3.5]
at org.springframework.amqp.rabbit.listener.AbstractMessageListenerContainer.executeListener(AbstractMessageListenerContainer.java:1474) [spring-rabbit-2.3.5.jar:2.3.5]
at org.springframework.amqp.rabbit.listener.SimpleMessageListenerContainer.doReceiveAndExecute(SimpleMessageListenerContainer.java:967) [spring-rabbit-2.3.5.jar:2.3.5]
at org.springframework.amqp.rabbit.listener.SimpleMessageListenerContainer.receiveAndExecute(SimpleMessageListenerContainer.java:913) [spring-rabbit-2.3.5.jar:2.3.5]
at org.springframework.amqp.rabbit.listener.SimpleMessageListenerContainer.access$1600(SimpleMessageListenerContainer.java:83) [spring-rabbit-2.3.5.jar:2.3.5]
at org.springframework.amqp.rabbit.listener.SimpleMessageListenerContainer$AsyncMessageProcessingConsumer.mainLoop(SimpleMessageListenerContainer.java:1288) [spring-rabbit-2.3.5.jar:2.3.5]
at org.springframework.amqp.rabbit.listener.SimpleMessageListenerContainer$AsyncMessageProcessingConsumer.run(SimpleMessageListenerContainer.java:1194) [spring-rabbit-2.3.5.jar:2.3.5]
at java.lang.Thread.run(Thread.java:748) [?:1.8.0_241]
Caused by: java.net.ConnectException: Timeout connecting to [/192.168.1.180:9200]
at org.apache.http.nio.pool.RouteSpecificPool.timeout(RouteSpecificPool.java:169) ~[httpcore-nio-4.4.14.jar:4.4.14]
at org.apache.http.nio.pool.AbstractNIOConnPool.requestTimeout(AbstractNIOConnPool.java:632) ~[httpcore-nio-4.4.14.jar:4.4.14]
at org.apache.http.nio.pool.AbstractNIOConnPool$InternalSessionRequestCallback.timeout(AbstractNIOConnPool.java:898) ~[httpcore-nio-4.4.14.jar:4.4.14]
at org.apache.http.impl.nio.reactor.SessionRequestImpl.timeout(SessionRequestImpl.java:198) ~[httpcore-nio-4.4.14.jar:4.4.14]
at org.apache.http.impl.nio.reactor.DefaultConnectingIOReactor.processTimeouts(DefaultConnectingIOReactor.java:213) ~[httpcore-nio-4.4.14.jar:4.4.14]
at org.apache.http.impl.nio.reactor.DefaultConnectingIOReactor.processEvents(DefaultConnectingIOReactor.java:158) ~[httpcore-nio-4.4.14.jar:4.4.14]
at org.apache.http.impl.nio.reactor.AbstractMultiworkerIOReactor.execute(AbstractMultiworkerIOReactor.java:351) ~[httpcore-nio-4.4.14.jar:4.4.14]
at org.apache.http.impl.nio.conn.PoolingNHttpClientConnectionManager.execute(PoolingNHttpClientConnectionManager.java:221) ~[httpasyncclient-4.1.4.jar:4.1.4]
at org.apache.http.impl.nio.client.CloseableHttpAsyncClientBase$1.run(CloseableHttpAsyncClientBase.java:64) ~[httpasyncclient-4.1.4.jar:4.1.4]
... 1 more
2022-01-10 09:18:13 [traceId:63bf0e85b1194284a369ce943be0e568] [ ERROR ] [ com.ruwii.es.service.rabbitmq.MQConsumerService ] com.ruwii.es.service.rabbitmq.MQConsumerService@380ce5a3
java.net.ConnectException: Timeout connecting to [/192.168.1.180:9200]
at org.elasticsearch.client.RestClient.extractAndWrapCause(RestClient.java:849) ~[elasticsearch-rest-client-7.9.3.jar:7.9.1]
at org.elasticsearch.client.RestClient.performRequest(RestClient.java:259) ~[elasticsearch-rest-client-7.9.3.jar:7.9.1]
at org.elasticsearch.client.RestClient.performRequest(RestClient.java:246) ~[elasticsearch-rest-client-7.9.3.jar:7.9.1]
at org.elasticsearch.client.RestHighLevelClient.internalPerformRequest(RestHighLevelClient.java:1613) ~[elasticsearch-rest-high-level-client-7.9.1.jar:7.9.1]
at org.elasticsearch.client.RestHighLevelClient.performRequest(RestHighLevelClient.java:1583) ~[elasticsearch-rest-high-level-client-7.9.1.jar:7.9.1]
at org.elasticsearch.client.RestHighLevelClient.performRequestAndParseEntity(RestHighLevelClient.java:1553) ~[elasticsearch-rest-high-level-client-7.9.1.jar:7.9.1]
at org.elasticsearch.client.RestHighLevelClient.bulk(RestHighLevelClient.java:533) ~[elasticsearch-rest-high-level-client-7.9.1.jar:7.9.1]
at com.ruwii.es.config.EsTemplate.bulkUpdate(EsTemplate.java:139) ~[classes/:?]
at com.ruwii.es.service.es.impl.EsGoodsMixMessageServiceImpl.syncGoodsMessage(EsGoodsMixMessageServiceImpl.java:370) ~[classes/:?]
at com.ruwii.es.service.rabbitmq.MQConsumerService.onGoodsmessage(MQConsumerService.java:73) ~[classes/:?]
at com.ruwii.es.service.rabbitmq.MQConsumerService$$FastClassBySpringCGLIB$$b57d805d.invoke(<generated>) ~[classes/:?]
at org.springframework.cglib.proxy.MethodProxy.invoke(MethodProxy.java:218) ~[spring-core-5.3.4.jar:5.3.4]
at org.springframework.aop.framework.CglibAopProxy$CglibMethodInvocation.invokeJoinpoint(CglibAopProxy.java:779) ~[spring-aop-5.3.4.jar:5.3.4]
at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:163) ~[spring-aop-5.3.4.jar:5.3.4]
at org.springframework.aop.framework.CglibAopProxy$CglibMethodInvocation.proceed(CglibAopProxy.java:750) ~[spring-aop-5.3.4.jar:5.3.4]
at org.springframework.aop.framework.adapter.AfterReturningAdviceInterceptor.invoke(AfterReturningAdviceInterceptor.java:57) ~[spring-aop-5.3.4.jar:5.3.4]
at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:186) ~[spring-aop-5.3.4.jar:5.3.4]
at org.springframework.aop.framework.CglibAopProxy$CglibMethodInvocation.proceed(CglibAopProxy.java:750) ~[spring-aop-5.3.4.jar:5.3.4]
at org.springframework.aop.framework.adapter.MethodBeforeAdviceInterceptor.invoke(MethodBeforeAdviceInterceptor.java:58) ~[spring-aop-5.3.4.jar:5.3.4]
at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:186) ~[spring-aop-5.3.4.jar:5.3.4]
at org.springframework.aop.framework.CglibAopProxy$CglibMethodInvocation.proceed(CglibAopProxy.java:750) ~[spring-aop-5.3.4.jar:5.3.4]
at org.springframework.aop.interceptor.ExposeInvocationInterceptor.invoke(ExposeInvocationInterceptor.java:97) ~[spring-aop-5.3.4.jar:5.3.4]
at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:186) ~[spring-aop-5.3.4.jar:5.3.4]
at org.springframework.aop.framework.CglibAopProxy$CglibMethodInvocation.proceed(CglibAopProxy.java:750) ~[spring-aop-5.3.4.jar:5.3.4]
at org.springframework.aop.framework.CglibAopProxy$DynamicAdvisedInterceptor.intercept(CglibAopProxy.java:692) ~[spring-aop-5.3.4.jar:5.3.4]
at com.ruwii.es.service.rabbitmq.MQConsumerService$$EnhancerBySpringCGLIB$$9b4799d8.onGoodsmessage(<generated>) ~[classes/:?]
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) ~[?:1.8.0_241]
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) ~[?:1.8.0_241]
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) ~[?:1.8.0_241]
at java.lang.reflect.Method.invoke(Method.java:498) ~[?:1.8.0_241]
at org.springframework.messaging.handler.invocation.InvocableHandlerMethod.doInvoke(InvocableHandlerMethod.java:171) ~[spring-messaging-5.3.4.jar:5.3.4]
at org.springframework.messaging.handler.invocation.InvocableHandlerMethod.invoke(InvocableHandlerMethod.java:120) ~[spring-messaging-5.3.4.jar:5.3.4]
at org.springframework.amqp.rabbit.listener.adapter.HandlerAdapter.invoke(HandlerAdapter.java:53) ~[spring-rabbit-2.3.5.jar:2.3.5]
at org.springframework.amqp.rabbit.listener.adapter.MessagingMessageListenerAdapter.invokeHandler(MessagingMessageListenerAdapter.java:222) ~[spring-rabbit-2.3.5.jar:2.3.5]
at org.springframework.amqp.rabbit.listener.adapter.MessagingMessageListenerAdapter.invokeHandlerAndProcessResult(MessagingMessageListenerAdapter.java:150) ~[spring-rabbit-2.3.5.jar:2.3.5]
at org.springframework.amqp.rabbit.listener.adapter.MessagingMessageListenerAdapter.onMessage(MessagingMessageListenerAdapter.java:135) ~[spring-rabbit-2.3.5.jar:2.3.5]
at org.springframework.amqp.rabbit.listener.AbstractMessageListenerContainer.doInvokeListener(AbstractMessageListenerContainer.java:1632) ~[spring-rabbit-2.3.5.jar:2.3.5]
at org.springframework.amqp.rabbit.listener.AbstractMessageListenerContainer.actualInvokeListener(AbstractMessageListenerContainer.java:1551) ~[spring-rabbit-2.3.5.jar:2.3.5]
at org.springframework.amqp.rabbit.listener.AbstractMessageListenerContainer.invokeListener(AbstractMessageListenerContainer.java:1539) [spring-rabbit-2.3.5.jar:2.3.5]
at org.springframework.amqp.rabbit.listener.AbstractMessageListenerContainer.doExecuteListener(AbstractMessageListenerContainer.java:1530) [spring-rabbit-2.3.5.jar:2.3.5]
at org.springframework.amqp.rabbit.listener.AbstractMessageListenerContainer.executeListener(AbstractMessageListenerContainer.java:1474) [spring-rabbit-2.3.5.jar:2.3.5]
at org.springframework.amqp.rabbit.listener.SimpleMessageListenerContainer.doReceiveAndExecute(SimpleMessageListenerContainer.java:967) [spring-rabbit-2.3.5.jar:2.3.5]
at org.springframework.amqp.rabbit.listener.SimpleMessageListenerContainer.receiveAndExecute(SimpleMessageListenerContainer.java:913) [spring-rabbit-2.3.5.jar:2.3.5]
at org.springframework.amqp.rabbit.listener.SimpleMessageListenerContainer.access$1600(SimpleMessageListenerContainer.java:83) [spring-rabbit-2.3.5.jar:2.3.5]
at org.springframework.amqp.rabbit.listener.SimpleMessageListenerContainer$AsyncMessageProcessingConsumer.mainLoop(SimpleMessageListenerContainer.java:1288) [spring-rabbit-2.3.5.jar:2.3.5]
at org.springframework.amqp.rabbit.listener.SimpleMessageListenerContainer$AsyncMessageProcessingConsumer.run(SimpleMessageListenerContainer.java:1194) [spring-rabbit-2.3.5.jar:2.3.5]
at java.lang.Thread.run(Thread.java:748) [?:1.8.0_241]
Caused by: java.net.ConnectException: Timeout connecting to [/192.168.1.180:9200]
at org.apache.http.nio.pool.RouteSpecificPool.timeout(RouteSpecificPool.java:169) ~[httpcore-nio-4.4.14.jar:4.4.14]
at org.apache.http.nio.pool.AbstractNIOConnPool.requestTimeout(AbstractNIOConnPool.java:632) ~[httpcore-nio-4.4.14.jar:4.4.14]
at org.apache.http.nio.pool.AbstractNIOConnPool$InternalSessionRequestCallback.timeout(AbstractNIOConnPool.java:898) ~[httpcore-nio-4.4.14.jar:4.4.14]
at org.apache.http.impl.nio.reactor.SessionRequestImpl.timeout(SessionRequestImpl.java:198) ~[httpcore-nio-4.4.14.jar:4.4.14]
at org.apache.http.impl.nio.reactor.DefaultConnectingIOReactor.processTimeouts(DefaultConnectingIOReactor.java:213) ~[httpcore-nio-4.4.14.jar:4.4.14]
at org.apache.http.impl.nio.reactor.DefaultConnectingIOReactor.processEvents(DefaultConnectingIOReactor.java:158) ~[httpcore-nio-4.4.14.jar:4.4.14]
at org.apache.http.impl.nio.reactor.AbstractMultiworkerIOReactor.execute(AbstractMultiworkerIOReactor.java:351) ~[httpcore-nio-4.4.14.jar:4.4.14]
at org.apache.http.impl.nio.conn.PoolingNHttpClientConnectionManager.execute(PoolingNHttpClientConnectionManager.java:221) ~[httpasyncclient-4.1.4.jar:4.1.4]
at org.apache.http.impl.nio.client.CloseableHttpAsyncClientBase$1.run(CloseableHttpAsyncClientBase.java:64) ~[httpasyncclient-4.1.4.jar:4.1.4]
... 1 more
2022-01-10 09:18:15 [traceId:a08327c211f14dbc8dea2d4f99c6e63a] [ ERROR ] [ com.ruwii.es.service.rabbitmq.MQConsumerService ] com.ruwii.es.service.rabbitmq.MQConsumerService@380ce5a3
java.net.ConnectException: Timeout connecting to [/192.168.1.180:9200]
at org.elasticsearch.client.RestClient.extractAndWrapCause(RestClient.java:849) ~[elasticsearch-rest-client-7.9.3.jar:7.9.1]
at org.elasticsearch.client.RestClient.performRequest(RestClient.java:259) ~[elasticsearch-rest-client-7.9.3.jar:7.9.1]
at org.elasticsearch.client.RestClient.performRequest(RestClient.java:246) ~[elasticsearch-rest-client-7.9.3.jar:7.9.1]
at org.elasticsearch.client.RestHighLevelClient.internalPerformRequest(RestHighLevelClient.java:1613) ~[elasticsearch-rest-high-level-client-7.9.1.jar:7.9.1]
at org.elasticsearch.client.RestHighLevelClient.performRequest(RestHighLevelClient.java:1583) ~[elasticsearch-rest-high-level-client-7.9.1.jar:7.9.1]
at org.elasticsearch.client.RestHighLevelClient.performRequestAndParseEntity(RestHighLevelClient.java:1553) ~[elasticsearch-rest-high-level-client-7.9.1.jar:7.9.1]
at org.elasticsearch.client.RestHighLevelClient.bulk(RestHighLevelClient.java:533) ~[elasticsearch-rest-high-level-client-7.9.1.jar:7.9.1]
at com.ruwii.es.config.EsTemplate.bulkUpdate(EsTemplate.java:139) ~[classes/:?]
at com.ruwii.es.service.es.impl.EsGoodsMixMessageServiceImpl.syncGoodsMessage(EsGoodsMixMessageServiceImpl.java:370) ~[classes/:?]
at com.ruwii.es.service.rabbitmq.MQConsumerService.onGoodsmessage(MQConsumerService.java:73) ~[classes/:?]
at com.ruwii.es.service.rabbitmq.MQConsumerService$$FastClassBySpringCGLIB$$b57d805d.invoke(<generated>) ~[classes/:?]
at org.springframework.cglib.proxy.MethodProxy.invoke(MethodProxy.java:218) ~[spring-core-5.3.4.jar:5.3.4]
at org.springframework.aop.framework.CglibAopProxy$CglibMethodInvocation.invokeJoinpoint(CglibAopProxy.java:779) ~[spring-aop-5.3.4.jar:5.3.4]
at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:163) ~[spring-aop-5.3.4.jar:5.3.4]
at org.springframework.aop.framework.CglibAopProxy$CglibMethodInvocation.proceed(CglibAopProxy.java:750) ~[spring-aop-5.3.4.jar:5.3.4]
at org.springframework.aop.framework.adapter.AfterReturningAdviceInterceptor.invoke(AfterReturningAdviceInterceptor.java:57) ~[spring-aop-5.3.4.jar:5.3.4]
at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:186) ~[spring-aop-5.3.4.jar:5.3.4]
at org.springframework.aop.framework.CglibAopProxy$CglibMethodInvocation.proceed(CglibAopProxy.java:750) ~[spring-aop-5.3.4.jar:5.3.4]
at org.springframework.aop.framework.adapter.MethodBeforeAdviceInterceptor.invoke(MethodBeforeAdviceInterceptor.java:58) ~[spring-aop-5.3.4.jar:5.3.4]
at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:186) ~[spring-aop-5.3.4.jar:5.3.4]
at org.springframework.aop.framework.CglibAopProxy$CglibMethodInvocation.proceed(CglibAopProxy.java:750) ~[spring-aop-5.3.4.jar:5.3.4]
at org.springframework.aop.interceptor.ExposeInvocationInterceptor.invoke(ExposeInvocationInterceptor.java:97) ~[spring-aop-5.3.4.jar:5.3.4]
at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:186) ~[spring-aop-5.3.4.jar:5.3.4]
at org.springframework.aop.framework.CglibAopProxy$CglibMethodInvocation.proceed(CglibAopProxy.java:750) ~[spring-aop-5.3.4.jar:5.3.4]
at org.springframework.aop.framework.CglibAopProxy$DynamicAdvisedInterceptor.intercept(CglibAopProxy.java:692) ~[spring-aop-5.3.4.jar:5.3.4]
at com.ruwii.es.service.rabbitmq.MQConsumerService$$EnhancerBySpringCGLIB$$9b4799d8.onGoodsmessage(<generated>) ~[classes/:?]
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) ~[?:1.8.0_241]
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) ~[?:1.8.0_241]
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) ~[?:1.8.0_241]
at java.lang.reflect.Method.invoke(Method.java:498) ~[?:1.8.0_241]
at org.springframework.messaging.handler.invocation.InvocableHandlerMethod.doInvoke(InvocableHandlerMethod.java:171) ~[spring-messaging-5.3.4.jar:5.3.4]
at org.springframework.messaging.handler.invocation.InvocableHandlerMethod.invoke(InvocableHandlerMethod.java:120) ~[spring-messaging-5.3.4.jar:5.3.4]
at org.springframework.amqp.rabbit.listener.adapter.HandlerAdapter.invoke(HandlerAdapter.java:53) ~[spring-rabbit-2.3.5.jar:2.3.5]
at org.springframework.amqp.rabbit.listener.adapter.MessagingMessageListenerAdapter.invokeHandler(MessagingMessageListenerAdapter.java:222) ~[spring-rabbit-2.3.5.jar:2.3.5]
at org.springframework.amqp.rabbit.listener.adapter.MessagingMessageListenerAdapter.invokeHandlerAndProcessResult(MessagingMessageListenerAdapter.java:150) ~[spring-rabbit-2.3.5.jar:2.3.5]
at org.springframework.amqp.rabbit.listener.adapter.MessagingMessageListenerAdapter.onMessage(MessagingMessageListenerAdapter.java:135) ~[spring-rabbit-2.3.5.jar:2.3.5]
at org.springframework.amqp.rabbit.listener.AbstractMessageListenerContainer.doInvokeListener(AbstractMessageListenerContainer.java:1632) ~[spring-rabbit-2.3.5.jar:2.3.5]
at org.springframework.amqp.rabbit.listener.AbstractMessageListenerContainer.actualInvokeListener(AbstractMessageListenerContainer.java:1551) ~[spring-rabbit-2.3.5.jar:2.3.5]
at org.springframework.amqp.rabbit.listener.AbstractMessageListenerContainer.invokeListener(AbstractMessageListenerContainer.java:1539) [spring-rabbit-2.3.5.jar:2.3.5]
at org.springframework.amqp.rabbit.listener.AbstractMessageListenerContainer.doExecuteListener(AbstractMessageListenerContainer.java:1530) [spring-rabbit-2.3.5.jar:2.3.5]
at org.springframework.amqp.rabbit.listener.AbstractMessageListenerContainer.executeListener(AbstractMessageListenerContainer.java:1474) [spring-rabbit-2.3.5.jar:2.3.5]
at org.springframework.amqp.rabbit.listener.SimpleMessageListenerContainer.doReceiveAndExecute(SimpleMessageListenerContainer.java:967) [spring-rabbit-2.3.5.jar:2.3.5]
at org.springframework.amqp.rabbit.listener.SimpleMessageListenerContainer.receiveAndExecute(SimpleMessageListenerContainer.java:913) [spring-rabbit-2.3.5.jar:2.3.5]
at org.springframework.amqp.rabbit.listener.SimpleMessageListenerContainer.access$1600(SimpleMessageListenerContainer.java:83) [spring-rabbit-2.3.5.jar:2.3.5]
at org.springframework.amqp.rabbit.listener.SimpleMessageListenerContainer$AsyncMessageProcessingConsumer.mainLoop(SimpleMessageListenerContainer.java:1288) [spring-rabbit-2.3.5.jar:2.3.5]
at org.springframework.amqp.rabbit.listener.SimpleMessageListenerContainer$AsyncMessageProcessingConsumer.run(SimpleMessageListenerContainer.java:1194) [spring-rabbit-2.3.5.jar:2.3.5]
at java.lang.Thread.run(Thread.java:748) [?:1.8.0_241]
Caused by: java.net.ConnectException: Timeout connecting to [/192.168.1.180:9200]
at org.apache.http.nio.pool.RouteSpecificPool.timeout(RouteSpecificPool.java:169) ~[httpcore-nio-4.4.14.jar:4.4.14]
at org.apache.http.nio.pool.AbstractNIOConnPool.requestTimeout(AbstractNIOConnPool.java:632) ~[httpcore-nio-4.4.14.jar:4.4.14]
at org.apache.http.nio.pool.AbstractNIOConnPool$InternalSessionRequestCallback.timeout(AbstractNIOConnPool.java:898) ~[httpcore-nio-4.4.14.jar:4.4.14]
at org.apache.http.impl.nio.reactor.SessionRequestImpl.timeout(SessionRequestImpl.java:198) ~[httpcore-nio-4.4.14.jar:4.4.14]
at org.apache.http.impl.nio.reactor.DefaultConnectingIOReactor.processTimeouts(DefaultConnectingIOReactor.java:213) ~[httpcore-nio-4.4.14.jar:4.4.14]
at org.apache.http.impl.nio.reactor.DefaultConnectingIOReactor.processEvents(DefaultConnectingIOReactor.java:158) ~[httpcore-nio-4.4.14.jar:4.4.14]
at org.apache.http.impl.nio.reactor.AbstractMultiworkerIOReactor.execute(AbstractMultiworkerIOReactor.java:351) ~[httpcore-nio-4.4.14.jar:4.4.14]
at org.apache.http.impl.nio.conn.PoolingNHttpClientConnectionManager.execute(PoolingNHttpClientConnectionManager.java:221) ~[httpasyncclient-4.1.4.jar:4.1.4]
at org.apache.http.impl.nio.client.CloseableHttpAsyncClientBase$1.run(CloseableHttpAsyncClientBase.java:64) ~[httpasyncclient-4.1.4.jar:4.1.4]
... 1 more
2022-01-10 09:18:17 [traceId:f1a5f71c4fbf4305a0429aadc0dbebe4] [ ERROR ] [ com.ruwii.es.service.rabbitmq.MQConsumerService ] com.ruwii.es.service.rabbitmq.MQConsumerService@380ce5a3
java.net.ConnectException: Timeout connecting to [/192.168.1.180:9200]
at org.elasticsearch.client.RestClient.extractAndWrapCause(RestClient.java:849) ~[elasticsearch-rest-client-7.9.3.jar:7.9.1]
at org.elasticsearch.client.RestClient.performRequest(RestClient.java:259) ~[elasticsearch-rest-client-7.9.3.jar:7.9.1]
at org.elasticsearch.client.RestClient.performRequest(RestClient.java:246) ~[elasticsearch-rest-client-7.9.3.jar:7.9.1]
at org.elasticsearch.client.RestHighLevelClient.internalPerformRequest(RestHighLevelClient.java:1613) ~[elasticsearch-rest-high-level-client-7.9.1.jar:7.9.1]
at org.elasticsearch.client.RestHighLevelClient.performRequest(RestHighLevelClient.java:1583) ~[elasticsearch-rest-high-level-client-7.9.1.jar:7.9.1]
at org.elasticsearch.client.RestHighLevelClient.performRequestAndParseEntity(RestHighLevelClient.java:1553) ~[elasticsearch-rest-high-level-client-7.9.1.jar:7.9.1]
at org.elasticsearch.client.RestHighLevelClient.bulk(RestHighLevelClient.java:533) ~[elasticsearch-rest-high-level-client-7.9.1.jar:7.9.1]
at com.ruwii.es.config.EsTemplate.bulkUpdate(EsTemplate.java:139) ~[classes/:?]
at com.ruwii.es.service.es.impl.EsGoodsMixMessageServiceImpl.syncGoodsMessage(EsGoodsMixMessageServiceImpl.java:370) ~[classes/:?]
at com.ruwii.es.service.rabbitmq.MQConsumerService.onGoodsmessage(MQConsumerService.java:73) ~[classes/:?]
at com.ruwii.es.service.rabbitmq.MQConsumerService$$FastClassBySpringCGLIB$$b57d805d.invoke(<generated>) ~[classes/:?]
at org.springframework.cglib.proxy.MethodProxy.invoke(MethodProxy.java:218) ~[spring-core-5.3.4.jar:5.3.4]
at org.springframework.aop.framework.CglibAopProxy$CglibMethodInvocation.invokeJoinpoint(CglibAopProxy.java:779) ~[spring-aop-5.3.4.jar:5.3.4]
at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:163) ~[spring-aop-5.3.4.jar:5.3.4]
at org.springframework.aop.framework.CglibAopProxy$CglibMethodInvocation.proceed(CglibAopProxy.java:750) ~[spring-aop-5.3.4.jar:5.3.4]
at org.springframework.aop.framework.adapter.AfterReturningAdviceInterceptor.invoke(AfterReturningAdviceInterceptor.java:57) ~[spring-aop-5.3.4.jar:5.3.4]
at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:186) ~[spring-aop-5.3.4.jar:5.3.4]
at org.springframework.aop.framework.CglibAopProxy$CglibMethodInvocation.proceed(CglibAopProxy.java:750) ~[spring-aop-5.3.4.jar:5.3.4]
at org.springframework.aop.framework.adapter.MethodBeforeAdviceInterceptor.invoke(MethodBeforeAdviceInterceptor.java:58) ~[spring-aop-5.3.4.jar:5.3.4]
at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:186) ~[spring-aop-5.3.4.jar:5.3.4]
at org.springframework.aop.framework.CglibAopProxy$CglibMethodInvocation.proceed(CglibAopProxy.java:750) ~[spring-aop-5.3.4.jar:5.3.4]
at org.springframework.aop.interceptor.ExposeInvocationInterceptor.invoke(ExposeInvocationInterceptor.java:97) ~[spring-aop-5.3.4.jar:5.3.4]
at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:186) ~[spring-aop-5.3.4.jar:5.3.4]
at org.springframework.aop.framework.CglibAopProxy$CglibMethodInvocation.proceed(CglibAopProxy.java:750) ~[spring-aop-5.3.4.jar:5.3.4]
at org.springframework.aop.framework.CglibAopProxy$DynamicAdvisedInterceptor.intercept(CglibAopProxy.java:692) ~[spring-aop-5.3.4.jar:5.3.4]
at com.ruwii.es.service.rabbitmq.MQConsumerService$$EnhancerBySpringCGLIB$$9b4799d8.onGoodsmessage(<generated>) ~[classes/:?]
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) ~[?:1.8.0_241]
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) ~[?:1.8.0_241]
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) ~[?:1.8.0_241]
at java.lang.reflect.Method.invoke(Method.java:498) ~[?:1.8.0_241]
at org.springframework.messaging.handler.invocation.InvocableHandlerMethod.doInvoke(InvocableHandlerMethod.java:171) ~[spring-messaging-5.3.4.jar:5.3.4]
at org.springframework.messaging.handler.invocation.InvocableHandlerMethod.invoke(InvocableHandlerMethod.java:120) ~[spring-messaging-5.3.4.jar:5.3.4]
at org.springframework.amqp.rabbit.listener.adapter.HandlerAdapter.invoke(HandlerAdapter.java:53) ~[spring-rabbit-2.3.5.jar:2.3.5]
at org.springframework.amqp.rabbit.listener.adapter.MessagingMessageListenerAdapter.invokeHandler(MessagingMessageListenerAdapter.java:222) ~[spring-rabbit-2.3.5.jar:2.3.5]
at org.springframework.amqp.rabbit.listener.adapter.MessagingMessageListenerAdapter.invokeHandlerAndProcessResult(MessagingMessageListenerAdapter.java:150) ~[spring-rabbit-2.3.5.jar:2.3.5]
at org.springframework.amqp.rabbit.listener.adapter.MessagingMessageListenerAdapter.onMessage(MessagingMessageListenerAdapter.java:135) ~[spring-rabbit-2.3.5.jar:2.3.5]
at org.springframework.amqp.rabbit.listener.AbstractMessageListenerContainer.doInvokeListener(AbstractMessageListenerContainer.java:1632) ~[spring-rabbit-2.3.5.jar:2.3.5]
at org.springframework.amqp.rabbit.listener.AbstractMessageListenerContainer.actualInvokeListener(AbstractMessageListenerContainer.java:1551) ~[spring-rabbit-2.3.5.jar:2.3.5]
at org.springframework.amqp.rabbit.listener.AbstractMessageListenerContainer.invokeListener(AbstractMessageListenerContainer.java:1539) [spring-rabbit-2.3.5.jar:2.3.5]
at org.springframework.amqp.rabbit.listener.AbstractMessageListenerContainer.doExecuteListener(AbstractMessageListenerContainer.java:1530) [spring-rabbit-2.3.5.jar:2.3.5]
at org.springframework.amqp.rabbit.listener.AbstractMessageListenerContainer.executeListener(AbstractMessageListenerContainer.java:1474) [spring-rabbit-2.3.5.jar:2.3.5]
at org.springframework.amqp.rabbit.listener.SimpleMessageListenerContainer.doReceiveAndExecute(SimpleMessageListenerContainer.java:967) [spring-rabbit-2.3.5.jar:2.3.5]
at org.springframework.amqp.rabbit.listener.SimpleMessageListenerContainer.receiveAndExecute(SimpleMessageListenerContainer.java:913) [spring-rabbit-2.3.5.jar:2.3.5]
at org.springframework.amqp.rabbit.listener.SimpleMessageListenerContainer.access$1600(SimpleMessageListenerContainer.java:83) [spring-rabbit-2.3.5.jar:2.3.5]
at org.springframework.amqp.rabbit.listener.SimpleMessageListenerContainer$AsyncMessageProcessingConsumer.mainLoop(SimpleMessageListenerContainer.java:1288) [spring-rabbit-2.3.5.jar:2.3.5]
at org.springframework.amqp.rabbit.listener.SimpleMessageListenerContainer$AsyncMessageProcessingConsumer.run(SimpleMessageListenerContainer.java:1194) [spring-rabbit-2.3.5.jar:2.3.5]
at java.lang.Thread.run(Thread.java:748) [?:1.8.0_241]
Caused by: java.net.ConnectException: Timeout connecting to [/192.168.1.180:9200]
at org.apache.http.nio.pool.RouteSpecificPool.timeout(RouteSpecificPool.java:169) ~[httpcore-nio-4.4.14.jar:4.4.14]
at org.apache.http.nio.pool.AbstractNIOConnPool.requestTimeout(AbstractNIOConnPool.java:632) ~[httpcore-nio-4.4.14.jar:4.4.14]
at org.apache.http.nio.pool.AbstractNIOConnPool$InternalSessionRequestCallback.timeout(AbstractNIOConnPool.java:898) ~[httpcore-nio-4.4.14.jar:4.4.14]
at org.apache.http.impl.nio.reactor.SessionRequestImpl.timeout(SessionRequestImpl.java:198) ~[httpcore-nio-4.4.14.jar:4.4.14]
at org.apache.http.impl.nio.reactor.DefaultConnectingIOReactor.processTimeouts(DefaultConnectingIOReactor.java:213) ~[httpcore-nio-4.4.14.jar:4.4.14]
at org.apache.http.impl.nio.reactor.DefaultConnectingIOReactor.processEvents(DefaultConnectingIOReactor.java:158) ~[httpcore-nio-4.4.14.jar:4.4.14]
at org.apache.http.impl.nio.reactor.AbstractMultiworkerIOReactor.execute(AbstractMultiworkerIOReactor.java:351) ~[httpcore-nio-4.4.14.jar:4.4.14]
at org.apache.http.impl.nio.conn.PoolingNHttpClientConnectionManager.execute(PoolingNHttpClientConnectionManager.java:221) ~[httpasyncclient-4.1.4.jar:4.1.4]
at org.apache.http.impl.nio.client.CloseableHttpAsyncClientBase$1.run(CloseableHttpAsyncClientBase.java:64) ~[httpasyncclient-4.1.4.jar:4.1.4]
... 1 more
2022-01-10 09:18:18 [traceId:] [ WARN ] [ org.springframework.amqp.rabbit.listener.SimpleMessageListenerContainer ] Closing channel for unresponsive consumer: Consumer@4813d0: tags=[[amq.ctag-1oYl9qY_zpX8S13E3yq-Mw]], channel=Cached Rabbit Channel: AMQChannel(amqp://admin@192.168.1.180:5672/,1), conn: Proxy@213835b6 Shared Rabbit Connection: SimpleConnection@278de2b2 [delegate=amqp://admin@192.168.1.180:5672/, localPort= 14385], acknowledgeMode=MANUAL local queue size=6
2022-01-10 09:18:18 [traceId:1220b6922f3246fd9deb741828998757] [ ERROR ] [ com.ruwii.es.service.rabbitmq.MQConsumerService ] com.ruwii.es.service.rabbitmq.MQConsumerService@380ce5a3
java.net.ConnectException: Timeout connecting to [/192.168.1.180:9200]
at org.elasticsearch.client.RestClient.extractAndWrapCause(RestClient.java:849) ~[elasticsearch-rest-client-7.9.3.jar:7.9.1]
at org.elasticsearch.client.RestClient.performRequest(RestClient.java:259) ~[elasticsearch-rest-client-7.9.3.jar:7.9.1]
at org.elasticsearch.client.RestClient.performRequest(RestClient.java:246) ~[elasticsearch-rest-client-7.9.3.jar:7.9.1]
at org.elasticsearch.client.RestHighLevelClient.internalPerformRequest(RestHighLevelClient.java:1613) ~[elasticsearch-rest-high-level-client-7.9.1.jar:7.9.1]
at org.elasticsearch.client.RestHighLevelClient.performRequest(RestHighLevelClient.java:1583) ~[elasticsearch-rest-high-level-client-7.9.1.jar:7.9.1]
at org.elasticsearch.client.RestHighLevelClient.performRequestAndParseEntity(RestHighLevelClient.java:1553) ~[elasticsearch-rest-high-level-client-7.9.1.jar:7.9.1]
at org.elasticsearch.client.RestHighLevelClient.bulk(RestHighLevelClient.java:533) ~[elasticsearch-rest-high-level-client-7.9.1.jar:7.9.1]
at com.ruwii.es.config.EsTemplate.bulkUpdate(EsTemplate.java:139) ~[classes/:?]
at com.ruwii.es.service.es.impl.EsGoodsMixMessageServiceImpl.syncGoodsMessage(EsGoodsMixMessageServiceImpl.java:370) ~[classes/:?]
at com.ruwii.es.service.rabbitmq.MQConsumerService.onGoodsmessage(MQConsumerService.java:73) ~[classes/:?]
at com.ruwii.es.service.rabbitmq.MQConsumerService$$FastClassBySpringCGLIB$$b57d805d.invoke(<generated>) ~[classes/:?]
at org.springframework.cglib.proxy.MethodProxy.invoke(MethodProxy.java:218) ~[spring-core-5.3.4.jar:5.3.4]
at org.springframework.aop.framework.CglibAopProxy$CglibMethodInvocation.invokeJoinpoint(CglibAopProxy.java:779) ~[spring-aop-5.3.4.jar:5.3.4]
at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:163) ~[spring-aop-5.3.4.jar:5.3.4]
at org.springframework.aop.framework.CglibAopProxy$CglibMethodInvocation.proceed(CglibAopProxy.java:750) ~[spring-aop-5.3.4.jar:5.3.4]
at org.springframework.aop.framework.adapter.AfterReturningAdviceInterceptor.invoke(AfterReturningAdviceInterceptor.java:57) ~[spring-aop-5.3.4.jar:5.3.4]
at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:186) ~[spring-aop-5.3.4.jar:5.3.4]
at org.springframework.aop.framework.CglibAopProxy$CglibMethodInvocation.proceed(CglibAopProxy.java:750) ~[spring-aop-5.3.4.jar:5.3.4]
at org.springframework.aop.framework.adapter.MethodBeforeAdviceInterceptor.invoke(MethodBeforeAdviceInterceptor.java:58) ~[spring-aop-5.3.4.jar:5.3.4]
at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:186) ~[spring-aop-5.3.4.jar:5.3.4]
at org.springframework.aop.framework.CglibAopProxy$CglibMethodInvocation.proceed(CglibAopProxy.java:750) ~[spring-aop-5.3.4.jar:5.3.4]
at org.springframework.aop.interceptor.ExposeInvocationInterceptor.invoke(ExposeInvocationInterceptor.java:97) ~[spring-aop-5.3.4.jar:5.3.4]
at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:186) ~[spring-aop-5.3.4.jar:5.3.4]
at org.springframework.aop.framework.CglibAopProxy$CglibMethodInvocation.proceed(CglibAopProxy.java:750) ~[spring-aop-5.3.4.jar:5.3.4]
at org.springframework.aop.framework.CglibAopProxy$DynamicAdvisedInterceptor.intercept(CglibAopProxy.java:692) ~[spring-aop-5.3.4.jar:5.3.4]
at com.ruwii.es.service.rabbitmq.MQConsumerService$$EnhancerBySpringCGLIB$$9b4799d8.onGoodsmessage(<generated>) ~[classes/:?]
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) ~[?:1.8.0_241]
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) ~[?:1.8.0_241]
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) ~[?:1.8.0_241]
at java.lang.reflect.Method.invoke(Method.java:498) ~[?:1.8.0_241]
at org.springframework.messaging.handler.invocation.InvocableHandlerMethod.doInvoke(InvocableHandlerMethod.java:171) ~[spring-messaging-5.3.4.jar:5.3.4]
at org.springframework.messaging.handler.invocation.InvocableHandlerMethod.invoke(InvocableHandlerMethod.java:120) ~[spring-messaging-5.3.4.jar:5.3.4]
at org.springframework.amqp.rabbit.listener.adapter.HandlerAdapter.invoke(HandlerAdapter.java:53) ~[spring-rabbit-2.3.5.jar:2.3.5]
at org.springframework.amqp.rabbit.listener.adapter.MessagingMessageListenerAdapter.invokeHandler(MessagingMessageListenerAdapter.java:222) ~[spring-rabbit-2.3.5.jar:2.3.5]
at org.springframework.amqp.rabbit.listener.adapter.MessagingMessageListenerAdapter.invokeHandlerAndProcessResult(MessagingMessageListenerAdapter.java:150) ~[spring-rabbit-2.3.5.jar:2.3.5]
at org.springframework.amqp.rabbit.listener.adapter.MessagingMessageListenerAdapter.onMessage(MessagingMessageListenerAdapter.java:135) ~[spring-rabbit-2.3.5.jar:2.3.5]
at org.springframework.amqp.rabbit.listener.AbstractMessageListenerContainer.doInvokeListener(AbstractMessageListenerContainer.java:1632) ~[spring-rabbit-2.3.5.jar:2.3.5]
at org.springframework.amqp.rabbit.listener.AbstractMessageListenerContainer.actualInvokeListener(AbstractMessageListenerContainer.java:1551) ~[spring-rabbit-2.3.5.jar:2.3.5]
at org.springframework.amqp.rabbit.listener.AbstractMessageListenerContainer.invokeListener(AbstractMessageListenerContainer.java:1539) [spring-rabbit-2.3.5.jar:2.3.5]
at org.springframework.amqp.rabbit.listener.AbstractMessageListenerContainer.doExecuteListener(AbstractMessageListenerContainer.java:1530) [spring-rabbit-2.3.5.jar:2.3.5]
at org.springframework.amqp.rabbit.listener.AbstractMessageListenerContainer.executeListener(AbstractMessageListenerContainer.java:1474) [spring-rabbit-2.3.5.jar:2.3.5]
at org.springframework.amqp.rabbit.listener.SimpleMessageListenerContainer.doReceiveAndExecute(SimpleMessageListenerContainer.java:967) [spring-rabbit-2.3.5.jar:2.3.5]
at org.springframework.amqp.rabbit.listener.SimpleMessageListenerContainer.receiveAndExecute(SimpleMessageListenerContainer.java:913) [spring-rabbit-2.3.5.jar:2.3.5]
at org.springframework.amqp.rabbit.listener.SimpleMessageListenerContainer.access$1600(SimpleMessageListenerContainer.java:83) [spring-rabbit-2.3.5.jar:2.3.5]
at org.springframework.amqp.rabbit.listener.SimpleMessageListenerContainer$AsyncMessageProcessingConsumer.mainLoop(SimpleMessageListenerContainer.java:1288) [spring-rabbit-2.3.5.jar:2.3.5]
at org.springframework.amqp.rabbit.listener.SimpleMessageListenerContainer$AsyncMessageProcessingConsumer.run(SimpleMessageListenerContainer.java:1194) [spring-rabbit-2.3.5.jar:2.3.5]
at java.lang.Thread.run(Thread.java:748) [?:1.8.0_241]
Caused by: java.net.ConnectException: Timeout connecting to [/192.168.1.180:9200]
at org.apache.http.nio.pool.RouteSpecificPool.timeout(RouteSpecificPool.java:169) ~[httpcore-nio-4.4.14.jar:4.4.14]
at org.apache.http.nio.pool.AbstractNIOConnPool.requestTimeout(AbstractNIOConnPool.java:632) ~[httpcore-nio-4.4.14.jar:4.4.14]
at org.apache.http.nio.pool.AbstractNIOConnPool$InternalSessionRequestCallback.timeout(AbstractNIOConnPool.java:898) ~[httpcore-nio-4.4.14.jar:4.4.14]
at org.apache.http.impl.nio.reactor.SessionRequestImpl.timeout(SessionRequestImpl.java:198) ~[httpcore-nio-4.4.14.jar:4.4.14]
at org.apache.http.impl.nio.reactor.DefaultConnectingIOReactor.processTimeouts(DefaultConnectingIOReactor.java:213) ~[httpcore-nio-4.4.14.jar:4.4.14]
at org.apache.http.impl.nio.reactor.DefaultConnectingIOReactor.processEvents(DefaultConnectingIOReactor.java:158) ~[httpcore-nio-4.4.14.jar:4.4.14]
at org.apache.http.impl.nio.reactor.AbstractMultiworkerIOReactor.execute(AbstractMultiworkerIOReactor.java:351) ~[httpcore-nio-4.4.14.jar:4.4.14]
at org.apache.http.impl.nio.conn.PoolingNHttpClientConnectionManager.execute(PoolingNHttpClientConnectionManager.java:221) ~[httpasyncclient-4.1.4.jar:4.1.4]
at org.apache.http.impl.nio.client.CloseableHttpAsyncClientBase$1.run(CloseableHttpAsyncClientBase.java:64) ~[httpasyncclient-4.1.4.jar:4.1.4]
... 1 more
2022-01-10 09:18:18 [traceId:1220b6922f3246fd9deb741828998757] [ ERROR ] [ com.ruwii.es.service.rabbitmq.MQConsumerService ] com.ruwii.es.service.rabbitmq.MQConsumerService@380ce5a3
org.springframework.amqp.AmqpApplicationContextClosedException: The ApplicationContext is closed and the ConnectionFactory can no longer create connections.
at org.springframework.amqp.rabbit.connection.CachingConnectionFactory.createConnection(CachingConnectionFactory.java:718) ~[spring-rabbit-2.3.5.jar:2.3.5]
at org.springframework.amqp.rabbit.connection.CachingConnectionFactory.createBareChannel(CachingConnectionFactory.java:675) ~[spring-rabbit-2.3.5.jar:2.3.5]
at org.springframework.amqp.rabbit.connection.CachingConnectionFactory.access$700(CachingConnectionFactory.java:99) ~[spring-rabbit-2.3.5.jar:2.3.5]
at org.springframework.amqp.rabbit.connection.CachingConnectionFactory$CachedChannelInvocationHandler.invoke(CachingConnectionFactory.java:1178) ~[spring-rabbit-2.3.5.jar:2.3.5]
at com.sun.proxy.$Proxy121.basicNack(Unknown Source) ~[?:?]
at com.ruwii.es.service.rabbitmq.MQConsumerService.onGoodsmessage(MQConsumerService.java:96) ~[classes/:?]
at com.ruwii.es.service.rabbitmq.MQConsumerService$$FastClassBySpringCGLIB$$b57d805d.invoke(<generated>) ~[classes/:?]
at org.springframework.cglib.proxy.MethodProxy.invoke(MethodProxy.java:218) ~[spring-core-5.3.4.jar:5.3.4]
at org.springframework.aop.framework.CglibAopProxy$CglibMethodInvocation.invokeJoinpoint(CglibAopProxy.java:779) ~[spring-aop-5.3.4.jar:5.3.4]
at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:163) ~[spring-aop-5.3.4.jar:5.3.4]
at org.springframework.aop.framework.CglibAopProxy$CglibMethodInvocation.proceed(CglibAopProxy.java:750) ~[spring-aop-5.3.4.jar:5.3.4]
at org.springframework.aop.framework.adapter.AfterReturningAdviceInterceptor.invoke(AfterReturningAdviceInterceptor.java:57) ~[spring-aop-5.3.4.jar:5.3.4]
at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:186) ~[spring-aop-5.3.4.jar:5.3.4]
at org.springframework.aop.framework.CglibAopProxy$CglibMethodInvocation.proceed(CglibAopProxy.java:750) ~[spring-aop-5.3.4.jar:5.3.4]
at org.springframework.aop.framework.adapter.MethodBeforeAdviceInterceptor.invoke(MethodBeforeAdviceInterceptor.java:58) ~[spring-aop-5.3.4.jar:5.3.4]
at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:186) ~[spring-aop-5.3.4.jar:5.3.4]
at org.springframework.aop.framework.CglibAopProxy$CglibMethodInvocation.proceed(CglibAopProxy.java:750) ~[spring-aop-5.3.4.jar:5.3.4]
at org.springframework.aop.interceptor.ExposeInvocationInterceptor.invoke(ExposeInvocationInterceptor.java:97) ~[spring-aop-5.3.4.jar:5.3.4]
at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:186) ~[spring-aop-5.3.4.jar:5.3.4]
at org.springframework.aop.framework.CglibAopProxy$CglibMethodInvocation.proceed(CglibAopProxy.java:750) ~[spring-aop-5.3.4.jar:5.3.4]
at org.springframework.aop.framework.CglibAopProxy$DynamicAdvisedInterceptor.intercept(CglibAopProxy.java:692) ~[spring-aop-5.3.4.jar:5.3.4]
at com.ruwii.es.service.rabbitmq.MQConsumerService$$EnhancerBySpringCGLIB$$9b4799d8.onGoodsmessage(<generated>) ~[classes/:?]
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) ~[?:1.8.0_241]
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) ~[?:1.8.0_241]
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) ~[?:1.8.0_241]
at java.lang.reflect.Method.invoke(Method.java:498) ~[?:1.8.0_241]
at org.springframework.messaging.handler.invocation.InvocableHandlerMethod.doInvoke(InvocableHandlerMethod.java:171) ~[spring-messaging-5.3.4.jar:5.3.4]
at org.springframework.messaging.handler.invocation.InvocableHandlerMethod.invoke(InvocableHandlerMethod.java:120) ~[spring-messaging-5.3.4.jar:5.3.4]
at org.springframework.amqp.rabbit.listener.adapter.HandlerAdapter.invoke(HandlerAdapter.java:53) ~[spring-rabbit-2.3.5.jar:2.3.5]
at org.springframework.amqp.rabbit.listener.adapter.MessagingMessageListenerAdapter.invokeHandler(MessagingMessageListenerAdapter.java:222) ~[spring-rabbit-2.3.5.jar:2.3.5]
at org.springframework.amqp.rabbit.listener.adapter.MessagingMessageListenerAdapter.invokeHandlerAndProcessResult(MessagingMessageListenerAdapter.java:150) ~[spring-rabbit-2.3.5.jar:2.3.5]
at org.springframework.amqp.rabbit.listener.adapter.MessagingMessageListenerAdapter.onMessage(MessagingMessageListenerAdapter.java:135) ~[spring-rabbit-2.3.5.jar:2.3.5]
at org.springframework.amqp.rabbit.listener.AbstractMessageListenerContainer.doInvokeListener(AbstractMessageListenerContainer.java:1632) ~[spring-rabbit-2.3.5.jar:2.3.5]
at org.springframework.amqp.rabbit.listener.AbstractMessageListenerContainer.actualInvokeListener(AbstractMessageListenerContainer.java:1551) ~[spring-rabbit-2.3.5.jar:2.3.5]
at org.springframework.amqp.rabbit.listener.AbstractMessageListenerContainer.invokeListener(AbstractMessageListenerContainer.java:1539) [spring-rabbit-2.3.5.jar:2.3.5]
at org.springframework.amqp.rabbit.listener.AbstractMessageListenerContainer.doExecuteListener(AbstractMessageListenerContainer.java:1530) [spring-rabbit-2.3.5.jar:2.3.5]
at org.springframework.amqp.rabbit.listener.AbstractMessageListenerContainer.executeListener(AbstractMessageListenerContainer.java:1474) [spring-rabbit-2.3.5.jar:2.3.5]
at org.springframework.amqp.rabbit.listener.SimpleMessageListenerContainer.doReceiveAndExecute(SimpleMessageListenerContainer.java:967) [spring-rabbit-2.3.5.jar:2.3.5]
at org.springframework.amqp.rabbit.listener.SimpleMessageListenerContainer.receiveAndExecute(SimpleMessageListenerContainer.java:913) [spring-rabbit-2.3.5.jar:2.3.5]
at org.springframework.amqp.rabbit.listener.SimpleMessageListenerContainer.access$1600(SimpleMessageListenerContainer.java:83) [spring-rabbit-2.3.5.jar:2.3.5]
at org.springframework.amqp.rabbit.listener.SimpleMessageListenerContainer$AsyncMessageProcessingConsumer.mainLoop(SimpleMessageListenerContainer.java:1288) [spring-rabbit-2.3.5.jar:2.3.5]
at org.springframework.amqp.rabbit.listener.SimpleMessageListenerContainer$AsyncMessageProcessingConsumer.run(SimpleMessageListenerContainer.java:1194) [spring-rabbit-2.3.5.jar:2.3.5]
at java.lang.Thread.run(Thread.java:748) [?:1.8.0_241]
2022-01-10 09:43:41 [traceId:] [ WARN ] [ com.rabbitmq.client.impl.ForgivingExceptionHandler ] An unexpected connection driver error occured (Exception message: Connection reset)
2022-01-10 09:44:08 [traceId:] [ ERROR ] [ org.springframework.amqp.rabbit.listener.SimpleMessageListenerContainer ] Failed to check/redeclare auto-delete queue(s).
org.springframework.amqp.AmqpIOException: java.net.SocketTimeoutException: connect timed out
at org.springframework.amqp.rabbit.support.RabbitExceptionTranslator.convertRabbitAccessException(RabbitExceptionTranslator.java:70) ~[spring-rabbit-2.3.5.jar:2.3.5]
at org.springframework.amqp.rabbit.connection.AbstractConnectionFactory.createBareConnection(AbstractConnectionFactory.java:602) ~[spring-rabbit-2.3.5.jar:2.3.5]
at org.springframework.amqp.rabbit.connection.CachingConnectionFactory.createConnection(CachingConnectionFactory.java:724) ~[spring-rabbit-2.3.5.jar:2.3.5]
at org.springframework.amqp.rabbit.connection.ConnectionFactoryUtils.createConnection(ConnectionFactoryUtils.java:214) ~[spring-rabbit-2.3.5.jar:2.3.5]
at org.springframework.amqp.rabbit.core.RabbitTemplate.doExecute(RabbitTemplate.java:2132) ~[spring-rabbit-2.3.5.jar:2.3.5]
at org.springframework.amqp.rabbit.core.RabbitTemplate.execute(RabbitTemplate.java:2105) ~[spring-rabbit-2.3.5.jar:2.3.5]
at org.springframework.amqp.rabbit.core.RabbitTemplate.execute(RabbitTemplate.java:2085) ~[spring-rabbit-2.3.5.jar:2.3.5]
at org.springframework.amqp.rabbit.core.RabbitAdmin.getQueueInfo(RabbitAdmin.java:407) ~[spring-rabbit-2.3.5.jar:2.3.5]
at org.springframework.amqp.rabbit.core.RabbitAdmin.getQueueProperties(RabbitAdmin.java:391) ~[spring-rabbit-2.3.5.jar:2.3.5]
at org.springframework.amqp.rabbit.listener.AbstractMessageListenerContainer.attemptDeclarations(AbstractMessageListenerContainer.java:1890) ~[spring-rabbit-2.3.5.jar:2.3.5]
at org.springframework.amqp.rabbit.listener.AbstractMessageListenerContainer.redeclareElementsIfNecessary(AbstractMessageListenerContainer.java:1871) [spring-rabbit-2.3.5.jar:2.3.5]
at org.springframework.amqp.rabbit.listener.SimpleMessageListenerContainer$AsyncMessageProcessingConsumer.initialize(SimpleMessageListenerContainer.java:1346) [spring-rabbit-2.3.5.jar:2.3.5]
at org.springframework.amqp.rabbit.listener.SimpleMessageListenerContainer$AsyncMessageProcessingConsumer.run(SimpleMessageListenerContainer.java:1192) [spring-rabbit-2.3.5.jar:2.3.5]
at java.lang.Thread.run(Thread.java:748) [?:1.8.0_241]
Caused by: java.net.SocketTimeoutException: connect timed out
at java.net.DualStackPlainSocketImpl.waitForConnect(Native Method) ~[?:1.8.0_241]
at java.net.DualStackPlainSocketImpl.socketConnect(DualStackPlainSocketImpl.java:85) ~[?:1.8.0_241]
at java.net.AbstractPlainSocketImpl.doConnect(AbstractPlainSocketImpl.java:350) ~[?:1.8.0_241]
at java.net.AbstractPlainSocketImpl.connectToAddress(AbstractPlainSocketImpl.java:206) ~[?:1.8.0_241]
at java.net.AbstractPlainSocketImpl.connect(AbstractPlainSocketImpl.java:188) ~[?:1.8.0_241]
at java.net.PlainSocketImpl.connect(PlainSocketImpl.java:172) ~[?:1.8.0_241]
at java.net.SocksSocketImpl.connect(SocksSocketImpl.java:392) ~[?:1.8.0_241]
at java.net.Socket.connect(Socket.java:606) ~[?:1.8.0_241]
at com.rabbitmq.client.impl.SocketFrameHandlerFactory.create(SocketFrameHandlerFactory.java:60) ~[amqp-client-5.10.0.jar:5.10.0]
at com.rabbitmq.client.ConnectionFactory.newConnection(ConnectionFactory.java:1137) ~[amqp-client-5.10.0.jar:5.10.0]
at com.rabbitmq.client.ConnectionFactory.newConnection(ConnectionFactory.java:1087) ~[amqp-client-5.10.0.jar:5.10.0]
at org.springframework.amqp.rabbit.connection.AbstractConnectionFactory.connectAddresses(AbstractConnectionFactory.java:638) ~[spring-rabbit-2.3.5.jar:2.3.5]
at org.springframework.amqp.rabbit.connection.AbstractConnectionFactory.connect(AbstractConnectionFactory.java:613) ~[spring-rabbit-2.3.5.jar:2.3.5]
at org.springframework.amqp.rabbit.connection.AbstractConnectionFactory.createBareConnection(AbstractConnectionFactory.java:565) ~[spring-rabbit-2.3.5.jar:2.3.5]
... 12 more
2022-01-10 09:44:16 [traceId:] [ ERROR ] [ org.springframework.amqp.rabbit.listener.SimpleMessageListenerContainer ] Failed to check/redeclare auto-delete queue(s).
org.springframework.amqp.AmqpIOException: java.net.SocketTimeoutException: connect timed out
at org.springframework.amqp.rabbit.support.RabbitExceptionTranslator.convertRabbitAccessException(RabbitExceptionTranslator.java:70) ~[spring-rabbit-2.3.5.jar:2.3.5]
at org.springframework.amqp.rabbit.connection.AbstractConnectionFactory.createBareConnection(AbstractConnectionFactory.java:602) ~[spring-rabbit-2.3.5.jar:2.3.5]
at org.springframework.amqp.rabbit.connection.CachingConnectionFactory.createConnection(CachingConnectionFactory.java:724) ~[spring-rabbit-2.3.5.jar:2.3.5]
at org.springframework.amqp.rabbit.connection.ConnectionFactoryUtils.createConnection(ConnectionFactoryUtils.java:214) ~[spring-rabbit-2.3.5.jar:2.3.5]
at org.springframework.amqp.rabbit.core.RabbitTemplate.doExecute(RabbitTemplate.java:2132) ~[spring-rabbit-2.3.5.jar:2.3.5]
at org.springframework.amqp.rabbit.core.RabbitTemplate.execute(RabbitTemplate.java:2105) ~[spring-rabbit-2.3.5.jar:2.3.5]
at org.springframework.amqp.rabbit.core.RabbitTemplate.execute(RabbitTemplate.java:2085) ~[spring-rabbit-2.3.5.jar:2.3.5]
at org.springframework.amqp.rabbit.core.RabbitAdmin.getQueueInfo(RabbitAdmin.java:407) ~[spring-rabbit-2.3.5.jar:2.3.5]
at org.springframework.amqp.rabbit.core.RabbitAdmin.getQueueProperties(RabbitAdmin.java:391) ~[spring-rabbit-2.3.5.jar:2.3.5]
at org.springframework.amqp.rabbit.listener.AbstractMessageListenerContainer.attemptDeclarations(AbstractMessageListenerContainer.java:1890) ~[spring-rabbit-2.3.5.jar:2.3.5]
at org.springframework.amqp.rabbit.listener.AbstractMessageListenerContainer.redeclareElementsIfNecessary(AbstractMessageListenerContainer.java:1871) [spring-rabbit-2.3.5.jar:2.3.5]
at org.springframework.amqp.rabbit.listener.SimpleMessageListenerContainer$AsyncMessageProcessingConsumer.initialize(SimpleMessageListenerContainer.java:1346) [spring-rabbit-2.3.5.jar:2.3.5]
at org.springframework.amqp.rabbit.listener.SimpleMessageListenerContainer$AsyncMessageProcessingConsumer.run(SimpleMessageListenerContainer.java:1192) [spring-rabbit-2.3.5.jar:2.3.5]
at java.lang.Thread.run(Thread.java:748) [?:1.8.0_241]
Caused by: java.net.SocketTimeoutException: connect timed out
at java.net.DualStackPlainSocketImpl.waitForConnect(Native Method) ~[?:1.8.0_241]
at java.net.DualStackPlainSocketImpl.socketConnect(DualStackPlainSocketImpl.java:85) ~[?:1.8.0_241]
at java.net.AbstractPlainSocketImpl.doConnect(AbstractPlainSocketImpl.java:350) ~[?:1.8.0_241]
at java.net.AbstractPlainSocketImpl.connectToAddress(AbstractPlainSocketImpl.java:206) ~[?:1.8.0_241]
at java.net.AbstractPlainSocketImpl.connect(AbstractPlainSocketImpl.java:188) ~[?:1.8.0_241]
at java.net.PlainSocketImpl.connect(PlainSocketImpl.java:172) ~[?:1.8.0_241]
at java.net.SocksSocketImpl.connect(SocksSocketImpl.java:392) ~[?:1.8.0_241]
at java.net.Socket.connect(Socket.java:606) ~[?:1.8.0_241]
at com.rabbitmq.client.impl.SocketFrameHandlerFactory.create(SocketFrameHandlerFactory.java:60) ~[amqp-client-5.10.0.jar:5.10.0]
at com.rabbitmq.client.ConnectionFactory.newConnection(ConnectionFactory.java:1137) ~[amqp-client-5.10.0.jar:5.10.0]
at com.rabbitmq.client.ConnectionFactory.newConnection(ConnectionFactory.java:1087) ~[amqp-client-5.10.0.jar:5.10.0]
at org.springframework.amqp.rabbit.connection.AbstractConnectionFactory.connectAddresses(AbstractConnectionFactory.java:638) ~[spring-rabbit-2.3.5.jar:2.3.5]
at org.springframework.amqp.rabbit.connection.AbstractConnectionFactory.connect(AbstractConnectionFactory.java:613) ~[spring-rabbit-2.3.5.jar:2.3.5]
at org.springframework.amqp.rabbit.connection.AbstractConnectionFactory.createBareConnection(AbstractConnectionFactory.java:565) ~[spring-rabbit-2.3.5.jar:2.3.5]
... 12 more
2022-01-10 09:44:23 [traceId:] [ ERROR ] [ org.springframework.amqp.rabbit.listener.SimpleMessageListenerContainer ] Failed to check/redeclare auto-delete queue(s).
org.springframework.amqp.AmqpIOException: java.net.SocketTimeoutException: connect timed out
at org.springframework.amqp.rabbit.support.RabbitExceptionTranslator.convertRabbitAccessException(RabbitExceptionTranslator.java:70) ~[spring-rabbit-2.3.5.jar:2.3.5]
at org.springframework.amqp.rabbit.connection.AbstractConnectionFactory.createBareConnection(AbstractConnectionFactory.java:602) ~[spring-rabbit-2.3.5.jar:2.3.5]
at org.springframework.amqp.rabbit.connection.CachingConnectionFactory.createConnection(CachingConnectionFactory.java:724) ~[spring-rabbit-2.3.5.jar:2.3.5]
at org.springframework.amqp.rabbit.connection.ConnectionFactoryUtils.createConnection(ConnectionFactoryUtils.java:214) ~[spring-rabbit-2.3.5.jar:2.3.5]
at org.springframework.amqp.rabbit.core.RabbitTemplate.doExecute(RabbitTemplate.java:2132) ~[spring-rabbit-2.3.5.jar:2.3.5]
at org.springframework.amqp.rabbit.core.RabbitTemplate.execute(RabbitTemplate.java:2105) ~[spring-rabbit-2.3.5.jar:2.3.5]
at org.springframework.amqp.rabbit.core.RabbitTemplate.execute(RabbitTemplate.java:2085) ~[spring-rabbit-2.3.5.jar:2.3.5]
at org.springframework.amqp.rabbit.core.RabbitAdmin.getQueueInfo(RabbitAdmin.java:407) ~[spring-rabbit-2.3.5.jar:2.3.5]
at org.springframework.amqp.rabbit.core.RabbitAdmin.getQueueProperties(RabbitAdmin.java:391) ~[spring-rabbit-2.3.5.jar:2.3.5]
at org.springframework.amqp.rabbit.listener.AbstractMessageListenerContainer.attemptDeclarations(AbstractMessageListenerContainer.java:1890) ~[spring-rabbit-2.3.5.jar:2.3.5]
at org.springframework.amqp.rabbit.listener.AbstractMessageListenerContainer.redeclareElementsIfNecessary(AbstractMessageListenerContainer.java:1871) [spring-rabbit-2.3.5.jar:2.3.5]
at org.springframework.amqp.rabbit.listener.SimpleMessageListenerContainer$AsyncMessageProcessingConsumer.initialize(SimpleMessageListenerContainer.java:1346) [spring-rabbit-2.3.5.jar:2.3.5]
at org.springframework.amqp.rabbit.listener.SimpleMessageListenerContainer$AsyncMessageProcessingConsumer.run(SimpleMessageListenerContainer.java:1192) [spring-rabbit-2.3.5.jar:2.3.5]
at java.lang.Thread.run(Thread.java:748) [?:1.8.0_241]
Caused by: java.net.SocketTimeoutException: connect timed out
at java.net.DualStackPlainSocketImpl.waitForConnect(Native Method) ~[?:1.8.0_241]
at java.net.DualStackPlainSocketImpl.socketConnect(DualStackPlainSocketImpl.java:85) ~[?:1.8.0_241]
at java.net.AbstractPlainSocketImpl.doConnect(AbstractPlainSocketImpl.java:350) ~[?:1.8.0_241]
at java.net.AbstractPlainSocketImpl.connectToAddress(AbstractPlainSocketImpl.java:206) ~[?:1.8.0_241]
at java.net.AbstractPlainSocketImpl.connect(AbstractPlainSocketImpl.java:188) ~[?:1.8.0_241]
at java.net.PlainSocketImpl.connect(PlainSocketImpl.java:172) ~[?:1.8.0_241]
at java.net.SocksSocketImpl.connect(SocksSocketImpl.java:392) ~[?:1.8.0_241]
at java.net.Socket.connect(Socket.java:606) ~[?:1.8.0_241]
at com.rabbitmq.client.impl.SocketFrameHandlerFactory.create(SocketFrameHandlerFactory.java:60) ~[amqp-client-5.10.0.jar:5.10.0]
at com.rabbitmq.client.ConnectionFactory.newConnection(ConnectionFactory.java:1137) ~[amqp-client-5.10.0.jar:5.10.0]
at com.rabbitmq.client.ConnectionFactory.newConnection(ConnectionFactory.java:1087) ~[amqp-client-5.10.0.jar:5.10.0]
at org.springframework.amqp.rabbit.connection.AbstractConnectionFactory.connectAddresses(AbstractConnectionFactory.java:638) ~[spring-rabbit-2.3.5.jar:2.3.5]
at org.springframework.amqp.rabbit.connection.AbstractConnectionFactory.connect(AbstractConnectionFactory.java:613) ~[spring-rabbit-2.3.5.jar:2.3.5]
at org.springframework.amqp.rabbit.connection.AbstractConnectionFactory.createBareConnection(AbstractConnectionFactory.java:565) ~[spring-rabbit-2.3.5.jar:2.3.5]
... 12 more

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff

133
logs/info/info.log Normal file
View File

@ -0,0 +1,133 @@
2022-03-30 13:37:41 [traceId:] [ INFO ] [ org.hibernate.validator.internal.util.Version ] HV000001: Hibernate Validator 6.1.5.Final
2022-03-30 13:37:41 [traceId:] [ INFO ] [ com.ruwii.es.EsApplication ] Starting EsApplication using Java 1.8.0_241 on DESKTOP-0V38B9H with PID 26172 (D:\workspace-eclipse-2020-06\es\target\classes started by Lewis in D:\workspace-eclipse-2020-06\es)
2022-03-30 13:37:41 [traceId:] [ INFO ] [ com.ruwii.es.EsApplication ] No active profile set, falling back to default profiles: default
2022-03-30 13:37:44 [traceId:] [ INFO ] [ org.springframework.data.repository.config.RepositoryConfigurationDelegate ] Multiple Spring Data modules found, entering strict repository configuration mode!
2022-03-30 13:37:44 [traceId:] [ INFO ] [ org.springframework.data.repository.config.RepositoryConfigurationDelegate ] Bootstrapping Spring Data Redis repositories in DEFAULT mode.
2022-03-30 13:37:44 [traceId:] [ INFO ] [ org.springframework.data.repository.config.RepositoryConfigurationDelegate ] Finished Spring Data repository scanning in 15 ms. Found 0 Redis repository interfaces.
2022-03-30 13:37:45 [traceId:] [ INFO ] [ org.springframework.boot.web.embedded.tomcat.TomcatWebServer ] Tomcat initialized with port(s): 8001 (http)
2022-03-30 13:37:45 [traceId:] [ INFO ] [ org.apache.coyote.http11.Http11NioProtocol ] Initializing ProtocolHandler ["http-nio-8001"]
2022-03-30 13:37:45 [traceId:] [ INFO ] [ org.apache.catalina.core.StandardService ] Starting service [Tomcat]
2022-03-30 13:37:45 [traceId:] [ INFO ] [ org.apache.catalina.core.StandardEngine ] Starting Servlet engine: [Apache Tomcat/9.0.43]
2022-03-30 13:37:45 [traceId:] [ INFO ] [ org.apache.catalina.core.AprLifecycleListener ] Loaded Apache Tomcat Native library [1.2.23] using APR version [1.7.0].
2022-03-30 13:37:45 [traceId:] [ INFO ] [ org.apache.catalina.core.AprLifecycleListener ] APR capabilities: IPv6 [true], sendfile [true], accept filters [false], random [true].
2022-03-30 13:37:45 [traceId:] [ INFO ] [ org.apache.catalina.core.AprLifecycleListener ] APR/OpenSSL configuration: useAprConnector [false], useOpenSSL [true]
2022-03-30 13:37:45 [traceId:] [ INFO ] [ org.apache.catalina.core.AprLifecycleListener ] OpenSSL successfully initialized [OpenSSL 1.1.1c 28 May 2019]
2022-03-30 13:37:46 [traceId:] [ INFO ] [ org.apache.catalina.core.ContainerBase.[Tomcat].[localhost].[/] ] Initializing Spring embedded WebApplicationContext
2022-03-30 13:37:46 [traceId:] [ INFO ] [ org.springframework.boot.web.servlet.context.ServletWebServerApplicationContext ] Root WebApplicationContext: initialization completed in 4546 ms
2022-03-30 13:37:49 [traceId:] [ INFO ] [ org.springframework.scheduling.concurrent.ThreadPoolTaskExecutor ] Initializing ExecutorService 'applicationTaskExecutor'
2022-03-30 13:37:50 [traceId:] [ INFO ] [ org.springframework.scheduling.concurrent.ThreadPoolTaskScheduler ] Initializing ExecutorService 'taskScheduler'
2022-03-30 13:37:50 [traceId:] [ INFO ] [ org.apache.coyote.http11.Http11NioProtocol ] Starting ProtocolHandler ["http-nio-8001"]
2022-03-30 13:37:50 [traceId:] [ INFO ] [ org.springframework.boot.web.embedded.tomcat.TomcatWebServer ] Tomcat started on port(s): 8001 (http) with context path ''
2022-03-30 13:37:50 [traceId:] [ INFO ] [ org.springframework.amqp.rabbit.connection.CachingConnectionFactory ] Attempting to connect to: [121.199.10.140:5672]
2022-03-30 13:37:51 [traceId:] [ INFO ] [ org.springframework.amqp.rabbit.listener.SimpleMessageListenerContainer ] Broker not available; cannot force queue declarations during start: java.net.SocketTimeoutException: connect timed out
2022-03-30 13:37:51 [traceId:] [ INFO ] [ org.springframework.amqp.rabbit.connection.CachingConnectionFactory ] Attempting to connect to: [121.199.10.140:5672]
2022-03-30 13:37:52 [traceId:] [ INFO ] [ org.springframework.amqp.rabbit.connection.CachingConnectionFactory ] Attempting to connect to: [121.199.10.140:5672]
2022-03-30 13:37:53 [traceId:] [ INFO ] [ org.springframework.amqp.rabbit.connection.CachingConnectionFactory ] Attempting to connect to: [121.199.10.140:5672]
2022-03-30 13:37:54 [traceId:] [ INFO ] [ org.springframework.amqp.rabbit.listener.SimpleMessageListenerContainer ] Broker not available; cannot force queue declarations during start: java.net.SocketTimeoutException: connect timed out
2022-03-30 13:37:54 [traceId:] [ INFO ] [ org.springframework.amqp.rabbit.connection.CachingConnectionFactory ] Attempting to connect to: [121.199.10.140:5672]
2022-03-30 13:37:55 [traceId:] [ INFO ] [ org.springframework.amqp.rabbit.connection.CachingConnectionFactory ] Attempting to connect to: [121.199.10.140:5672]
2022-03-30 13:37:56 [traceId:] [ INFO ] [ com.ruwii.es.EsApplication ] Started EsApplication in 16.584 seconds (JVM running for 20.151)
2022-03-30 13:37:58 [traceId:] [ INFO ] [ org.springframework.amqp.rabbit.listener.SimpleMessageListenerContainer ] Restarting Consumer@71039ce1: tags=[[]], channel=null, acknowledgeMode=MANUAL local queue size=0
2022-03-30 13:37:58 [traceId:] [ INFO ] [ org.springframework.amqp.rabbit.connection.CachingConnectionFactory ] Attempting to connect to: [121.199.10.140:5672]
2022-03-30 13:37:59 [traceId:] [ INFO ] [ org.springframework.amqp.rabbit.connection.CachingConnectionFactory ] Attempting to connect to: [121.199.10.140:5672]
2022-03-30 13:38:01 [traceId:] [ INFO ] [ org.springframework.amqp.rabbit.listener.SimpleMessageListenerContainer ] Restarting Consumer@70f85235: tags=[[]], channel=null, acknowledgeMode=MANUAL local queue size=0
2022-03-30 13:38:01 [traceId:] [ INFO ] [ org.springframework.amqp.rabbit.connection.CachingConnectionFactory ] Attempting to connect to: [121.199.10.140:5672]
2022-03-30 13:38:02 [traceId:] [ INFO ] [ org.springframework.amqp.rabbit.connection.CachingConnectionFactory ] Attempting to connect to: [121.199.10.140:5672]
2022-03-30 13:38:03 [traceId:] [ INFO ] [ org.springframework.boot.admin.SpringApplicationAdminMXBeanRegistrar$SpringApplicationAdmin ] Application shutdown requested.
2022-03-30 13:38:03 [traceId:] [ INFO ] [ org.springframework.amqp.rabbit.listener.SimpleMessageListenerContainer ] Waiting for workers to finish.
2022-03-30 13:38:03 [traceId:] [ INFO ] [ org.springframework.amqp.rabbit.listener.SimpleMessageListenerContainer ] Successfully waited for workers to finish.
2022-03-30 13:38:03 [traceId:] [ INFO ] [ org.springframework.amqp.rabbit.listener.SimpleMessageListenerContainer ] Waiting for workers to finish.
2022-03-30 13:38:03 [traceId:] [ INFO ] [ org.springframework.amqp.rabbit.listener.SimpleMessageListenerContainer ] Successfully waited for workers to finish.
2022-03-30 13:38:03 [traceId:] [ INFO ] [ org.springframework.scheduling.concurrent.ThreadPoolTaskScheduler ] Shutting down ExecutorService 'taskScheduler'
2022-03-30 13:38:03 [traceId:] [ INFO ] [ org.springframework.amqp.rabbit.listener.SimpleMessageListenerContainer ] Shutdown ignored - container is not active already
2022-03-30 13:38:03 [traceId:] [ INFO ] [ org.springframework.amqp.rabbit.listener.SimpleMessageListenerContainer ] Shutdown ignored - container is not active already
2022-03-30 13:38:03 [traceId:] [ INFO ] [ org.springframework.scheduling.concurrent.ThreadPoolTaskExecutor ] Shutting down ExecutorService 'applicationTaskExecutor'
2022-03-30 13:38:43 [traceId:] [ INFO ] [ org.hibernate.validator.internal.util.Version ] HV000001: Hibernate Validator 6.1.5.Final
2022-03-30 13:38:43 [traceId:] [ INFO ] [ com.ruwii.es.EsApplication ] Starting EsApplication using Java 1.8.0_241 on DESKTOP-0V38B9H with PID 30260 (D:\workspace-eclipse-2020-06\es\target\classes started by Lewis in D:\workspace-eclipse-2020-06\es)
2022-03-30 13:38:43 [traceId:] [ INFO ] [ com.ruwii.es.EsApplication ] No active profile set, falling back to default profiles: default
2022-03-30 13:38:43 [traceId:] [ INFO ] [ org.springframework.data.repository.config.RepositoryConfigurationDelegate ] Multiple Spring Data modules found, entering strict repository configuration mode!
2022-03-30 13:38:43 [traceId:] [ INFO ] [ org.springframework.data.repository.config.RepositoryConfigurationDelegate ] Bootstrapping Spring Data Redis repositories in DEFAULT mode.
2022-03-30 13:38:43 [traceId:] [ INFO ] [ org.springframework.data.repository.config.RepositoryConfigurationDelegate ] Finished Spring Data repository scanning in 13 ms. Found 0 Redis repository interfaces.
2022-03-30 13:38:44 [traceId:] [ INFO ] [ org.springframework.boot.web.embedded.tomcat.TomcatWebServer ] Tomcat initialized with port(s): 8001 (http)
2022-03-30 13:38:44 [traceId:] [ INFO ] [ org.apache.coyote.http11.Http11NioProtocol ] Initializing ProtocolHandler ["http-nio-8001"]
2022-03-30 13:38:44 [traceId:] [ INFO ] [ org.apache.catalina.core.StandardService ] Starting service [Tomcat]
2022-03-30 13:38:44 [traceId:] [ INFO ] [ org.apache.catalina.core.StandardEngine ] Starting Servlet engine: [Apache Tomcat/9.0.43]
2022-03-30 13:38:44 [traceId:] [ INFO ] [ org.apache.catalina.core.AprLifecycleListener ] Loaded Apache Tomcat Native library [1.2.23] using APR version [1.7.0].
2022-03-30 13:38:44 [traceId:] [ INFO ] [ org.apache.catalina.core.AprLifecycleListener ] APR capabilities: IPv6 [true], sendfile [true], accept filters [false], random [true].
2022-03-30 13:38:44 [traceId:] [ INFO ] [ org.apache.catalina.core.AprLifecycleListener ] APR/OpenSSL configuration: useAprConnector [false], useOpenSSL [true]
2022-03-30 13:38:44 [traceId:] [ INFO ] [ org.apache.catalina.core.AprLifecycleListener ] OpenSSL successfully initialized [OpenSSL 1.1.1c 28 May 2019]
2022-03-30 13:38:44 [traceId:] [ INFO ] [ org.apache.catalina.core.ContainerBase.[Tomcat].[localhost].[/] ] Initializing Spring embedded WebApplicationContext
2022-03-30 13:38:44 [traceId:] [ INFO ] [ org.springframework.boot.web.servlet.context.ServletWebServerApplicationContext ] Root WebApplicationContext: initialization completed in 1640 ms
2022-03-30 13:38:46 [traceId:] [ INFO ] [ org.springframework.scheduling.concurrent.ThreadPoolTaskExecutor ] Initializing ExecutorService 'applicationTaskExecutor'
2022-03-30 13:38:47 [traceId:] [ INFO ] [ org.springframework.scheduling.concurrent.ThreadPoolTaskScheduler ] Initializing ExecutorService 'taskScheduler'
2022-03-30 13:38:47 [traceId:] [ INFO ] [ org.apache.coyote.http11.Http11NioProtocol ] Starting ProtocolHandler ["http-nio-8001"]
2022-03-30 13:38:47 [traceId:] [ INFO ] [ org.springframework.boot.web.embedded.tomcat.TomcatWebServer ] Tomcat started on port(s): 8001 (http) with context path ''
2022-03-30 13:38:47 [traceId:] [ INFO ] [ org.springframework.amqp.rabbit.connection.CachingConnectionFactory ] Attempting to connect to: [121.199.10.140:5672]
2022-03-30 13:38:49 [traceId:] [ INFO ] [ org.springframework.amqp.rabbit.listener.SimpleMessageListenerContainer ] Broker not available; cannot force queue declarations during start: java.net.SocketTimeoutException: connect timed out
2022-03-30 13:38:49 [traceId:] [ INFO ] [ org.springframework.amqp.rabbit.connection.CachingConnectionFactory ] Attempting to connect to: [121.199.10.140:5672]
2022-03-30 13:38:51 [traceId:] [ INFO ] [ org.springframework.amqp.rabbit.connection.CachingConnectionFactory ] Attempting to connect to: [121.199.10.140:5672]
2022-03-30 13:38:53 [traceId:] [ INFO ] [ org.springframework.amqp.rabbit.connection.CachingConnectionFactory ] Attempting to connect to: [121.199.10.140:5672]
2022-03-30 13:38:54 [traceId:] [ INFO ] [ org.springframework.boot.admin.SpringApplicationAdminMXBeanRegistrar$SpringApplicationAdmin ] Application shutdown requested.
2022-03-30 13:38:55 [traceId:] [ INFO ] [ org.springframework.amqp.rabbit.listener.SimpleMessageListenerContainer ] Broker not available; cannot force queue declarations during start: java.net.SocketTimeoutException: connect timed out
2022-03-30 13:38:55 [traceId:] [ INFO ] [ org.springframework.amqp.rabbit.connection.CachingConnectionFactory ] Attempting to connect to: [121.199.10.140:5672]
2022-03-30 13:38:55 [traceId:] [ INFO ] [ org.springframework.boot.admin.SpringApplicationAdminMXBeanRegistrar$SpringApplicationAdmin ] Application shutdown requested.
2022-03-30 13:38:57 [traceId:] [ INFO ] [ org.springframework.boot.admin.SpringApplicationAdminMXBeanRegistrar$SpringApplicationAdmin ] Application shutdown requested.
2022-03-30 13:38:57 [traceId:] [ INFO ] [ org.springframework.amqp.rabbit.connection.CachingConnectionFactory ] Attempting to connect to: [121.199.10.140:5672]
2022-03-30 13:38:58 [traceId:] [ INFO ] [ org.springframework.amqp.rabbit.listener.SimpleMessageListenerContainer ] Restarting Consumer@28f05b0c: tags=[[]], channel=null, acknowledgeMode=MANUAL local queue size=0
2022-03-30 13:38:59 [traceId:] [ INFO ] [ org.springframework.amqp.rabbit.connection.CachingConnectionFactory ] Attempting to connect to: [121.199.10.140:5672]
2022-03-30 13:38:59 [traceId:] [ INFO ] [ com.ruwii.es.EsApplication ] Started EsApplication in 16.81 seconds (JVM running for 17.981)
2022-03-30 13:38:59 [traceId:] [ INFO ] [ org.springframework.amqp.rabbit.listener.SimpleMessageListenerContainer ] Waiting for workers to finish.
2022-03-30 13:38:59 [traceId:] [ INFO ] [ org.springframework.amqp.rabbit.listener.SimpleMessageListenerContainer ] Successfully waited for workers to finish.
2022-03-30 13:38:59 [traceId:] [ INFO ] [ org.springframework.amqp.rabbit.listener.SimpleMessageListenerContainer ] Waiting for workers to finish.
2022-03-30 13:38:59 [traceId:] [ INFO ] [ org.springframework.amqp.rabbit.listener.SimpleMessageListenerContainer ] Successfully waited for workers to finish.
2022-03-30 13:38:59 [traceId:] [ INFO ] [ org.springframework.scheduling.concurrent.ThreadPoolTaskScheduler ] Shutting down ExecutorService 'taskScheduler'
2022-03-30 13:38:59 [traceId:] [ INFO ] [ org.springframework.amqp.rabbit.listener.SimpleMessageListenerContainer ] Shutdown ignored - container is not active already
2022-03-30 13:38:59 [traceId:] [ INFO ] [ org.springframework.amqp.rabbit.listener.SimpleMessageListenerContainer ] Shutdown ignored - container is not active already
2022-03-30 13:39:01 [traceId:] [ INFO ] [ org.springframework.amqp.rabbit.connection.CachingConnectionFactory ] Attempting to connect to: [121.199.10.140:5672]
2022-03-30 13:39:03 [traceId:] [ INFO ] [ org.springframework.scheduling.concurrent.ThreadPoolTaskExecutor ] Shutting down ExecutorService 'applicationTaskExecutor'
2022-03-30 13:39:16 [traceId:] [ INFO ] [ org.hibernate.validator.internal.util.Version ] HV000001: Hibernate Validator 6.1.5.Final
2022-03-30 13:39:16 [traceId:] [ INFO ] [ com.ruwii.es.EsApplication ] Starting EsApplication using Java 1.8.0_241 on DESKTOP-0V38B9H with PID 28908 (D:\workspace-eclipse-2020-06\es\target\classes started by Lewis in D:\workspace-eclipse-2020-06\es)
2022-03-30 13:39:16 [traceId:] [ INFO ] [ com.ruwii.es.EsApplication ] No active profile set, falling back to default profiles: default
2022-03-30 13:39:17 [traceId:] [ INFO ] [ org.springframework.data.repository.config.RepositoryConfigurationDelegate ] Multiple Spring Data modules found, entering strict repository configuration mode!
2022-03-30 13:39:17 [traceId:] [ INFO ] [ org.springframework.data.repository.config.RepositoryConfigurationDelegate ] Bootstrapping Spring Data Redis repositories in DEFAULT mode.
2022-03-30 13:39:17 [traceId:] [ INFO ] [ org.springframework.data.repository.config.RepositoryConfigurationDelegate ] Finished Spring Data repository scanning in 14 ms. Found 0 Redis repository interfaces.
2022-03-30 13:39:18 [traceId:] [ INFO ] [ org.springframework.boot.web.embedded.tomcat.TomcatWebServer ] Tomcat initialized with port(s): 8001 (http)
2022-03-30 13:39:18 [traceId:] [ INFO ] [ org.apache.coyote.http11.Http11NioProtocol ] Initializing ProtocolHandler ["http-nio-8001"]
2022-03-30 13:39:18 [traceId:] [ INFO ] [ org.apache.catalina.core.StandardService ] Starting service [Tomcat]
2022-03-30 13:39:18 [traceId:] [ INFO ] [ org.apache.catalina.core.StandardEngine ] Starting Servlet engine: [Apache Tomcat/9.0.43]
2022-03-30 13:39:18 [traceId:] [ INFO ] [ org.apache.catalina.core.AprLifecycleListener ] Loaded Apache Tomcat Native library [1.2.23] using APR version [1.7.0].
2022-03-30 13:39:18 [traceId:] [ INFO ] [ org.apache.catalina.core.AprLifecycleListener ] APR capabilities: IPv6 [true], sendfile [true], accept filters [false], random [true].
2022-03-30 13:39:18 [traceId:] [ INFO ] [ org.apache.catalina.core.AprLifecycleListener ] APR/OpenSSL configuration: useAprConnector [false], useOpenSSL [true]
2022-03-30 13:39:18 [traceId:] [ INFO ] [ org.apache.catalina.core.AprLifecycleListener ] OpenSSL successfully initialized [OpenSSL 1.1.1c 28 May 2019]
2022-03-30 13:39:18 [traceId:] [ INFO ] [ org.apache.catalina.core.ContainerBase.[Tomcat].[localhost].[/] ] Initializing Spring embedded WebApplicationContext
2022-03-30 13:39:18 [traceId:] [ INFO ] [ org.springframework.boot.web.servlet.context.ServletWebServerApplicationContext ] Root WebApplicationContext: initialization completed in 1606 ms
2022-03-30 13:39:19 [traceId:] [ INFO ] [ org.springframework.scheduling.concurrent.ThreadPoolTaskExecutor ] Initializing ExecutorService 'applicationTaskExecutor'
2022-03-30 13:39:20 [traceId:] [ INFO ] [ org.springframework.scheduling.concurrent.ThreadPoolTaskScheduler ] Initializing ExecutorService 'taskScheduler'
2022-03-30 13:39:20 [traceId:] [ INFO ] [ org.apache.coyote.http11.Http11NioProtocol ] Starting ProtocolHandler ["http-nio-8001"]
2022-03-30 13:39:20 [traceId:] [ INFO ] [ org.springframework.boot.web.embedded.tomcat.TomcatWebServer ] Tomcat started on port(s): 8001 (http) with context path ''
2022-03-30 13:39:20 [traceId:] [ INFO ] [ org.springframework.amqp.rabbit.connection.CachingConnectionFactory ] Attempting to connect to: [121.199.10.140:5672]
2022-03-30 13:39:25 [traceId:] [ INFO ] [ org.springframework.amqp.rabbit.listener.SimpleMessageListenerContainer ] Broker not available; cannot force queue declarations during start: java.net.SocketTimeoutException: connect timed out
2022-03-30 13:39:25 [traceId:] [ INFO ] [ org.springframework.amqp.rabbit.connection.CachingConnectionFactory ] Attempting to connect to: [121.199.10.140:5672]
2022-03-30 13:39:30 [traceId:] [ INFO ] [ org.springframework.amqp.rabbit.connection.CachingConnectionFactory ] Attempting to connect to: [121.199.10.140:5672]
2022-03-30 13:39:34 [traceId:] [ INFO ] [ org.springframework.boot.admin.SpringApplicationAdminMXBeanRegistrar$SpringApplicationAdmin ] Application shutdown requested.
2022-03-30 13:39:34 [traceId:] [ INFO ] [ org.springframework.boot.admin.SpringApplicationAdminMXBeanRegistrar$SpringApplicationAdmin ] Application shutdown requested.
2022-03-30 13:39:35 [traceId:] [ INFO ] [ org.springframework.amqp.rabbit.connection.CachingConnectionFactory ] Attempting to connect to: [121.199.10.140:5672]
2022-03-30 13:39:37 [traceId:] [ INFO ] [ org.springframework.boot.admin.SpringApplicationAdminMXBeanRegistrar$SpringApplicationAdmin ] Application shutdown requested.
2022-03-30 13:39:39 [traceId:] [ INFO ] [ org.springframework.boot.admin.SpringApplicationAdminMXBeanRegistrar$SpringApplicationAdmin ] Application shutdown requested.
2022-03-30 13:39:40 [traceId:] [ INFO ] [ org.springframework.amqp.rabbit.listener.SimpleMessageListenerContainer ] Broker not available; cannot force queue declarations during start: java.net.SocketTimeoutException: connect timed out
2022-03-30 13:39:40 [traceId:] [ INFO ] [ org.springframework.amqp.rabbit.connection.CachingConnectionFactory ] Attempting to connect to: [121.199.10.140:5672]
2022-03-30 13:39:40 [traceId:] [ INFO ] [ org.springframework.amqp.rabbit.listener.SimpleMessageListenerContainer ] Restarting Consumer@37bda983: tags=[[]], channel=null, acknowledgeMode=MANUAL local queue size=0
2022-03-30 13:39:41 [traceId:] [ INFO ] [ org.springframework.boot.admin.SpringApplicationAdminMXBeanRegistrar$SpringApplicationAdmin ] Application shutdown requested.
2022-03-30 13:39:43 [traceId:] [ INFO ] [ org.springframework.boot.admin.SpringApplicationAdminMXBeanRegistrar$SpringApplicationAdmin ] Application shutdown requested.
2022-03-30 13:39:45 [traceId:] [ INFO ] [ org.springframework.amqp.rabbit.connection.CachingConnectionFactory ] Attempting to connect to: [121.199.10.140:5672]
2022-03-30 13:39:50 [traceId:] [ INFO ] [ org.springframework.amqp.rabbit.connection.CachingConnectionFactory ] Attempting to connect to: [121.199.10.140:5672]
2022-03-30 13:39:55 [traceId:] [ INFO ] [ org.springframework.amqp.rabbit.connection.CachingConnectionFactory ] Attempting to connect to: [121.199.10.140:5672]
2022-03-30 13:39:55 [traceId:] [ INFO ] [ com.ruwii.es.EsApplication ] Started EsApplication in 39.837 seconds (JVM running for 41.106)
2022-03-30 13:39:55 [traceId:] [ INFO ] [ org.springframework.amqp.rabbit.listener.SimpleMessageListenerContainer ] Waiting for workers to finish.
2022-03-30 13:39:55 [traceId:] [ INFO ] [ org.springframework.amqp.rabbit.listener.SimpleMessageListenerContainer ] Successfully waited for workers to finish.
2022-03-30 13:39:55 [traceId:] [ INFO ] [ org.springframework.amqp.rabbit.listener.SimpleMessageListenerContainer ] Waiting for workers to finish.
2022-03-30 13:39:55 [traceId:] [ INFO ] [ org.springframework.amqp.rabbit.listener.SimpleMessageListenerContainer ] Successfully waited for workers to finish.
2022-03-30 13:39:56 [traceId:] [ INFO ] [ org.springframework.scheduling.concurrent.ThreadPoolTaskScheduler ] Shutting down ExecutorService 'taskScheduler'
2022-03-30 13:39:56 [traceId:] [ INFO ] [ org.springframework.amqp.rabbit.listener.SimpleMessageListenerContainer ] Shutdown ignored - container is not active already
2022-03-30 13:39:56 [traceId:] [ INFO ] [ org.springframework.amqp.rabbit.listener.SimpleMessageListenerContainer ] Shutdown ignored - container is not active already
2022-03-30 13:40:00 [traceId:] [ INFO ] [ org.springframework.scheduling.concurrent.ThreadPoolTaskExecutor ] Shutting down ExecutorService 'applicationTaskExecutor'

View File

@ -0,0 +1,105 @@
2021-04-16 15:11:37 [traceId:] [ INFO ] [ org.hibernate.validator.internal.util.Version ] HV000001: Hibernate Validator 6.1.5.Final
2021-04-16 15:11:37 [traceId:] [ INFO ] [ com.ruwii.es.EsApplication ] Starting EsApplication using Java 1.8.0_241 on DESKTOP-0V38B9H with PID 5076 (D:\workspace-eclipse-2020-06\es\target\classes started by Lewis in D:\workspace-eclipse-2020-06\es)
2021-04-16 15:11:37 [traceId:] [ INFO ] [ com.ruwii.es.EsApplication ] No active profile set, falling back to default profiles: default
2021-04-16 15:11:51 [traceId:] [ INFO ] [ org.hibernate.validator.internal.util.Version ] HV000001: Hibernate Validator 6.1.5.Final
2021-04-16 15:11:51 [traceId:] [ INFO ] [ com.ruwii.es.EsApplication ] Starting EsApplication using Java 1.8.0_241 on DESKTOP-0V38B9H with PID 36604 (D:\workspace-eclipse-2020-06\es\target\classes started by Lewis in D:\workspace-eclipse-2020-06\es)
2021-04-16 15:11:51 [traceId:] [ INFO ] [ com.ruwii.es.EsApplication ] No active profile set, falling back to default profiles: default
2021-04-16 15:12:31 [traceId:] [ INFO ] [ org.hibernate.validator.internal.util.Version ] HV000001: Hibernate Validator 6.1.5.Final
2021-04-16 15:12:31 [traceId:] [ INFO ] [ com.ruwii.es.EsApplication ] Starting EsApplication using Java 1.8.0_241 on DESKTOP-0V38B9H with PID 76 (D:\workspace-eclipse-2020-06\es\target\classes started by Lewis in D:\workspace-eclipse-2020-06\es)
2021-04-16 15:12:31 [traceId:] [ INFO ] [ com.ruwii.es.EsApplication ] No active profile set, falling back to default profiles: default
2021-04-16 15:12:58 [traceId:] [ INFO ] [ org.hibernate.validator.internal.util.Version ] HV000001: Hibernate Validator 6.1.5.Final
2021-04-16 15:12:58 [traceId:] [ INFO ] [ com.ruwii.es.EsApplication ] Starting EsApplication using Java 1.8.0_241 on DESKTOP-0V38B9H with PID 39404 (D:\workspace-eclipse-2020-06\es\target\classes started by Lewis in D:\workspace-eclipse-2020-06\es)
2021-04-16 15:12:58 [traceId:] [ INFO ] [ com.ruwii.es.EsApplication ] No active profile set, falling back to default profiles: default
2021-04-16 15:13:19 [traceId:] [ INFO ] [ org.hibernate.validator.internal.util.Version ] HV000001: Hibernate Validator 6.1.5.Final
2021-04-16 15:13:19 [traceId:] [ INFO ] [ com.ruwii.es.EsApplication ] Starting EsApplication using Java 1.8.0_241 on DESKTOP-0V38B9H with PID 29652 (D:\workspace-eclipse-2020-06\es\target\classes started by Lewis in D:\workspace-eclipse-2020-06\es)
2021-04-16 15:13:19 [traceId:] [ INFO ] [ com.ruwii.es.EsApplication ] No active profile set, falling back to default profiles: default
2021-04-16 15:13:31 [traceId:] [ INFO ] [ org.hibernate.validator.internal.util.Version ] HV000001: Hibernate Validator 6.1.5.Final
2021-04-16 15:13:31 [traceId:] [ INFO ] [ com.ruwii.es.EsApplication ] Starting EsApplication using Java 1.8.0_241 on DESKTOP-0V38B9H with PID 34364 (D:\workspace-eclipse-2020-06\es\target\classes started by Lewis in D:\workspace-eclipse-2020-06\es)
2021-04-16 15:13:31 [traceId:] [ INFO ] [ com.ruwii.es.EsApplication ] No active profile set, falling back to default profiles: default
2021-04-16 15:14:08 [traceId:] [ INFO ] [ org.hibernate.validator.internal.util.Version ] HV000001: Hibernate Validator 6.1.5.Final
2021-04-16 15:14:08 [traceId:] [ INFO ] [ com.ruwii.es.EsApplication ] Starting EsApplication using Java 1.8.0_241 on DESKTOP-0V38B9H with PID 27568 (D:\workspace-eclipse-2020-06\es\target\classes started by Lewis in D:\workspace-eclipse-2020-06\es)
2021-04-16 15:14:08 [traceId:] [ INFO ] [ com.ruwii.es.EsApplication ] No active profile set, falling back to default profiles: default
2021-04-16 15:14:09 [traceId:] [ INFO ] [ org.springframework.data.repository.config.RepositoryConfigurationDelegate ] Multiple Spring Data modules found, entering strict repository configuration mode!
2021-04-16 15:14:09 [traceId:] [ INFO ] [ org.springframework.data.repository.config.RepositoryConfigurationDelegate ] Bootstrapping Spring Data Redis repositories in DEFAULT mode.
2021-04-16 15:14:09 [traceId:] [ INFO ] [ org.springframework.data.repository.config.RepositoryConfigurationDelegate ] Finished Spring Data repository scanning in 12 ms. Found 0 Redis repository interfaces.
2021-04-16 15:14:10 [traceId:] [ INFO ] [ org.springframework.boot.web.embedded.tomcat.TomcatWebServer ] Tomcat initialized with port(s): 8110 (http)
2021-04-16 15:14:10 [traceId:] [ INFO ] [ org.apache.coyote.http11.Http11NioProtocol ] Initializing ProtocolHandler ["http-nio-8110"]
2021-04-16 15:14:10 [traceId:] [ INFO ] [ org.apache.catalina.core.StandardService ] Starting service [Tomcat]
2021-04-16 15:14:10 [traceId:] [ INFO ] [ org.apache.catalina.core.StandardEngine ] Starting Servlet engine: [Apache Tomcat/9.0.43]
2021-04-16 15:14:10 [traceId:] [ INFO ] [ org.apache.catalina.core.AprLifecycleListener ] Loaded Apache Tomcat Native library [1.2.23] using APR version [1.7.0].
2021-04-16 15:14:10 [traceId:] [ INFO ] [ org.apache.catalina.core.AprLifecycleListener ] APR capabilities: IPv6 [true], sendfile [true], accept filters [false], random [true].
2021-04-16 15:14:10 [traceId:] [ INFO ] [ org.apache.catalina.core.AprLifecycleListener ] APR/OpenSSL configuration: useAprConnector [false], useOpenSSL [true]
2021-04-16 15:14:10 [traceId:] [ INFO ] [ org.apache.catalina.core.AprLifecycleListener ] OpenSSL successfully initialized [OpenSSL 1.1.1c 28 May 2019]
2021-04-16 15:14:10 [traceId:] [ INFO ] [ org.apache.catalina.core.ContainerBase.[Tomcat].[localhost].[/] ] Initializing Spring embedded WebApplicationContext
2021-04-16 15:14:10 [traceId:] [ INFO ] [ org.springframework.boot.web.servlet.context.ServletWebServerApplicationContext ] Root WebApplicationContext: initialization completed in 1349 ms
2021-04-16 15:14:11 [traceId:] [ INFO ] [ org.springframework.scheduling.concurrent.ThreadPoolTaskExecutor ] Initializing ExecutorService 'applicationTaskExecutor'
2021-04-16 15:14:12 [traceId:] [ INFO ] [ org.springframework.scheduling.concurrent.ThreadPoolTaskScheduler ] Initializing ExecutorService 'taskScheduler'
2021-04-16 15:14:12 [traceId:] [ INFO ] [ org.apache.coyote.http11.Http11NioProtocol ] Starting ProtocolHandler ["http-nio-8110"]
2021-04-16 15:14:12 [traceId:] [ INFO ] [ org.springframework.boot.web.embedded.tomcat.TomcatWebServer ] Tomcat started on port(s): 8110 (http) with context path ''
2021-04-16 15:14:12 [traceId:] [ INFO ] [ org.springframework.amqp.rabbit.connection.CachingConnectionFactory ] Attempting to connect to: [192.168.1.180:5672]
2021-04-16 15:14:12 [traceId:] [ INFO ] [ org.springframework.amqp.rabbit.connection.CachingConnectionFactory ] Created new connection: rabbitConnectionFactory#1625789b:0/SimpleConnection@5da6b13d [delegate=amqp://admin@192.168.1.180:5672/, localPort= 2841]
2021-04-16 15:14:12 [traceId:] [ INFO ] [ com.ruwii.es.EsApplication ] Started EsApplication in 4.046 seconds (JVM running for 5.435)
2021-04-16 15:14:14 [traceId:] [ INFO ] [ org.springframework.boot.admin.SpringApplicationAdminMXBeanRegistrar$SpringApplicationAdmin ] Application shutdown requested.
2021-04-16 15:14:14 [traceId:] [ INFO ] [ org.springframework.amqp.rabbit.listener.SimpleMessageListenerContainer ] Waiting for workers to finish.
2021-04-16 15:14:15 [traceId:] [ INFO ] [ org.springframework.amqp.rabbit.listener.SimpleMessageListenerContainer ] Successfully waited for workers to finish.
2021-04-16 15:14:16 [traceId:] [ INFO ] [ org.springframework.scheduling.concurrent.ThreadPoolTaskScheduler ] Shutting down ExecutorService 'taskScheduler'
2021-04-16 15:14:16 [traceId:] [ INFO ] [ org.springframework.amqp.rabbit.listener.SimpleMessageListenerContainer ] Shutdown ignored - container is not active already
2021-04-16 15:14:16 [traceId:] [ INFO ] [ org.springframework.scheduling.concurrent.ThreadPoolTaskExecutor ] Shutting down ExecutorService 'applicationTaskExecutor'
2021-04-16 15:20:47 [traceId:] [ INFO ] [ org.hibernate.validator.internal.util.Version ] HV000001: Hibernate Validator 6.1.5.Final
2021-04-16 15:20:47 [traceId:] [ INFO ] [ com.ruwii.es.EsApplication ] Starting EsApplication using Java 1.8.0_241 on DESKTOP-0V38B9H with PID 39312 (D:\workspace-eclipse-2020-06\es\target\classes started by Lewis in D:\workspace-eclipse-2020-06\es)
2021-04-16 15:20:47 [traceId:] [ INFO ] [ com.ruwii.es.EsApplication ] No active profile set, falling back to default profiles: default
2021-04-16 15:20:47 [traceId:] [ INFO ] [ org.springframework.data.repository.config.RepositoryConfigurationDelegate ] Multiple Spring Data modules found, entering strict repository configuration mode!
2021-04-16 15:20:47 [traceId:] [ INFO ] [ org.springframework.data.repository.config.RepositoryConfigurationDelegate ] Bootstrapping Spring Data Redis repositories in DEFAULT mode.
2021-04-16 15:20:47 [traceId:] [ INFO ] [ org.springframework.data.repository.config.RepositoryConfigurationDelegate ] Finished Spring Data repository scanning in 11 ms. Found 0 Redis repository interfaces.
2021-04-16 15:20:48 [traceId:] [ INFO ] [ org.springframework.boot.web.embedded.tomcat.TomcatWebServer ] Tomcat initialized with port(s): 8110 (http)
2021-04-16 15:20:48 [traceId:] [ INFO ] [ org.apache.coyote.http11.Http11NioProtocol ] Initializing ProtocolHandler ["http-nio-8110"]
2021-04-16 15:20:48 [traceId:] [ INFO ] [ org.apache.catalina.core.StandardService ] Starting service [Tomcat]
2021-04-16 15:20:48 [traceId:] [ INFO ] [ org.apache.catalina.core.StandardEngine ] Starting Servlet engine: [Apache Tomcat/9.0.43]
2021-04-16 15:20:48 [traceId:] [ INFO ] [ org.apache.catalina.core.AprLifecycleListener ] Loaded Apache Tomcat Native library [1.2.23] using APR version [1.7.0].
2021-04-16 15:20:48 [traceId:] [ INFO ] [ org.apache.catalina.core.AprLifecycleListener ] APR capabilities: IPv6 [true], sendfile [true], accept filters [false], random [true].
2021-04-16 15:20:48 [traceId:] [ INFO ] [ org.apache.catalina.core.AprLifecycleListener ] APR/OpenSSL configuration: useAprConnector [false], useOpenSSL [true]
2021-04-16 15:20:48 [traceId:] [ INFO ] [ org.apache.catalina.core.AprLifecycleListener ] OpenSSL successfully initialized [OpenSSL 1.1.1c 28 May 2019]
2021-04-16 15:20:48 [traceId:] [ INFO ] [ org.apache.catalina.core.ContainerBase.[Tomcat].[localhost].[/] ] Initializing Spring embedded WebApplicationContext
2021-04-16 15:20:48 [traceId:] [ INFO ] [ org.springframework.boot.web.servlet.context.ServletWebServerApplicationContext ] Root WebApplicationContext: initialization completed in 1425 ms
2021-04-16 15:20:50 [traceId:] [ INFO ] [ org.springframework.scheduling.concurrent.ThreadPoolTaskExecutor ] Initializing ExecutorService 'applicationTaskExecutor'
2021-04-16 15:20:50 [traceId:] [ INFO ] [ org.springframework.scheduling.concurrent.ThreadPoolTaskScheduler ] Initializing ExecutorService 'taskScheduler'
2021-04-16 15:20:50 [traceId:] [ INFO ] [ org.apache.coyote.http11.Http11NioProtocol ] Starting ProtocolHandler ["http-nio-8110"]
2021-04-16 15:20:50 [traceId:] [ INFO ] [ org.springframework.boot.web.embedded.tomcat.TomcatWebServer ] Tomcat started on port(s): 8110 (http) with context path ''
2021-04-16 15:20:50 [traceId:] [ INFO ] [ org.springframework.amqp.rabbit.connection.CachingConnectionFactory ] Attempting to connect to: [192.168.1.180:5672]
2021-04-16 15:20:50 [traceId:] [ INFO ] [ org.springframework.amqp.rabbit.connection.CachingConnectionFactory ] Created new connection: rabbitConnectionFactory#1625789b:0/SimpleConnection@5da6b13d [delegate=amqp://admin@192.168.1.180:5672/, localPort= 3124]
2021-04-16 15:20:50 [traceId:] [ INFO ] [ com.ruwii.es.EsApplication ] Started EsApplication in 4.228 seconds (JVM running for 5.661)
2021-04-16 15:20:53 [traceId:] [ INFO ] [ org.springframework.boot.admin.SpringApplicationAdminMXBeanRegistrar$SpringApplicationAdmin ] Application shutdown requested.
2021-04-16 15:20:53 [traceId:] [ INFO ] [ org.springframework.amqp.rabbit.listener.SimpleMessageListenerContainer ] Waiting for workers to finish.
2021-04-16 15:20:53 [traceId:] [ INFO ] [ org.springframework.amqp.rabbit.listener.SimpleMessageListenerContainer ] Successfully waited for workers to finish.
2021-04-16 15:20:54 [traceId:] [ INFO ] [ org.springframework.scheduling.concurrent.ThreadPoolTaskScheduler ] Shutting down ExecutorService 'taskScheduler'
2021-04-16 15:20:54 [traceId:] [ INFO ] [ org.springframework.amqp.rabbit.listener.SimpleMessageListenerContainer ] Shutdown ignored - container is not active already
2021-04-16 15:20:54 [traceId:] [ INFO ] [ org.springframework.scheduling.concurrent.ThreadPoolTaskExecutor ] Shutting down ExecutorService 'applicationTaskExecutor'
2021-04-16 15:25:06 [traceId:] [ INFO ] [ org.hibernate.validator.internal.util.Version ] HV000001: Hibernate Validator 6.1.5.Final
2021-04-16 15:25:06 [traceId:] [ INFO ] [ com.ruwii.es.EsApplication ] Starting EsApplication using Java 1.8.0_241 on DESKTOP-0V38B9H with PID 21976 (D:\workspace-eclipse-2020-06\es\target\classes started by Lewis in D:\workspace-eclipse-2020-06\es)
2021-04-16 15:25:06 [traceId:] [ INFO ] [ com.ruwii.es.EsApplication ] No active profile set, falling back to default profiles: default
2021-04-16 15:25:07 [traceId:] [ INFO ] [ org.springframework.data.repository.config.RepositoryConfigurationDelegate ] Multiple Spring Data modules found, entering strict repository configuration mode!
2021-04-16 15:25:07 [traceId:] [ INFO ] [ org.springframework.data.repository.config.RepositoryConfigurationDelegate ] Bootstrapping Spring Data Redis repositories in DEFAULT mode.
2021-04-16 15:25:07 [traceId:] [ INFO ] [ org.springframework.data.repository.config.RepositoryConfigurationDelegate ] Finished Spring Data repository scanning in 12 ms. Found 0 Redis repository interfaces.
2021-04-16 15:25:07 [traceId:] [ INFO ] [ org.springframework.boot.web.embedded.tomcat.TomcatWebServer ] Tomcat initialized with port(s): 8110 (http)
2021-04-16 15:25:07 [traceId:] [ INFO ] [ org.apache.coyote.http11.Http11NioProtocol ] Initializing ProtocolHandler ["http-nio-8110"]
2021-04-16 15:25:07 [traceId:] [ INFO ] [ org.apache.catalina.core.StandardService ] Starting service [Tomcat]
2021-04-16 15:25:07 [traceId:] [ INFO ] [ org.apache.catalina.core.StandardEngine ] Starting Servlet engine: [Apache Tomcat/9.0.43]
2021-04-16 15:25:07 [traceId:] [ INFO ] [ org.apache.catalina.core.AprLifecycleListener ] Loaded Apache Tomcat Native library [1.2.23] using APR version [1.7.0].
2021-04-16 15:25:07 [traceId:] [ INFO ] [ org.apache.catalina.core.AprLifecycleListener ] APR capabilities: IPv6 [true], sendfile [true], accept filters [false], random [true].
2021-04-16 15:25:07 [traceId:] [ INFO ] [ org.apache.catalina.core.AprLifecycleListener ] APR/OpenSSL configuration: useAprConnector [false], useOpenSSL [true]
2021-04-16 15:25:07 [traceId:] [ INFO ] [ org.apache.catalina.core.AprLifecycleListener ] OpenSSL successfully initialized [OpenSSL 1.1.1c 28 May 2019]
2021-04-16 15:25:07 [traceId:] [ INFO ] [ org.apache.catalina.core.ContainerBase.[Tomcat].[localhost].[/] ] Initializing Spring embedded WebApplicationContext
2021-04-16 15:25:07 [traceId:] [ INFO ] [ org.springframework.boot.web.servlet.context.ServletWebServerApplicationContext ] Root WebApplicationContext: initialization completed in 1401 ms
2021-04-16 15:25:09 [traceId:] [ INFO ] [ org.springframework.scheduling.concurrent.ThreadPoolTaskExecutor ] Initializing ExecutorService 'applicationTaskExecutor'
2021-04-16 15:25:10 [traceId:] [ INFO ] [ org.springframework.scheduling.concurrent.ThreadPoolTaskScheduler ] Initializing ExecutorService 'taskScheduler'
2021-04-16 15:25:10 [traceId:] [ INFO ] [ org.apache.coyote.http11.Http11NioProtocol ] Starting ProtocolHandler ["http-nio-8110"]
2021-04-16 15:25:10 [traceId:] [ INFO ] [ org.springframework.boot.web.embedded.tomcat.TomcatWebServer ] Tomcat started on port(s): 8110 (http) with context path ''
2021-04-16 15:25:10 [traceId:] [ INFO ] [ org.springframework.amqp.rabbit.connection.CachingConnectionFactory ] Attempting to connect to: [192.168.1.180:5672]
2021-04-16 15:25:10 [traceId:] [ INFO ] [ org.springframework.amqp.rabbit.connection.CachingConnectionFactory ] Created new connection: rabbitConnectionFactory#5a1dddba:0/SimpleConnection@3dc39459 [delegate=amqp://admin@192.168.1.180:5672/, localPort= 3321]
2021-04-16 15:25:10 [traceId:] [ INFO ] [ com.ruwii.es.EsApplication ] Started EsApplication in 4.21 seconds (JVM running for 5.641)
2021-04-16 15:25:12 [traceId:] [ INFO ] [ org.springframework.boot.admin.SpringApplicationAdminMXBeanRegistrar$SpringApplicationAdmin ] Application shutdown requested.
2021-04-16 15:25:12 [traceId:] [ INFO ] [ org.springframework.amqp.rabbit.listener.SimpleMessageListenerContainer ] Waiting for workers to finish.
2021-04-16 15:25:13 [traceId:] [ INFO ] [ org.springframework.amqp.rabbit.listener.SimpleMessageListenerContainer ] Successfully waited for workers to finish.
2021-04-16 15:25:13 [traceId:] [ INFO ] [ org.springframework.scheduling.concurrent.ThreadPoolTaskScheduler ] Shutting down ExecutorService 'taskScheduler'
2021-04-16 15:25:13 [traceId:] [ INFO ] [ org.springframework.amqp.rabbit.listener.SimpleMessageListenerContainer ] Shutdown ignored - container is not active already
2021-04-16 15:25:13 [traceId:] [ INFO ] [ org.springframework.scheduling.concurrent.ThreadPoolTaskExecutor ] Shutting down ExecutorService 'applicationTaskExecutor'

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

View File

@ -0,0 +1,58 @@
2021-05-31 16:06:44 [traceId:] [ INFO ] [ org.hibernate.validator.internal.util.Version ] HV000001: Hibernate Validator 6.1.5.Final
2021-05-31 16:06:45 [traceId:] [ INFO ] [ com.ruwii.es.EsApplication ] Starting EsApplication using Java 11 on DESKTOP-0V38B9H with PID 16468 (D:\workspace-eclipse-2020-06\es\target\classes started by Lewis in D:\workspace-eclipse-2020-06\es)
2021-05-31 16:06:45 [traceId:] [ INFO ] [ com.ruwii.es.EsApplication ] No active profile set, falling back to default profiles: default
2021-05-31 16:06:47 [traceId:] [ INFO ] [ org.springframework.data.repository.config.RepositoryConfigurationDelegate ] Multiple Spring Data modules found, entering strict repository configuration mode!
2021-05-31 16:06:47 [traceId:] [ INFO ] [ org.springframework.data.repository.config.RepositoryConfigurationDelegate ] Bootstrapping Spring Data Redis repositories in DEFAULT mode.
2021-05-31 16:06:47 [traceId:] [ INFO ] [ org.springframework.data.repository.config.RepositoryConfigurationDelegate ] Finished Spring Data repository scanning in 12 ms. Found 0 Redis repository interfaces.
2021-05-31 16:06:48 [traceId:] [ INFO ] [ org.springframework.boot.web.embedded.tomcat.TomcatWebServer ] Tomcat initialized with port(s): 8110 (http)
2021-05-31 16:06:48 [traceId:] [ INFO ] [ org.apache.coyote.http11.Http11NioProtocol ] Initializing ProtocolHandler ["http-nio-8110"]
2021-05-31 16:06:48 [traceId:] [ INFO ] [ org.apache.catalina.core.StandardService ] Starting service [Tomcat]
2021-05-31 16:06:48 [traceId:] [ INFO ] [ org.apache.catalina.core.StandardEngine ] Starting Servlet engine: [Apache Tomcat/9.0.43]
2021-05-31 16:06:48 [traceId:] [ INFO ] [ org.apache.catalina.core.AprLifecycleListener ] Loaded Apache Tomcat Native library [1.2.23] using APR version [1.7.0].
2021-05-31 16:06:48 [traceId:] [ INFO ] [ org.apache.catalina.core.AprLifecycleListener ] APR capabilities: IPv6 [true], sendfile [true], accept filters [false], random [true].
2021-05-31 16:06:48 [traceId:] [ INFO ] [ org.apache.catalina.core.AprLifecycleListener ] APR/OpenSSL configuration: useAprConnector [false], useOpenSSL [true]
2021-05-31 16:06:49 [traceId:] [ INFO ] [ org.apache.catalina.core.AprLifecycleListener ] OpenSSL successfully initialized [OpenSSL 1.1.1c 28 May 2019]
2021-05-31 16:06:49 [traceId:] [ INFO ] [ org.apache.catalina.core.ContainerBase.[Tomcat].[localhost].[/] ] Initializing Spring embedded WebApplicationContext
2021-05-31 16:06:49 [traceId:] [ INFO ] [ org.springframework.boot.web.servlet.context.ServletWebServerApplicationContext ] Root WebApplicationContext: initialization completed in 4032 ms
2021-05-31 16:06:51 [traceId:] [ INFO ] [ org.springframework.scheduling.concurrent.ThreadPoolTaskExecutor ] Initializing ExecutorService 'applicationTaskExecutor'
2021-05-31 16:06:53 [traceId:] [ INFO ] [ org.springframework.scheduling.concurrent.ThreadPoolTaskScheduler ] Initializing ExecutorService 'taskScheduler'
2021-05-31 16:06:53 [traceId:] [ INFO ] [ org.apache.coyote.http11.Http11NioProtocol ] Starting ProtocolHandler ["http-nio-8110"]
2021-05-31 16:06:53 [traceId:] [ INFO ] [ org.springframework.boot.web.embedded.tomcat.TomcatWebServer ] Tomcat started on port(s): 8110 (http) with context path ''
2021-05-31 16:06:53 [traceId:] [ INFO ] [ org.springframework.amqp.rabbit.connection.CachingConnectionFactory ] Attempting to connect to: [192.168.1.180:5672]
2021-05-31 16:06:53 [traceId:] [ INFO ] [ org.springframework.amqp.rabbit.connection.CachingConnectionFactory ] Created new connection: rabbitConnectionFactory#2b3b1124:0/SimpleConnection@33ccead [delegate=amqp://admin@192.168.1.180:5672/, localPort= 5769]
2021-05-31 16:06:53 [traceId:] [ INFO ] [ com.ruwii.es.EsApplication ] Started EsApplication in 9.442 seconds (JVM running for 11.652)
2021-05-31 16:07:32 [traceId:] [ INFO ] [ org.springframework.boot.admin.SpringApplicationAdminMXBeanRegistrar$SpringApplicationAdmin ] Application shutdown requested.
2021-05-31 16:07:32 [traceId:] [ INFO ] [ org.springframework.amqp.rabbit.listener.SimpleMessageListenerContainer ] Waiting for workers to finish.
2021-05-31 16:07:33 [traceId:] [ INFO ] [ org.springframework.amqp.rabbit.listener.SimpleMessageListenerContainer ] Successfully waited for workers to finish.
2021-05-31 16:07:34 [traceId:] [ INFO ] [ org.springframework.scheduling.concurrent.ThreadPoolTaskScheduler ] Shutting down ExecutorService 'taskScheduler'
2021-05-31 16:07:34 [traceId:] [ INFO ] [ org.springframework.amqp.rabbit.listener.SimpleMessageListenerContainer ] Shutdown ignored - container is not active already
2021-05-31 16:07:34 [traceId:] [ INFO ] [ org.springframework.scheduling.concurrent.ThreadPoolTaskExecutor ] Shutting down ExecutorService 'applicationTaskExecutor'
2021-05-31 16:09:19 [traceId:] [ INFO ] [ org.hibernate.validator.internal.util.Version ] HV000001: Hibernate Validator 6.1.5.Final
2021-05-31 16:09:19 [traceId:] [ INFO ] [ com.ruwii.es.EsApplication ] Starting EsApplication using Java 11 on DESKTOP-0V38B9H with PID 20976 (D:\workspace-eclipse-2020-06\es\target\classes started by Lewis in D:\workspace-eclipse-2020-06\es)
2021-05-31 16:09:19 [traceId:] [ INFO ] [ com.ruwii.es.EsApplication ] No active profile set, falling back to default profiles: default
2021-05-31 16:09:19 [traceId:] [ INFO ] [ org.springframework.data.repository.config.RepositoryConfigurationDelegate ] Multiple Spring Data modules found, entering strict repository configuration mode!
2021-05-31 16:09:19 [traceId:] [ INFO ] [ org.springframework.data.repository.config.RepositoryConfigurationDelegate ] Bootstrapping Spring Data Redis repositories in DEFAULT mode.
2021-05-31 16:09:19 [traceId:] [ INFO ] [ org.springframework.data.repository.config.RepositoryConfigurationDelegate ] Finished Spring Data repository scanning in 11 ms. Found 0 Redis repository interfaces.
2021-05-31 16:09:20 [traceId:] [ INFO ] [ org.springframework.boot.web.embedded.tomcat.TomcatWebServer ] Tomcat initialized with port(s): 8110 (http)
2021-05-31 16:09:20 [traceId:] [ INFO ] [ org.apache.coyote.http11.Http11NioProtocol ] Initializing ProtocolHandler ["http-nio-8110"]
2021-05-31 16:09:20 [traceId:] [ INFO ] [ org.apache.catalina.core.StandardService ] Starting service [Tomcat]
2021-05-31 16:09:20 [traceId:] [ INFO ] [ org.apache.catalina.core.StandardEngine ] Starting Servlet engine: [Apache Tomcat/9.0.43]
2021-05-31 16:09:20 [traceId:] [ INFO ] [ org.apache.catalina.core.AprLifecycleListener ] Loaded Apache Tomcat Native library [1.2.23] using APR version [1.7.0].
2021-05-31 16:09:20 [traceId:] [ INFO ] [ org.apache.catalina.core.AprLifecycleListener ] APR capabilities: IPv6 [true], sendfile [true], accept filters [false], random [true].
2021-05-31 16:09:20 [traceId:] [ INFO ] [ org.apache.catalina.core.AprLifecycleListener ] APR/OpenSSL configuration: useAprConnector [false], useOpenSSL [true]
2021-05-31 16:09:20 [traceId:] [ INFO ] [ org.apache.catalina.core.AprLifecycleListener ] OpenSSL successfully initialized [OpenSSL 1.1.1c 28 May 2019]
2021-05-31 16:09:20 [traceId:] [ INFO ] [ org.apache.catalina.core.ContainerBase.[Tomcat].[localhost].[/] ] Initializing Spring embedded WebApplicationContext
2021-05-31 16:09:20 [traceId:] [ INFO ] [ org.springframework.boot.web.servlet.context.ServletWebServerApplicationContext ] Root WebApplicationContext: initialization completed in 1215 ms
2021-05-31 16:09:21 [traceId:] [ INFO ] [ org.springframework.scheduling.concurrent.ThreadPoolTaskExecutor ] Initializing ExecutorService 'applicationTaskExecutor'
2021-05-31 16:09:22 [traceId:] [ INFO ] [ org.springframework.scheduling.concurrent.ThreadPoolTaskScheduler ] Initializing ExecutorService 'taskScheduler'
2021-05-31 16:09:22 [traceId:] [ INFO ] [ org.apache.coyote.http11.Http11NioProtocol ] Starting ProtocolHandler ["http-nio-8110"]
2021-05-31 16:09:22 [traceId:] [ INFO ] [ org.springframework.boot.web.embedded.tomcat.TomcatWebServer ] Tomcat started on port(s): 8110 (http) with context path ''
2021-05-31 16:09:22 [traceId:] [ INFO ] [ org.springframework.amqp.rabbit.connection.CachingConnectionFactory ] Attempting to connect to: [192.168.1.180:5672]
2021-05-31 16:09:22 [traceId:] [ INFO ] [ org.springframework.amqp.rabbit.connection.CachingConnectionFactory ] Created new connection: rabbitConnectionFactory#2adc1e84:0/SimpleConnection@10e4ee33 [delegate=amqp://admin@192.168.1.180:5672/, localPort= 14802]
2021-05-31 16:09:22 [traceId:] [ INFO ] [ com.ruwii.es.EsApplication ] Started EsApplication in 3.4 seconds (JVM running for 4.786)
2021-05-31 16:14:57 [traceId:] [ INFO ] [ org.springframework.boot.admin.SpringApplicationAdminMXBeanRegistrar$SpringApplicationAdmin ] Application shutdown requested.
2021-05-31 16:14:57 [traceId:] [ INFO ] [ org.springframework.amqp.rabbit.listener.SimpleMessageListenerContainer ] Waiting for workers to finish.
2021-05-31 16:14:57 [traceId:] [ INFO ] [ org.springframework.amqp.rabbit.listener.SimpleMessageListenerContainer ] Successfully waited for workers to finish.
2021-05-31 16:14:58 [traceId:] [ INFO ] [ org.springframework.scheduling.concurrent.ThreadPoolTaskScheduler ] Shutting down ExecutorService 'taskScheduler'
2021-05-31 16:14:58 [traceId:] [ INFO ] [ org.springframework.amqp.rabbit.listener.SimpleMessageListenerContainer ] Shutdown ignored - container is not active already
2021-05-31 16:14:58 [traceId:] [ INFO ] [ org.springframework.scheduling.concurrent.ThreadPoolTaskExecutor ] Shutting down ExecutorService 'applicationTaskExecutor'

File diff suppressed because one or more lines are too long

File diff suppressed because it is too large Load Diff

View File

@ -0,0 +1,81 @@
2021-09-01 17:07:13 [traceId:] [ INFO ] [ org.hibernate.validator.internal.util.Version ] HV000001: Hibernate Validator 6.1.5.Final
2021-09-01 17:07:13 [traceId:] [ INFO ] [ com.ruwii.es.EsApplication ] Starting EsApplication using Java 1.8.0_241 on DESKTOP-0V38B9H with PID 3064 (D:\workspace-eclipse-2020-06\es\target\classes started by Lewis in D:\workspace-eclipse-2020-06\es)
2021-09-01 17:07:13 [traceId:] [ INFO ] [ com.ruwii.es.EsApplication ] No active profile set, falling back to default profiles: default
2021-09-01 17:07:15 [traceId:] [ INFO ] [ org.springframework.data.repository.config.RepositoryConfigurationDelegate ] Multiple Spring Data modules found, entering strict repository configuration mode!
2021-09-01 17:07:15 [traceId:] [ INFO ] [ org.springframework.data.repository.config.RepositoryConfigurationDelegate ] Bootstrapping Spring Data Redis repositories in DEFAULT mode.
2021-09-01 17:07:15 [traceId:] [ INFO ] [ org.springframework.data.repository.config.RepositoryConfigurationDelegate ] Finished Spring Data repository scanning in 14 ms. Found 0 Redis repository interfaces.
2021-09-01 17:07:17 [traceId:] [ INFO ] [ org.springframework.boot.web.embedded.tomcat.TomcatWebServer ] Tomcat initialized with port(s): 8110 (http)
2021-09-01 17:07:17 [traceId:] [ INFO ] [ org.apache.coyote.http11.Http11NioProtocol ] Initializing ProtocolHandler ["http-nio-8110"]
2021-09-01 17:07:17 [traceId:] [ INFO ] [ org.apache.catalina.core.StandardService ] Starting service [Tomcat]
2021-09-01 17:07:17 [traceId:] [ INFO ] [ org.apache.catalina.core.StandardEngine ] Starting Servlet engine: [Apache Tomcat/9.0.43]
2021-09-01 17:07:17 [traceId:] [ INFO ] [ org.apache.catalina.core.AprLifecycleListener ] Loaded Apache Tomcat Native library [1.2.23] using APR version [1.7.0].
2021-09-01 17:07:17 [traceId:] [ INFO ] [ org.apache.catalina.core.AprLifecycleListener ] APR capabilities: IPv6 [true], sendfile [true], accept filters [false], random [true].
2021-09-01 17:07:17 [traceId:] [ INFO ] [ org.apache.catalina.core.AprLifecycleListener ] APR/OpenSSL configuration: useAprConnector [false], useOpenSSL [true]
2021-09-01 17:07:17 [traceId:] [ INFO ] [ org.apache.catalina.core.AprLifecycleListener ] OpenSSL successfully initialized [OpenSSL 1.1.1c 28 May 2019]
2021-09-01 17:07:17 [traceId:] [ INFO ] [ org.apache.catalina.core.ContainerBase.[Tomcat].[localhost].[/] ] Initializing Spring embedded WebApplicationContext
2021-09-01 17:07:17 [traceId:] [ INFO ] [ org.springframework.boot.web.servlet.context.ServletWebServerApplicationContext ] Root WebApplicationContext: initialization completed in 4170 ms
2021-09-01 17:07:20 [traceId:] [ INFO ] [ org.springframework.scheduling.concurrent.ThreadPoolTaskExecutor ] Initializing ExecutorService 'applicationTaskExecutor'
2021-09-01 17:07:21 [traceId:] [ INFO ] [ org.springframework.scheduling.concurrent.ThreadPoolTaskScheduler ] Initializing ExecutorService 'taskScheduler'
2021-09-01 17:07:21 [traceId:] [ INFO ] [ org.apache.coyote.http11.Http11NioProtocol ] Starting ProtocolHandler ["http-nio-8110"]
2021-09-01 17:07:21 [traceId:] [ INFO ] [ org.springframework.boot.web.embedded.tomcat.TomcatWebServer ] Tomcat started on port(s): 8110 (http) with context path ''
2021-09-01 17:07:21 [traceId:] [ INFO ] [ org.springframework.amqp.rabbit.connection.CachingConnectionFactory ] Attempting to connect to: [192.168.1.180:5672]
2021-09-01 17:07:21 [traceId:] [ INFO ] [ org.springframework.amqp.rabbit.listener.SimpleMessageListenerContainer ] Broker not available; cannot force queue declarations during start: com.rabbitmq.client.AuthenticationFailureException: ACCESS_REFUSED - Login was refused using authentication mechanism PLAIN. For details see the broker logfile.
2021-09-01 17:07:21 [traceId:] [ INFO ] [ org.springframework.amqp.rabbit.connection.CachingConnectionFactory ] Attempting to connect to: [192.168.1.180:5672]
2021-09-01 17:07:22 [traceId:] [ INFO ] [ org.springframework.amqp.rabbit.connection.CachingConnectionFactory ] Attempting to connect to: [192.168.1.180:5672]
2021-09-01 17:07:22 [traceId:] [ INFO ] [ org.springframework.amqp.rabbit.listener.SimpleMessageListenerContainer ] Waiting for workers to finish.
2021-09-01 17:07:22 [traceId:] [ INFO ] [ org.springframework.amqp.rabbit.listener.SimpleMessageListenerContainer ] Successfully waited for workers to finish.
2021-09-01 17:07:22 [traceId:] [ INFO ] [ org.springframework.scheduling.concurrent.ThreadPoolTaskScheduler ] Shutting down ExecutorService 'taskScheduler'
2021-09-01 17:07:22 [traceId:] [ INFO ] [ org.springframework.amqp.rabbit.listener.SimpleMessageListenerContainer ] Shutdown ignored - container is not active already
2021-09-01 17:07:22 [traceId:] [ INFO ] [ org.springframework.scheduling.concurrent.ThreadPoolTaskExecutor ] Shutting down ExecutorService 'applicationTaskExecutor'
2021-09-01 17:07:23 [traceId:] [ INFO ] [ org.apache.coyote.http11.Http11NioProtocol ] Pausing ProtocolHandler ["http-nio-8110"]
2021-09-01 17:07:23 [traceId:] [ INFO ] [ org.apache.catalina.core.StandardService ] Stopping service [Tomcat]
2021-09-01 17:07:23 [traceId:] [ INFO ] [ org.apache.coyote.http11.Http11NioProtocol ] Stopping ProtocolHandler ["http-nio-8110"]
2021-09-01 17:07:23 [traceId:] [ INFO ] [ org.apache.coyote.http11.Http11NioProtocol ] Destroying ProtocolHandler ["http-nio-8110"]
2021-09-01 17:07:23 [traceId:] [ INFO ] [ org.springframework.boot.autoconfigure.logging.ConditionEvaluationReportLoggingListener ]
Error starting ApplicationContext. To display the conditions report re-run your application with 'debug' enabled.
2021-09-01 17:08:50 [traceId:] [ INFO ] [ org.hibernate.validator.internal.util.Version ] HV000001: Hibernate Validator 6.1.5.Final
2021-09-01 17:08:50 [traceId:] [ INFO ] [ com.ruwii.es.EsApplication ] Starting EsApplication using Java 1.8.0_241 on DESKTOP-0V38B9H with PID 3116 (D:\workspace-eclipse-2020-06\es\target\classes started by Lewis in D:\workspace-eclipse-2020-06\es)
2021-09-01 17:08:50 [traceId:] [ INFO ] [ com.ruwii.es.EsApplication ] No active profile set, falling back to default profiles: default
2021-09-01 17:08:51 [traceId:] [ INFO ] [ org.springframework.data.repository.config.RepositoryConfigurationDelegate ] Multiple Spring Data modules found, entering strict repository configuration mode!
2021-09-01 17:08:51 [traceId:] [ INFO ] [ org.springframework.data.repository.config.RepositoryConfigurationDelegate ] Bootstrapping Spring Data Redis repositories in DEFAULT mode.
2021-09-01 17:08:51 [traceId:] [ INFO ] [ org.springframework.data.repository.config.RepositoryConfigurationDelegate ] Finished Spring Data repository scanning in 13 ms. Found 0 Redis repository interfaces.
2021-09-01 17:08:51 [traceId:] [ INFO ] [ org.springframework.boot.web.embedded.tomcat.TomcatWebServer ] Tomcat initialized with port(s): 8110 (http)
2021-09-01 17:08:51 [traceId:] [ INFO ] [ org.apache.coyote.http11.Http11NioProtocol ] Initializing ProtocolHandler ["http-nio-8110"]
2021-09-01 17:08:51 [traceId:] [ INFO ] [ org.apache.catalina.core.StandardService ] Starting service [Tomcat]
2021-09-01 17:08:51 [traceId:] [ INFO ] [ org.apache.catalina.core.StandardEngine ] Starting Servlet engine: [Apache Tomcat/9.0.43]
2021-09-01 17:08:51 [traceId:] [ INFO ] [ org.apache.catalina.core.AprLifecycleListener ] Loaded Apache Tomcat Native library [1.2.23] using APR version [1.7.0].
2021-09-01 17:08:51 [traceId:] [ INFO ] [ org.apache.catalina.core.AprLifecycleListener ] APR capabilities: IPv6 [true], sendfile [true], accept filters [false], random [true].
2021-09-01 17:08:51 [traceId:] [ INFO ] [ org.apache.catalina.core.AprLifecycleListener ] APR/OpenSSL configuration: useAprConnector [false], useOpenSSL [true]
2021-09-01 17:08:51 [traceId:] [ INFO ] [ org.apache.catalina.core.AprLifecycleListener ] OpenSSL successfully initialized [OpenSSL 1.1.1c 28 May 2019]
2021-09-01 17:08:51 [traceId:] [ INFO ] [ org.apache.catalina.core.ContainerBase.[Tomcat].[localhost].[/] ] Initializing Spring embedded WebApplicationContext
2021-09-01 17:08:51 [traceId:] [ INFO ] [ org.springframework.boot.web.servlet.context.ServletWebServerApplicationContext ] Root WebApplicationContext: initialization completed in 1447 ms
2021-09-01 17:08:53 [traceId:] [ INFO ] [ org.springframework.scheduling.concurrent.ThreadPoolTaskExecutor ] Initializing ExecutorService 'applicationTaskExecutor'
2021-09-01 17:08:54 [traceId:] [ INFO ] [ org.springframework.scheduling.concurrent.ThreadPoolTaskScheduler ] Initializing ExecutorService 'taskScheduler'
2021-09-01 17:08:54 [traceId:] [ INFO ] [ org.apache.coyote.http11.Http11NioProtocol ] Starting ProtocolHandler ["http-nio-8110"]
2021-09-01 17:08:54 [traceId:] [ INFO ] [ org.springframework.boot.web.embedded.tomcat.TomcatWebServer ] Tomcat started on port(s): 8110 (http) with context path ''
2021-09-01 17:08:54 [traceId:] [ INFO ] [ org.springframework.amqp.rabbit.connection.CachingConnectionFactory ] Attempting to connect to: [192.168.1.180:5672]
2021-09-01 17:08:54 [traceId:] [ INFO ] [ org.springframework.amqp.rabbit.connection.CachingConnectionFactory ] Created new connection: rabbitConnectionFactory#2fbd390:0/SimpleConnection@29d3d0fb [delegate=amqp://admin@192.168.1.180:5672/, localPort= 5894]
2021-09-01 17:08:54 [traceId:] [ INFO ] [ com.ruwii.es.EsApplication ] Started EsApplication in 4.702 seconds (JVM running for 6.297)
2021-09-01 17:08:54 [traceId:b9f9e93cd9204830ac999b15e5bc1fa0] [ INFO ] [ com.ruwii.es.service.rabbitmq.MQConsumerService ] 【RabbitMQ接收消息】,(Body:'{"operationType":1,"goodsCode":["G202007281143335523","G202008061322535532"],"timestamp":1629949133,"id":"e93cfadbfdd442cead5d4106ff51c73d"}' MessageProperties [headers={}, contentType=text/plain, contentLength=0, receivedDeliveryMode=PERSISTENT, priority=0, redelivered=false, receivedExchange=, receivedRoutingKey=goodsQueue, deliveryTag=1, consumerTag=amq.ctag-h43A7_ymo61BiQoJWDFpTw, consumerQueue=goodsQueue])
2021-09-01 17:08:54 [traceId:b9f9e93cd9204830ac999b15e5bc1fa0] [ INFO ] [ com.ruwii.es.service.rabbitmq.MQConsumerService ] 【RabbitMQ接收消息】,消息体内容:{"operationType":1,"goodsCode":["G202007281143335523","G202008061322535532"],"timestamp":1629949133,"id":"e93cfadbfdd442cead5d4106ff51c73d"}
2021-09-01 17:08:56 [traceId:b9f9e93cd9204830ac999b15e5bc1fa0] [ INFO ] [ com.ruwii.es.service.es.EsGoodsMixMessageService ] 【商品批量同步】入参:{"operationType":1,"goodsCode":["G202007281143335523","G202008061322535532"],"timestamp":1629949133,"id":"e93cfadbfdd442cead5d4106ff51c73d"}
2021-09-01 17:08:57 [traceId:b9f9e93cd9204830ac999b15e5bc1fa0] [ INFO ] [ com.ruwii.es.service.mihe.impl.MiheServiceImpl ] 【商品查询】数据:
{"statusCode":200,"message":"\u64cd\u4f5c\u6210\u529f","records":[{"goodsDescription":"1311","code":"G202007281143335523","title":"1211","label":"12","shortTitle":"1231","classCode":"10","shopCode":"DP2019062814484433","className":"\u5e8a\u4e0a\u7528\u54c1","seq":"0","saleTime":"2020-07-28 11:43:33","beginTime":null,"endTime":null,"terminalCode":["1"],"monthSales":"2","third_class_code":null,"points_price":"0.00","nameCh":"SK-II","nameEn":"SK-II","brandCode":"PP2019062814475423","goodsPriceActivity":null,"goodsPriceNow":"0.01"},{"goodsDescription":"11","code":"G202008061322535532","title":"wcc\u6d4b\u8bd5","label":"11","shortTitle":"111","classCode":"9","shopCode":"DP2020031713215172","className":"\u5e03\u827a\u8f6f\u88c5","seq":"0","saleTime":"2020-08-06 13:22:53","beginTime":null,"endTime":null,"terminalCode":["7"],"monthSales":"2","third_class_code":null,"points_price":"0.00","nameCh":"\u65b0\u54c1\u724c","nameEn":"XPP","brandCode":"PP2019081314240952","goodsPriceActivity":null,"goodsPriceNow":"1.00"}],"totalRec":2}
2021-09-01 17:08:57 [traceId:b9f9e93cd9204830ac999b15e5bc1fa0] [ INFO ] [ com.ruwii.es.service.es.EsGoodsMixMessageService ] 【商品批量同步】成功
2021-09-01 17:08:57 [traceId:b9f9e93cd9204830ac999b15e5bc1fa0] [ INFO ] [ com.ruwii.es.service.rabbitmq.MQConsumerService ] 【RabbitMQ处理消息】消息消费成功:id:1
2021-09-01 17:09:01 [traceId:] [ INFO ] [ org.apache.catalina.core.ContainerBase.[Tomcat].[localhost].[/] ] Initializing Spring DispatcherServlet 'dispatcherServlet'
2021-09-01 17:09:01 [traceId:] [ INFO ] [ org.springframework.web.servlet.DispatcherServlet ] Initializing Servlet 'dispatcherServlet'
2021-09-01 17:09:01 [traceId:] [ INFO ] [ org.springframework.web.servlet.DispatcherServlet ] Completed initialization in 1 ms
2021-09-01 17:09:02 [traceId:04d6890ee1ed4fcab407affe235623e0] [ INFO ] [ com.ruwii.es.controller.GoodsController ] 【商品查询】入参:{"start":"0","limit":"10","sortType":"1","terminalCode":"7","searchContent":"手机"}
2021-09-01 17:09:02 [traceId:04d6890ee1ed4fcab407affe235623e0] [ INFO ] [ com.ruwii.es.service.es.EsGoodsMixMessageService ] 【商品查询】查询出参:{"ruwiiEsGoodsSearchResponse":{"code":0,"message":"成功","records":[{"code":"G202008211425575542","goodsDescription":"WUGUIGESHANPIN","title":"0.01福利虚拟商品包邮秒发秒评一分钱手机电脑壁纸图片自动发货刷","shortTitle":"WUGUIGESHANPIN","classCode":10,"className":"床上用品","shopCode":"DP2020082114221584","seq":0,"saleTime":"2020-08-21 14:25:57","terminalCode":[1,4,6,7,8],"monthSales":2,"nameCh":"虚拟商品","nameEn":"XNSP","brandCode":"PP2020082114212184","goodsPriceNow":0.01,"label":"V2","updateTime":"2021-07-21 15:10:01"}],"totalRec":1}}
2021-09-01 17:09:15 [traceId:2a6da26dc3c64499b0d11d2da26e9869] [ INFO ] [ com.ruwii.es.controller.GoodsController ] 【商品查询】入参:{"start":"0","limit":"10","sortType":"1","terminalCode":"7","searchContent":"手机"}
2021-09-01 17:09:15 [traceId:2a6da26dc3c64499b0d11d2da26e9869] [ INFO ] [ com.ruwii.es.service.es.EsGoodsMixMessageService ] 【商品查询】查询出参:{"ruwiiEsGoodsSearchResponse":{"code":0,"message":"成功","records":[{"code":"G202008211425575542","goodsDescription":"WUGUIGESHANPIN","title":"0.01福利虚拟商品包邮秒发秒评一分钱手机电脑壁纸图片自动发货刷","shortTitle":"WUGUIGESHANPIN","classCode":10,"className":"床上用品","shopCode":"DP2020082114221584","seq":0,"saleTime":"2020-08-21 14:25:57","terminalCode":[1,4,6,7,8],"monthSales":2,"nameCh":"虚拟商品","nameEn":"XNSP","brandCode":"PP2020082114212184","goodsPriceNow":0.01,"label":"V2","updateTime":"2021-07-21 15:10:01"}],"totalRec":1}}
2021-09-01 17:09:53 [traceId:21e1d019f48c4102b091bb52345883c6] [ INFO ] [ com.ruwii.es.controller.GoodsController ] 【商品查询】入参:{"start":"0","limit":"10","sortType":"1","terminalCode":"7","searchContent":"手机"}
2021-09-01 17:09:53 [traceId:21e1d019f48c4102b091bb52345883c6] [ INFO ] [ com.ruwii.es.service.es.EsGoodsMixMessageService ] 【商品查询】查询出参:{"ruwiiEsGoodsSearchResponse":{"code":0,"message":"成功","records":[{"code":"G202008211425575542","goodsDescription":"WUGUIGESHANPIN","title":"0.01福利虚拟商品包邮秒发秒评一分钱手机电脑壁纸图片自动发货刷","shortTitle":"WUGUIGESHANPIN","classCode":10,"className":"床上用品","shopCode":"DP2020082114221584","seq":0,"saleTime":"2020-08-21 14:25:57","terminalCode":[1,4,6,7,8],"monthSales":2,"nameCh":"虚拟商品","nameEn":"XNSP","brandCode":"PP2020082114212184","goodsPriceNow":0.01,"label":"V2","updateTime":"2021-07-21 15:10:01"}],"totalRec":1}}
2021-09-01 17:36:27 [traceId:] [ INFO ] [ org.springframework.boot.admin.SpringApplicationAdminMXBeanRegistrar$SpringApplicationAdmin ] Application shutdown requested.
2021-09-01 17:36:27 [traceId:] [ INFO ] [ org.springframework.amqp.rabbit.listener.SimpleMessageListenerContainer ] Waiting for workers to finish.
2021-09-01 17:36:27 [traceId:] [ INFO ] [ org.springframework.amqp.rabbit.listener.SimpleMessageListenerContainer ] Successfully waited for workers to finish.
2021-09-01 17:36:28 [traceId:] [ INFO ] [ org.springframework.scheduling.concurrent.ThreadPoolTaskScheduler ] Shutting down ExecutorService 'taskScheduler'
2021-09-01 17:36:28 [traceId:] [ INFO ] [ org.springframework.amqp.rabbit.listener.SimpleMessageListenerContainer ] Shutdown ignored - container is not active already
2021-09-01 17:36:28 [traceId:] [ INFO ] [ org.springframework.scheduling.concurrent.ThreadPoolTaskExecutor ] Shutting down ExecutorService 'applicationTaskExecutor'

File diff suppressed because one or more lines are too long

View File

@ -0,0 +1,478 @@
2021-12-10 15:32:49 [traceId:] [ INFO ] [ org.hibernate.validator.internal.util.Version ] HV000001: Hibernate Validator 6.1.5.Final
2021-12-10 15:32:49 [traceId:] [ INFO ] [ com.ruwii.es.EsApplication ] Starting EsApplication using Java 1.8.0_241 on DESKTOP-0V38B9H with PID 30568 (D:\workspace-eclipse-2020-06\es\target\classes started by Lewis in D:\workspace-eclipse-2020-06\es)
2021-12-10 15:32:49 [traceId:] [ INFO ] [ com.ruwii.es.EsApplication ] No active profile set, falling back to default profiles: default
2021-12-10 15:32:50 [traceId:] [ INFO ] [ org.springframework.data.repository.config.RepositoryConfigurationDelegate ] Multiple Spring Data modules found, entering strict repository configuration mode!
2021-12-10 15:32:50 [traceId:] [ INFO ] [ org.springframework.data.repository.config.RepositoryConfigurationDelegate ] Bootstrapping Spring Data Redis repositories in DEFAULT mode.
2021-12-10 15:32:50 [traceId:] [ INFO ] [ org.springframework.data.repository.config.RepositoryConfigurationDelegate ] Finished Spring Data repository scanning in 12 ms. Found 0 Redis repository interfaces.
2021-12-10 15:32:51 [traceId:] [ INFO ] [ org.springframework.boot.web.embedded.tomcat.TomcatWebServer ] Tomcat initialized with port(s): 8110 (http)
2021-12-10 15:32:51 [traceId:] [ INFO ] [ org.apache.coyote.http11.Http11NioProtocol ] Initializing ProtocolHandler ["http-nio-8110"]
2021-12-10 15:32:51 [traceId:] [ INFO ] [ org.apache.catalina.core.StandardService ] Starting service [Tomcat]
2021-12-10 15:32:51 [traceId:] [ INFO ] [ org.apache.catalina.core.StandardEngine ] Starting Servlet engine: [Apache Tomcat/9.0.43]
2021-12-10 15:32:51 [traceId:] [ INFO ] [ org.apache.catalina.core.AprLifecycleListener ] Loaded Apache Tomcat Native library [1.2.23] using APR version [1.7.0].
2021-12-10 15:32:51 [traceId:] [ INFO ] [ org.apache.catalina.core.AprLifecycleListener ] APR capabilities: IPv6 [true], sendfile [true], accept filters [false], random [true].
2021-12-10 15:32:51 [traceId:] [ INFO ] [ org.apache.catalina.core.AprLifecycleListener ] APR/OpenSSL configuration: useAprConnector [false], useOpenSSL [true]
2021-12-10 15:32:51 [traceId:] [ INFO ] [ org.apache.catalina.core.AprLifecycleListener ] OpenSSL successfully initialized [OpenSSL 1.1.1c 28 May 2019]
2021-12-10 15:32:51 [traceId:] [ INFO ] [ org.apache.catalina.core.ContainerBase.[Tomcat].[localhost].[/] ] Initializing Spring embedded WebApplicationContext
2021-12-10 15:32:51 [traceId:] [ INFO ] [ org.springframework.boot.web.servlet.context.ServletWebServerApplicationContext ] Root WebApplicationContext: initialization completed in 1583 ms
2021-12-10 15:32:53 [traceId:] [ INFO ] [ org.springframework.scheduling.concurrent.ThreadPoolTaskExecutor ] Initializing ExecutorService 'applicationTaskExecutor'
2021-12-10 15:32:53 [traceId:] [ INFO ] [ org.springframework.scheduling.concurrent.ThreadPoolTaskScheduler ] Initializing ExecutorService 'taskScheduler'
2021-12-10 15:32:54 [traceId:] [ INFO ] [ org.apache.coyote.http11.Http11NioProtocol ] Starting ProtocolHandler ["http-nio-8110"]
2021-12-10 15:32:54 [traceId:] [ INFO ] [ org.springframework.boot.web.embedded.tomcat.TomcatWebServer ] Tomcat started on port(s): 8110 (http) with context path ''
2021-12-10 15:32:54 [traceId:] [ INFO ] [ org.springframework.amqp.rabbit.connection.CachingConnectionFactory ] Attempting to connect to: [192.168.1.180:5672]
2021-12-10 15:32:55 [traceId:] [ INFO ] [ org.springframework.amqp.rabbit.listener.SimpleMessageListenerContainer ] Broker not available; cannot force queue declarations during start: java.net.SocketTimeoutException: connect timed out
2021-12-10 15:32:55 [traceId:] [ INFO ] [ org.springframework.amqp.rabbit.connection.CachingConnectionFactory ] Attempting to connect to: [192.168.1.180:5672]
2021-12-10 15:32:56 [traceId:] [ INFO ] [ org.springframework.amqp.rabbit.connection.CachingConnectionFactory ] Attempting to connect to: [192.168.1.180:5672]
2021-12-10 15:32:57 [traceId:] [ INFO ] [ com.ruwii.es.EsApplication ] Started EsApplication in 7.718 seconds (JVM running for 9.215)
2021-12-10 15:33:02 [traceId:] [ INFO ] [ org.springframework.amqp.rabbit.listener.SimpleMessageListenerContainer ] Restarting Consumer@13a268cd: tags=[[]], channel=null, acknowledgeMode=MANUAL local queue size=0
2021-12-10 15:33:02 [traceId:] [ INFO ] [ org.springframework.amqp.rabbit.connection.CachingConnectionFactory ] Attempting to connect to: [192.168.1.180:5672]
2021-12-10 15:33:03 [traceId:] [ INFO ] [ org.springframework.amqp.rabbit.connection.CachingConnectionFactory ] Attempting to connect to: [192.168.1.180:5672]
2021-12-10 15:33:09 [traceId:] [ INFO ] [ org.springframework.amqp.rabbit.listener.SimpleMessageListenerContainer ] Restarting Consumer@a992f57: tags=[[]], channel=null, acknowledgeMode=MANUAL local queue size=0
2021-12-10 15:33:09 [traceId:] [ INFO ] [ org.springframework.amqp.rabbit.connection.CachingConnectionFactory ] Attempting to connect to: [192.168.1.180:5672]
2021-12-10 15:33:10 [traceId:] [ INFO ] [ org.springframework.amqp.rabbit.connection.CachingConnectionFactory ] Attempting to connect to: [192.168.1.180:5672]
2021-12-10 15:33:16 [traceId:] [ INFO ] [ org.springframework.amqp.rabbit.listener.SimpleMessageListenerContainer ] Restarting Consumer@d46ae7a: tags=[[]], channel=null, acknowledgeMode=MANUAL local queue size=0
2021-12-10 15:33:16 [traceId:] [ INFO ] [ org.springframework.amqp.rabbit.connection.CachingConnectionFactory ] Attempting to connect to: [192.168.1.180:5672]
2021-12-10 15:33:17 [traceId:] [ INFO ] [ org.springframework.amqp.rabbit.connection.CachingConnectionFactory ] Attempting to connect to: [192.168.1.180:5672]
2021-12-10 15:33:23 [traceId:] [ INFO ] [ org.springframework.amqp.rabbit.listener.SimpleMessageListenerContainer ] Restarting Consumer@63f1ca7a: tags=[[]], channel=null, acknowledgeMode=MANUAL local queue size=0
2021-12-10 15:33:23 [traceId:] [ INFO ] [ org.springframework.amqp.rabbit.connection.CachingConnectionFactory ] Attempting to connect to: [192.168.1.180:5672]
2021-12-10 15:33:24 [traceId:] [ INFO ] [ org.springframework.amqp.rabbit.connection.CachingConnectionFactory ] Attempting to connect to: [192.168.1.180:5672]
2021-12-10 15:33:25 [traceId:] [ INFO ] [ org.springframework.boot.admin.SpringApplicationAdminMXBeanRegistrar$SpringApplicationAdmin ] Application shutdown requested.
2021-12-10 15:33:25 [traceId:] [ INFO ] [ org.springframework.amqp.rabbit.listener.SimpleMessageListenerContainer ] Waiting for workers to finish.
2021-12-10 15:33:25 [traceId:] [ INFO ] [ org.springframework.amqp.rabbit.listener.SimpleMessageListenerContainer ] Successfully waited for workers to finish.
2021-12-10 15:33:26 [traceId:] [ INFO ] [ org.springframework.scheduling.concurrent.ThreadPoolTaskScheduler ] Shutting down ExecutorService 'taskScheduler'
2021-12-10 15:33:26 [traceId:] [ INFO ] [ org.springframework.amqp.rabbit.listener.SimpleMessageListenerContainer ] Shutdown ignored - container is not active already
2021-12-10 15:33:26 [traceId:] [ INFO ] [ org.springframework.scheduling.concurrent.ThreadPoolTaskExecutor ] Shutting down ExecutorService 'applicationTaskExecutor'
2021-12-10 15:35:38 [traceId:] [ INFO ] [ org.hibernate.validator.internal.util.Version ] HV000001: Hibernate Validator 6.1.5.Final
2021-12-10 15:35:38 [traceId:] [ INFO ] [ com.ruwii.es.EsApplication ] Starting EsApplication using Java 1.8.0_241 on DESKTOP-0V38B9H with PID 29184 (D:\workspace-eclipse-2020-06\es\target\classes started by Lewis in D:\workspace-eclipse-2020-06\es)
2021-12-10 15:35:38 [traceId:] [ INFO ] [ com.ruwii.es.EsApplication ] No active profile set, falling back to default profiles: default
2021-12-10 15:35:39 [traceId:] [ INFO ] [ org.springframework.data.repository.config.RepositoryConfigurationDelegate ] Multiple Spring Data modules found, entering strict repository configuration mode!
2021-12-10 15:35:39 [traceId:] [ INFO ] [ org.springframework.data.repository.config.RepositoryConfigurationDelegate ] Bootstrapping Spring Data Redis repositories in DEFAULT mode.
2021-12-10 15:35:39 [traceId:] [ INFO ] [ org.springframework.data.repository.config.RepositoryConfigurationDelegate ] Finished Spring Data repository scanning in 13 ms. Found 0 Redis repository interfaces.
2021-12-10 15:35:39 [traceId:] [ INFO ] [ org.springframework.boot.web.embedded.tomcat.TomcatWebServer ] Tomcat initialized with port(s): 8110 (http)
2021-12-10 15:35:39 [traceId:] [ INFO ] [ org.apache.coyote.http11.Http11NioProtocol ] Initializing ProtocolHandler ["http-nio-8110"]
2021-12-10 15:35:39 [traceId:] [ INFO ] [ org.apache.catalina.core.StandardService ] Starting service [Tomcat]
2021-12-10 15:35:39 [traceId:] [ INFO ] [ org.apache.catalina.core.StandardEngine ] Starting Servlet engine: [Apache Tomcat/9.0.43]
2021-12-10 15:35:39 [traceId:] [ INFO ] [ org.apache.catalina.core.AprLifecycleListener ] Loaded Apache Tomcat Native library [1.2.23] using APR version [1.7.0].
2021-12-10 15:35:39 [traceId:] [ INFO ] [ org.apache.catalina.core.AprLifecycleListener ] APR capabilities: IPv6 [true], sendfile [true], accept filters [false], random [true].
2021-12-10 15:35:39 [traceId:] [ INFO ] [ org.apache.catalina.core.AprLifecycleListener ] APR/OpenSSL configuration: useAprConnector [false], useOpenSSL [true]
2021-12-10 15:35:39 [traceId:] [ INFO ] [ org.apache.catalina.core.AprLifecycleListener ] OpenSSL successfully initialized [OpenSSL 1.1.1c 28 May 2019]
2021-12-10 15:35:40 [traceId:] [ INFO ] [ org.apache.catalina.core.ContainerBase.[Tomcat].[localhost].[/] ] Initializing Spring embedded WebApplicationContext
2021-12-10 15:35:40 [traceId:] [ INFO ] [ org.springframework.boot.web.servlet.context.ServletWebServerApplicationContext ] Root WebApplicationContext: initialization completed in 1510 ms
2021-12-10 15:35:41 [traceId:] [ INFO ] [ org.springframework.scheduling.concurrent.ThreadPoolTaskExecutor ] Initializing ExecutorService 'applicationTaskExecutor'
2021-12-10 15:35:42 [traceId:] [ INFO ] [ org.springframework.scheduling.concurrent.ThreadPoolTaskScheduler ] Initializing ExecutorService 'taskScheduler'
2021-12-10 15:35:42 [traceId:] [ INFO ] [ org.apache.coyote.http11.Http11NioProtocol ] Starting ProtocolHandler ["http-nio-8110"]
2021-12-10 15:35:42 [traceId:] [ INFO ] [ org.springframework.boot.web.embedded.tomcat.TomcatWebServer ] Tomcat started on port(s): 8110 (http) with context path ''
2021-12-10 15:35:42 [traceId:] [ INFO ] [ org.springframework.amqp.rabbit.connection.CachingConnectionFactory ] Attempting to connect to: [192.168.1.180:5672]
2021-12-10 15:35:43 [traceId:] [ INFO ] [ org.springframework.amqp.rabbit.listener.SimpleMessageListenerContainer ] Broker not available; cannot force queue declarations during start: java.net.SocketTimeoutException: connect timed out
2021-12-10 15:35:43 [traceId:] [ INFO ] [ org.springframework.amqp.rabbit.connection.CachingConnectionFactory ] Attempting to connect to: [192.168.1.180:5672]
2021-12-10 15:35:44 [traceId:] [ INFO ] [ org.springframework.amqp.rabbit.connection.CachingConnectionFactory ] Attempting to connect to: [192.168.1.180:5672]
2021-12-10 15:35:45 [traceId:] [ INFO ] [ com.ruwii.es.EsApplication ] Started EsApplication in 7.578 seconds (JVM running for 9.059)
2021-12-10 15:35:50 [traceId:] [ INFO ] [ org.springframework.amqp.rabbit.listener.SimpleMessageListenerContainer ] Restarting Consumer@77c692b4: tags=[[]], channel=null, acknowledgeMode=MANUAL local queue size=0
2021-12-10 15:35:50 [traceId:] [ INFO ] [ org.springframework.amqp.rabbit.connection.CachingConnectionFactory ] Attempting to connect to: [192.168.1.180:5672]
2021-12-10 15:35:51 [traceId:] [ INFO ] [ org.springframework.amqp.rabbit.connection.CachingConnectionFactory ] Attempting to connect to: [192.168.1.180:5672]
2021-12-10 15:35:57 [traceId:] [ INFO ] [ org.springframework.amqp.rabbit.listener.SimpleMessageListenerContainer ] Restarting Consumer@7d5edd5f: tags=[[]], channel=null, acknowledgeMode=MANUAL local queue size=0
2021-12-10 15:35:57 [traceId:] [ INFO ] [ org.springframework.amqp.rabbit.connection.CachingConnectionFactory ] Attempting to connect to: [192.168.1.180:5672]
2021-12-10 15:35:58 [traceId:] [ INFO ] [ org.springframework.amqp.rabbit.connection.CachingConnectionFactory ] Attempting to connect to: [192.168.1.180:5672]
2021-12-10 15:36:04 [traceId:] [ INFO ] [ org.springframework.amqp.rabbit.listener.SimpleMessageListenerContainer ] Restarting Consumer@4ca2f0d2: tags=[[]], channel=null, acknowledgeMode=MANUAL local queue size=0
2021-12-10 15:36:04 [traceId:] [ INFO ] [ org.springframework.amqp.rabbit.connection.CachingConnectionFactory ] Attempting to connect to: [192.168.1.180:5672]
2021-12-10 15:36:05 [traceId:] [ INFO ] [ org.springframework.amqp.rabbit.connection.CachingConnectionFactory ] Attempting to connect to: [192.168.1.180:5672]
2021-12-10 15:36:11 [traceId:] [ INFO ] [ org.springframework.amqp.rabbit.listener.SimpleMessageListenerContainer ] Restarting Consumer@36b67e17: tags=[[]], channel=null, acknowledgeMode=MANUAL local queue size=0
2021-12-10 15:36:11 [traceId:] [ INFO ] [ org.springframework.amqp.rabbit.connection.CachingConnectionFactory ] Attempting to connect to: [192.168.1.180:5672]
2021-12-10 15:36:12 [traceId:] [ INFO ] [ org.springframework.amqp.rabbit.connection.CachingConnectionFactory ] Attempting to connect to: [192.168.1.180:5672]
2021-12-10 15:36:18 [traceId:] [ INFO ] [ org.springframework.amqp.rabbit.listener.SimpleMessageListenerContainer ] Restarting Consumer@6b3fa820: tags=[[]], channel=null, acknowledgeMode=MANUAL local queue size=0
2021-12-10 15:36:18 [traceId:] [ INFO ] [ org.springframework.amqp.rabbit.connection.CachingConnectionFactory ] Attempting to connect to: [192.168.1.180:5672]
2021-12-10 15:36:19 [traceId:] [ INFO ] [ org.springframework.amqp.rabbit.connection.CachingConnectionFactory ] Attempting to connect to: [192.168.1.180:5672]
2021-12-10 15:36:25 [traceId:] [ INFO ] [ org.springframework.amqp.rabbit.listener.SimpleMessageListenerContainer ] Restarting Consumer@2f5e2df3: tags=[[]], channel=null, acknowledgeMode=MANUAL local queue size=0
2021-12-10 15:36:25 [traceId:] [ INFO ] [ org.springframework.amqp.rabbit.connection.CachingConnectionFactory ] Attempting to connect to: [192.168.1.180:5672]
2021-12-10 15:36:26 [traceId:] [ INFO ] [ org.springframework.amqp.rabbit.connection.CachingConnectionFactory ] Attempting to connect to: [192.168.1.180:5672]
2021-12-10 15:36:32 [traceId:] [ INFO ] [ org.springframework.amqp.rabbit.listener.SimpleMessageListenerContainer ] Restarting Consumer@5c8e0c13: tags=[[]], channel=null, acknowledgeMode=MANUAL local queue size=0
2021-12-10 15:36:32 [traceId:] [ INFO ] [ org.springframework.amqp.rabbit.connection.CachingConnectionFactory ] Attempting to connect to: [192.168.1.180:5672]
2021-12-10 15:36:33 [traceId:] [ INFO ] [ org.springframework.amqp.rabbit.connection.CachingConnectionFactory ] Attempting to connect to: [192.168.1.180:5672]
2021-12-10 15:36:39 [traceId:] [ INFO ] [ org.springframework.amqp.rabbit.listener.SimpleMessageListenerContainer ] Restarting Consumer@6434971c: tags=[[]], channel=null, acknowledgeMode=MANUAL local queue size=0
2021-12-10 15:36:39 [traceId:] [ INFO ] [ org.springframework.amqp.rabbit.connection.CachingConnectionFactory ] Attempting to connect to: [192.168.1.180:5672]
2021-12-10 15:36:40 [traceId:] [ INFO ] [ org.springframework.amqp.rabbit.connection.CachingConnectionFactory ] Attempting to connect to: [192.168.1.180:5672]
2021-12-10 15:36:46 [traceId:] [ INFO ] [ org.springframework.amqp.rabbit.listener.SimpleMessageListenerContainer ] Restarting Consumer@c42fea2: tags=[[]], channel=null, acknowledgeMode=MANUAL local queue size=0
2021-12-10 15:36:46 [traceId:] [ INFO ] [ org.springframework.amqp.rabbit.connection.CachingConnectionFactory ] Attempting to connect to: [192.168.1.180:5672]
2021-12-10 15:36:47 [traceId:] [ INFO ] [ org.springframework.amqp.rabbit.connection.CachingConnectionFactory ] Attempting to connect to: [192.168.1.180:5672]
2021-12-10 15:36:54 [traceId:] [ INFO ] [ org.springframework.amqp.rabbit.listener.SimpleMessageListenerContainer ] Restarting Consumer@4d479e5d: tags=[[]], channel=null, acknowledgeMode=MANUAL local queue size=0
2021-12-10 15:36:54 [traceId:] [ INFO ] [ org.springframework.amqp.rabbit.connection.CachingConnectionFactory ] Attempting to connect to: [192.168.1.180:5672]
2021-12-10 15:36:55 [traceId:] [ INFO ] [ org.springframework.amqp.rabbit.connection.CachingConnectionFactory ] Attempting to connect to: [192.168.1.180:5672]
2021-12-10 15:37:01 [traceId:] [ INFO ] [ org.springframework.amqp.rabbit.listener.SimpleMessageListenerContainer ] Restarting Consumer@2cf0559e: tags=[[]], channel=null, acknowledgeMode=MANUAL local queue size=0
2021-12-10 15:37:01 [traceId:] [ INFO ] [ org.springframework.amqp.rabbit.connection.CachingConnectionFactory ] Attempting to connect to: [192.168.1.180:5672]
2021-12-10 15:37:02 [traceId:] [ INFO ] [ org.springframework.amqp.rabbit.connection.CachingConnectionFactory ] Attempting to connect to: [192.168.1.180:5672]
2021-12-10 15:37:08 [traceId:] [ INFO ] [ org.springframework.amqp.rabbit.listener.SimpleMessageListenerContainer ] Restarting Consumer@261ca356: tags=[[]], channel=null, acknowledgeMode=MANUAL local queue size=0
2021-12-10 15:37:08 [traceId:] [ INFO ] [ org.springframework.amqp.rabbit.connection.CachingConnectionFactory ] Attempting to connect to: [192.168.1.180:5672]
2021-12-10 15:37:09 [traceId:] [ INFO ] [ org.springframework.amqp.rabbit.connection.CachingConnectionFactory ] Attempting to connect to: [192.168.1.180:5672]
2021-12-10 15:37:15 [traceId:] [ INFO ] [ org.springframework.amqp.rabbit.listener.SimpleMessageListenerContainer ] Restarting Consumer@23946cb3: tags=[[]], channel=null, acknowledgeMode=MANUAL local queue size=0
2021-12-10 15:37:15 [traceId:] [ INFO ] [ org.springframework.amqp.rabbit.connection.CachingConnectionFactory ] Attempting to connect to: [192.168.1.180:5672]
2021-12-10 15:37:16 [traceId:] [ INFO ] [ org.springframework.amqp.rabbit.connection.CachingConnectionFactory ] Attempting to connect to: [192.168.1.180:5672]
2021-12-10 15:37:22 [traceId:] [ INFO ] [ org.springframework.amqp.rabbit.listener.SimpleMessageListenerContainer ] Restarting Consumer@4515dd79: tags=[[]], channel=null, acknowledgeMode=MANUAL local queue size=0
2021-12-10 15:37:22 [traceId:] [ INFO ] [ org.springframework.amqp.rabbit.connection.CachingConnectionFactory ] Attempting to connect to: [192.168.1.180:5672]
2021-12-10 15:37:23 [traceId:] [ INFO ] [ org.springframework.amqp.rabbit.connection.CachingConnectionFactory ] Attempting to connect to: [192.168.1.180:5672]
2021-12-10 15:37:29 [traceId:] [ INFO ] [ org.springframework.amqp.rabbit.listener.SimpleMessageListenerContainer ] Restarting Consumer@6184a07f: tags=[[]], channel=null, acknowledgeMode=MANUAL local queue size=0
2021-12-10 15:37:29 [traceId:] [ INFO ] [ org.springframework.amqp.rabbit.connection.CachingConnectionFactory ] Attempting to connect to: [192.168.1.180:5672]
2021-12-10 15:37:30 [traceId:] [ INFO ] [ org.springframework.amqp.rabbit.connection.CachingConnectionFactory ] Attempting to connect to: [192.168.1.180:5672]
2021-12-10 15:37:36 [traceId:] [ INFO ] [ org.springframework.amqp.rabbit.listener.SimpleMessageListenerContainer ] Restarting Consumer@5f3fbcfc: tags=[[]], channel=null, acknowledgeMode=MANUAL local queue size=0
2021-12-10 15:37:36 [traceId:] [ INFO ] [ org.springframework.amqp.rabbit.connection.CachingConnectionFactory ] Attempting to connect to: [192.168.1.180:5672]
2021-12-10 15:37:37 [traceId:] [ INFO ] [ org.springframework.amqp.rabbit.connection.CachingConnectionFactory ] Attempting to connect to: [192.168.1.180:5672]
2021-12-10 15:37:43 [traceId:] [ INFO ] [ org.springframework.amqp.rabbit.listener.SimpleMessageListenerContainer ] Restarting Consumer@3d4b4c74: tags=[[]], channel=null, acknowledgeMode=MANUAL local queue size=0
2021-12-10 15:37:43 [traceId:] [ INFO ] [ org.springframework.amqp.rabbit.connection.CachingConnectionFactory ] Attempting to connect to: [192.168.1.180:5672]
2021-12-10 15:37:44 [traceId:] [ INFO ] [ org.springframework.amqp.rabbit.connection.CachingConnectionFactory ] Attempting to connect to: [192.168.1.180:5672]
2021-12-10 15:37:50 [traceId:] [ INFO ] [ org.springframework.amqp.rabbit.listener.SimpleMessageListenerContainer ] Restarting Consumer@70f475c: tags=[[]], channel=null, acknowledgeMode=MANUAL local queue size=0
2021-12-10 15:37:50 [traceId:] [ INFO ] [ org.springframework.amqp.rabbit.connection.CachingConnectionFactory ] Attempting to connect to: [192.168.1.180:5672]
2021-12-10 15:37:51 [traceId:] [ INFO ] [ org.springframework.amqp.rabbit.connection.CachingConnectionFactory ] Attempting to connect to: [192.168.1.180:5672]
2021-12-10 15:37:57 [traceId:] [ INFO ] [ org.springframework.amqp.rabbit.listener.SimpleMessageListenerContainer ] Restarting Consumer@4a10b0d4: tags=[[]], channel=null, acknowledgeMode=MANUAL local queue size=0
2021-12-10 15:37:57 [traceId:] [ INFO ] [ org.springframework.amqp.rabbit.connection.CachingConnectionFactory ] Attempting to connect to: [192.168.1.180:5672]
2021-12-10 15:37:58 [traceId:] [ INFO ] [ org.springframework.amqp.rabbit.connection.CachingConnectionFactory ] Attempting to connect to: [192.168.1.180:5672]
2021-12-10 15:38:04 [traceId:] [ INFO ] [ org.springframework.amqp.rabbit.listener.SimpleMessageListenerContainer ] Restarting Consumer@252657e6: tags=[[]], channel=null, acknowledgeMode=MANUAL local queue size=0
2021-12-10 15:38:04 [traceId:] [ INFO ] [ org.springframework.amqp.rabbit.connection.CachingConnectionFactory ] Attempting to connect to: [192.168.1.180:5672]
2021-12-10 15:38:05 [traceId:] [ INFO ] [ org.springframework.amqp.rabbit.connection.CachingConnectionFactory ] Attempting to connect to: [192.168.1.180:5672]
2021-12-10 15:38:11 [traceId:] [ INFO ] [ org.springframework.amqp.rabbit.listener.SimpleMessageListenerContainer ] Restarting Consumer@20350bb8: tags=[[]], channel=null, acknowledgeMode=MANUAL local queue size=0
2021-12-10 15:38:11 [traceId:] [ INFO ] [ org.springframework.amqp.rabbit.connection.CachingConnectionFactory ] Attempting to connect to: [192.168.1.180:5672]
2021-12-10 15:38:12 [traceId:] [ INFO ] [ org.springframework.amqp.rabbit.connection.CachingConnectionFactory ] Attempting to connect to: [192.168.1.180:5672]
2021-12-10 15:38:18 [traceId:] [ INFO ] [ org.springframework.amqp.rabbit.listener.SimpleMessageListenerContainer ] Restarting Consumer@362cf67b: tags=[[]], channel=null, acknowledgeMode=MANUAL local queue size=0
2021-12-10 15:38:18 [traceId:] [ INFO ] [ org.springframework.amqp.rabbit.connection.CachingConnectionFactory ] Attempting to connect to: [192.168.1.180:5672]
2021-12-10 15:38:19 [traceId:] [ INFO ] [ org.springframework.amqp.rabbit.connection.CachingConnectionFactory ] Attempting to connect to: [192.168.1.180:5672]
2021-12-10 15:38:25 [traceId:] [ INFO ] [ org.springframework.amqp.rabbit.listener.SimpleMessageListenerContainer ] Restarting Consumer@30676c28: tags=[[]], channel=null, acknowledgeMode=MANUAL local queue size=0
2021-12-10 15:38:25 [traceId:] [ INFO ] [ org.springframework.amqp.rabbit.connection.CachingConnectionFactory ] Attempting to connect to: [192.168.1.180:5672]
2021-12-10 15:38:26 [traceId:] [ INFO ] [ org.springframework.amqp.rabbit.connection.CachingConnectionFactory ] Attempting to connect to: [192.168.1.180:5672]
2021-12-10 15:38:32 [traceId:] [ INFO ] [ org.springframework.amqp.rabbit.listener.SimpleMessageListenerContainer ] Restarting Consumer@446c0763: tags=[[]], channel=null, acknowledgeMode=MANUAL local queue size=0
2021-12-10 15:38:32 [traceId:] [ INFO ] [ org.springframework.amqp.rabbit.connection.CachingConnectionFactory ] Attempting to connect to: [192.168.1.180:5672]
2021-12-10 15:38:33 [traceId:] [ INFO ] [ org.springframework.amqp.rabbit.connection.CachingConnectionFactory ] Attempting to connect to: [192.168.1.180:5672]
2021-12-10 15:38:39 [traceId:] [ INFO ] [ org.springframework.amqp.rabbit.listener.SimpleMessageListenerContainer ] Restarting Consumer@5aea810f: tags=[[]], channel=null, acknowledgeMode=MANUAL local queue size=0
2021-12-10 15:38:39 [traceId:] [ INFO ] [ org.springframework.amqp.rabbit.connection.CachingConnectionFactory ] Attempting to connect to: [192.168.1.180:5672]
2021-12-10 15:38:40 [traceId:] [ INFO ] [ org.springframework.amqp.rabbit.connection.CachingConnectionFactory ] Attempting to connect to: [192.168.1.180:5672]
2021-12-10 15:38:46 [traceId:] [ INFO ] [ org.springframework.amqp.rabbit.listener.SimpleMessageListenerContainer ] Restarting Consumer@1971cf7: tags=[[]], channel=null, acknowledgeMode=MANUAL local queue size=0
2021-12-10 15:38:46 [traceId:] [ INFO ] [ org.springframework.amqp.rabbit.connection.CachingConnectionFactory ] Attempting to connect to: [192.168.1.180:5672]
2021-12-10 15:38:47 [traceId:] [ INFO ] [ org.springframework.amqp.rabbit.connection.CachingConnectionFactory ] Attempting to connect to: [192.168.1.180:5672]
2021-12-10 15:38:53 [traceId:] [ INFO ] [ org.springframework.amqp.rabbit.listener.SimpleMessageListenerContainer ] Restarting Consumer@5d630a01: tags=[[]], channel=null, acknowledgeMode=MANUAL local queue size=0
2021-12-10 15:38:53 [traceId:] [ INFO ] [ org.springframework.amqp.rabbit.connection.CachingConnectionFactory ] Attempting to connect to: [192.168.1.180:5672]
2021-12-10 15:38:54 [traceId:] [ INFO ] [ org.springframework.amqp.rabbit.connection.CachingConnectionFactory ] Attempting to connect to: [192.168.1.180:5672]
2021-12-10 15:39:00 [traceId:] [ INFO ] [ org.springframework.amqp.rabbit.listener.SimpleMessageListenerContainer ] Restarting Consumer@2e105281: tags=[[]], channel=null, acknowledgeMode=MANUAL local queue size=0
2021-12-10 15:39:00 [traceId:] [ INFO ] [ org.springframework.amqp.rabbit.connection.CachingConnectionFactory ] Attempting to connect to: [192.168.1.180:5672]
2021-12-10 15:39:01 [traceId:] [ INFO ] [ org.springframework.amqp.rabbit.connection.CachingConnectionFactory ] Attempting to connect to: [192.168.1.180:5672]
2021-12-10 15:39:07 [traceId:] [ INFO ] [ org.springframework.amqp.rabbit.listener.SimpleMessageListenerContainer ] Restarting Consumer@309474e9: tags=[[]], channel=null, acknowledgeMode=MANUAL local queue size=0
2021-12-10 15:39:07 [traceId:] [ INFO ] [ org.springframework.amqp.rabbit.connection.CachingConnectionFactory ] Attempting to connect to: [192.168.1.180:5672]
2021-12-10 15:39:08 [traceId:] [ INFO ] [ org.springframework.amqp.rabbit.connection.CachingConnectionFactory ] Attempting to connect to: [192.168.1.180:5672]
2021-12-10 15:39:14 [traceId:] [ INFO ] [ org.springframework.amqp.rabbit.listener.SimpleMessageListenerContainer ] Restarting Consumer@71ad3c4f: tags=[[]], channel=null, acknowledgeMode=MANUAL local queue size=0
2021-12-10 15:39:14 [traceId:] [ INFO ] [ org.springframework.amqp.rabbit.connection.CachingConnectionFactory ] Attempting to connect to: [192.168.1.180:5672]
2021-12-10 15:39:15 [traceId:] [ INFO ] [ org.springframework.amqp.rabbit.connection.CachingConnectionFactory ] Attempting to connect to: [192.168.1.180:5672]
2021-12-10 15:39:21 [traceId:] [ INFO ] [ org.springframework.amqp.rabbit.listener.SimpleMessageListenerContainer ] Restarting Consumer@2d6ae0b3: tags=[[]], channel=null, acknowledgeMode=MANUAL local queue size=0
2021-12-10 15:39:21 [traceId:] [ INFO ] [ org.springframework.amqp.rabbit.connection.CachingConnectionFactory ] Attempting to connect to: [192.168.1.180:5672]
2021-12-10 15:39:22 [traceId:] [ INFO ] [ org.springframework.amqp.rabbit.connection.CachingConnectionFactory ] Attempting to connect to: [192.168.1.180:5672]
2021-12-10 15:39:28 [traceId:] [ INFO ] [ org.springframework.amqp.rabbit.listener.SimpleMessageListenerContainer ] Restarting Consumer@3ce4a0f: tags=[[]], channel=null, acknowledgeMode=MANUAL local queue size=0
2021-12-10 15:39:28 [traceId:] [ INFO ] [ org.springframework.amqp.rabbit.connection.CachingConnectionFactory ] Attempting to connect to: [192.168.1.180:5672]
2021-12-10 15:39:29 [traceId:] [ INFO ] [ org.springframework.amqp.rabbit.connection.CachingConnectionFactory ] Attempting to connect to: [192.168.1.180:5672]
2021-12-10 15:39:35 [traceId:] [ INFO ] [ org.springframework.amqp.rabbit.listener.SimpleMessageListenerContainer ] Restarting Consumer@2898a98c: tags=[[]], channel=null, acknowledgeMode=MANUAL local queue size=0
2021-12-10 15:39:35 [traceId:] [ INFO ] [ org.springframework.amqp.rabbit.connection.CachingConnectionFactory ] Attempting to connect to: [192.168.1.180:5672]
2021-12-10 15:39:36 [traceId:] [ INFO ] [ org.springframework.amqp.rabbit.connection.CachingConnectionFactory ] Attempting to connect to: [192.168.1.180:5672]
2021-12-10 15:39:42 [traceId:] [ INFO ] [ org.springframework.amqp.rabbit.listener.SimpleMessageListenerContainer ] Restarting Consumer@28b94649: tags=[[]], channel=null, acknowledgeMode=MANUAL local queue size=0
2021-12-10 15:39:42 [traceId:] [ INFO ] [ org.springframework.amqp.rabbit.connection.CachingConnectionFactory ] Attempting to connect to: [192.168.1.180:5672]
2021-12-10 15:39:43 [traceId:] [ INFO ] [ org.springframework.amqp.rabbit.connection.CachingConnectionFactory ] Attempting to connect to: [192.168.1.180:5672]
2021-12-10 15:39:49 [traceId:] [ INFO ] [ org.springframework.amqp.rabbit.listener.SimpleMessageListenerContainer ] Restarting Consumer@4c8d4857: tags=[[]], channel=null, acknowledgeMode=MANUAL local queue size=0
2021-12-10 15:39:49 [traceId:] [ INFO ] [ org.springframework.amqp.rabbit.connection.CachingConnectionFactory ] Attempting to connect to: [192.168.1.180:5672]
2021-12-10 15:39:50 [traceId:] [ INFO ] [ org.springframework.amqp.rabbit.connection.CachingConnectionFactory ] Attempting to connect to: [192.168.1.180:5672]
2021-12-10 15:39:56 [traceId:] [ INFO ] [ org.springframework.amqp.rabbit.listener.SimpleMessageListenerContainer ] Restarting Consumer@2853b62b: tags=[[]], channel=null, acknowledgeMode=MANUAL local queue size=0
2021-12-10 15:39:56 [traceId:] [ INFO ] [ org.springframework.amqp.rabbit.connection.CachingConnectionFactory ] Attempting to connect to: [192.168.1.180:5672]
2021-12-10 15:39:57 [traceId:] [ INFO ] [ org.springframework.amqp.rabbit.connection.CachingConnectionFactory ] Attempting to connect to: [192.168.1.180:5672]
2021-12-10 15:40:03 [traceId:] [ INFO ] [ org.springframework.amqp.rabbit.listener.SimpleMessageListenerContainer ] Restarting Consumer@207bb9f9: tags=[[]], channel=null, acknowledgeMode=MANUAL local queue size=0
2021-12-10 15:40:03 [traceId:] [ INFO ] [ org.springframework.amqp.rabbit.connection.CachingConnectionFactory ] Attempting to connect to: [192.168.1.180:5672]
2021-12-10 15:40:04 [traceId:] [ INFO ] [ org.springframework.amqp.rabbit.connection.CachingConnectionFactory ] Attempting to connect to: [192.168.1.180:5672]
2021-12-10 15:40:10 [traceId:] [ INFO ] [ org.springframework.amqp.rabbit.listener.SimpleMessageListenerContainer ] Restarting Consumer@4f2c39b1: tags=[[]], channel=null, acknowledgeMode=MANUAL local queue size=0
2021-12-10 15:40:10 [traceId:] [ INFO ] [ org.springframework.amqp.rabbit.connection.CachingConnectionFactory ] Attempting to connect to: [192.168.1.180:5672]
2021-12-10 15:40:11 [traceId:] [ INFO ] [ org.springframework.amqp.rabbit.connection.CachingConnectionFactory ] Attempting to connect to: [192.168.1.180:5672]
2021-12-10 15:40:17 [traceId:] [ INFO ] [ org.springframework.amqp.rabbit.listener.SimpleMessageListenerContainer ] Restarting Consumer@25045c40: tags=[[]], channel=null, acknowledgeMode=MANUAL local queue size=0
2021-12-10 15:40:17 [traceId:] [ INFO ] [ org.springframework.amqp.rabbit.connection.CachingConnectionFactory ] Attempting to connect to: [192.168.1.180:5672]
2021-12-10 15:40:18 [traceId:] [ INFO ] [ org.springframework.amqp.rabbit.connection.CachingConnectionFactory ] Attempting to connect to: [192.168.1.180:5672]
2021-12-10 15:40:24 [traceId:] [ INFO ] [ org.springframework.amqp.rabbit.listener.SimpleMessageListenerContainer ] Restarting Consumer@736967c9: tags=[[]], channel=null, acknowledgeMode=MANUAL local queue size=0
2021-12-10 15:40:24 [traceId:] [ INFO ] [ org.springframework.amqp.rabbit.connection.CachingConnectionFactory ] Attempting to connect to: [192.168.1.180:5672]
2021-12-10 15:40:25 [traceId:] [ INFO ] [ org.springframework.amqp.rabbit.connection.CachingConnectionFactory ] Attempting to connect to: [192.168.1.180:5672]
2021-12-10 15:40:31 [traceId:] [ INFO ] [ org.springframework.amqp.rabbit.listener.SimpleMessageListenerContainer ] Restarting Consumer@7d03b003: tags=[[]], channel=null, acknowledgeMode=MANUAL local queue size=0
2021-12-10 15:40:31 [traceId:] [ INFO ] [ org.springframework.amqp.rabbit.connection.CachingConnectionFactory ] Attempting to connect to: [192.168.1.180:5672]
2021-12-10 15:40:32 [traceId:] [ INFO ] [ org.springframework.amqp.rabbit.connection.CachingConnectionFactory ] Attempting to connect to: [192.168.1.180:5672]
2021-12-10 15:40:38 [traceId:] [ INFO ] [ org.springframework.amqp.rabbit.listener.SimpleMessageListenerContainer ] Restarting Consumer@7df4a7ff: tags=[[]], channel=null, acknowledgeMode=MANUAL local queue size=0
2021-12-10 15:40:38 [traceId:] [ INFO ] [ org.springframework.amqp.rabbit.connection.CachingConnectionFactory ] Attempting to connect to: [192.168.1.180:5672]
2021-12-10 15:40:39 [traceId:] [ INFO ] [ org.springframework.amqp.rabbit.connection.CachingConnectionFactory ] Attempting to connect to: [192.168.1.180:5672]
2021-12-10 15:40:45 [traceId:] [ INFO ] [ org.springframework.amqp.rabbit.listener.SimpleMessageListenerContainer ] Restarting Consumer@6c4bfaef: tags=[[]], channel=null, acknowledgeMode=MANUAL local queue size=0
2021-12-10 15:40:45 [traceId:] [ INFO ] [ org.springframework.amqp.rabbit.connection.CachingConnectionFactory ] Attempting to connect to: [192.168.1.180:5672]
2021-12-10 15:40:46 [traceId:] [ INFO ] [ org.springframework.amqp.rabbit.connection.CachingConnectionFactory ] Attempting to connect to: [192.168.1.180:5672]
2021-12-10 15:40:53 [traceId:] [ INFO ] [ org.springframework.amqp.rabbit.listener.SimpleMessageListenerContainer ] Restarting Consumer@52b03839: tags=[[]], channel=null, acknowledgeMode=MANUAL local queue size=0
2021-12-10 15:40:53 [traceId:] [ INFO ] [ org.springframework.amqp.rabbit.connection.CachingConnectionFactory ] Attempting to connect to: [192.168.1.180:5672]
2021-12-10 15:40:54 [traceId:] [ INFO ] [ org.springframework.amqp.rabbit.connection.CachingConnectionFactory ] Attempting to connect to: [192.168.1.180:5672]
2021-12-10 15:41:00 [traceId:] [ INFO ] [ org.springframework.amqp.rabbit.listener.SimpleMessageListenerContainer ] Restarting Consumer@633f9cbf: tags=[[]], channel=null, acknowledgeMode=MANUAL local queue size=0
2021-12-10 15:41:00 [traceId:] [ INFO ] [ org.springframework.amqp.rabbit.connection.CachingConnectionFactory ] Attempting to connect to: [192.168.1.180:5672]
2021-12-10 15:41:01 [traceId:] [ INFO ] [ org.springframework.amqp.rabbit.connection.CachingConnectionFactory ] Attempting to connect to: [192.168.1.180:5672]
2021-12-10 15:41:07 [traceId:] [ INFO ] [ org.springframework.amqp.rabbit.listener.SimpleMessageListenerContainer ] Restarting Consumer@53c501ec: tags=[[]], channel=null, acknowledgeMode=MANUAL local queue size=0
2021-12-10 15:41:07 [traceId:] [ INFO ] [ org.springframework.amqp.rabbit.connection.CachingConnectionFactory ] Attempting to connect to: [192.168.1.180:5672]
2021-12-10 15:41:08 [traceId:] [ INFO ] [ org.springframework.amqp.rabbit.connection.CachingConnectionFactory ] Attempting to connect to: [192.168.1.180:5672]
2021-12-10 15:41:14 [traceId:] [ INFO ] [ org.springframework.amqp.rabbit.listener.SimpleMessageListenerContainer ] Restarting Consumer@13c0a09e: tags=[[]], channel=null, acknowledgeMode=MANUAL local queue size=0
2021-12-10 15:41:14 [traceId:] [ INFO ] [ org.springframework.amqp.rabbit.connection.CachingConnectionFactory ] Attempting to connect to: [192.168.1.180:5672]
2021-12-10 15:41:15 [traceId:] [ INFO ] [ org.springframework.amqp.rabbit.connection.CachingConnectionFactory ] Attempting to connect to: [192.168.1.180:5672]
2021-12-10 15:41:21 [traceId:] [ INFO ] [ org.springframework.amqp.rabbit.listener.SimpleMessageListenerContainer ] Restarting Consumer@84b417e: tags=[[]], channel=null, acknowledgeMode=MANUAL local queue size=0
2021-12-10 15:41:21 [traceId:] [ INFO ] [ org.springframework.amqp.rabbit.connection.CachingConnectionFactory ] Attempting to connect to: [192.168.1.180:5672]
2021-12-10 15:41:22 [traceId:] [ INFO ] [ org.springframework.amqp.rabbit.connection.CachingConnectionFactory ] Attempting to connect to: [192.168.1.180:5672]
2021-12-10 15:41:28 [traceId:] [ INFO ] [ org.springframework.amqp.rabbit.listener.SimpleMessageListenerContainer ] Restarting Consumer@46ae4de5: tags=[[]], channel=null, acknowledgeMode=MANUAL local queue size=0
2021-12-10 15:41:28 [traceId:] [ INFO ] [ org.springframework.amqp.rabbit.connection.CachingConnectionFactory ] Attempting to connect to: [192.168.1.180:5672]
2021-12-10 15:41:29 [traceId:] [ INFO ] [ org.springframework.amqp.rabbit.connection.CachingConnectionFactory ] Attempting to connect to: [192.168.1.180:5672]
2021-12-10 15:41:35 [traceId:] [ INFO ] [ org.springframework.amqp.rabbit.listener.SimpleMessageListenerContainer ] Restarting Consumer@44f06369: tags=[[]], channel=null, acknowledgeMode=MANUAL local queue size=0
2021-12-10 15:41:35 [traceId:] [ INFO ] [ org.springframework.amqp.rabbit.connection.CachingConnectionFactory ] Attempting to connect to: [192.168.1.180:5672]
2021-12-10 15:41:36 [traceId:] [ INFO ] [ org.springframework.amqp.rabbit.connection.CachingConnectionFactory ] Attempting to connect to: [192.168.1.180:5672]
2021-12-10 15:41:42 [traceId:] [ INFO ] [ org.springframework.amqp.rabbit.listener.SimpleMessageListenerContainer ] Restarting Consumer@7ee56991: tags=[[]], channel=null, acknowledgeMode=MANUAL local queue size=0
2021-12-10 15:41:42 [traceId:] [ INFO ] [ org.springframework.amqp.rabbit.connection.CachingConnectionFactory ] Attempting to connect to: [192.168.1.180:5672]
2021-12-10 15:41:43 [traceId:] [ INFO ] [ org.springframework.amqp.rabbit.connection.CachingConnectionFactory ] Attempting to connect to: [192.168.1.180:5672]
2021-12-10 15:41:49 [traceId:] [ INFO ] [ org.springframework.amqp.rabbit.listener.SimpleMessageListenerContainer ] Restarting Consumer@7083ccd0: tags=[[]], channel=null, acknowledgeMode=MANUAL local queue size=0
2021-12-10 15:41:49 [traceId:] [ INFO ] [ org.springframework.amqp.rabbit.connection.CachingConnectionFactory ] Attempting to connect to: [192.168.1.180:5672]
2021-12-10 15:41:50 [traceId:] [ INFO ] [ org.springframework.amqp.rabbit.connection.CachingConnectionFactory ] Attempting to connect to: [192.168.1.180:5672]
2021-12-10 15:41:56 [traceId:] [ INFO ] [ org.springframework.amqp.rabbit.listener.SimpleMessageListenerContainer ] Restarting Consumer@17486245: tags=[[]], channel=null, acknowledgeMode=MANUAL local queue size=0
2021-12-10 15:41:56 [traceId:] [ INFO ] [ org.springframework.amqp.rabbit.connection.CachingConnectionFactory ] Attempting to connect to: [192.168.1.180:5672]
2021-12-10 15:41:57 [traceId:] [ INFO ] [ org.springframework.amqp.rabbit.connection.CachingConnectionFactory ] Attempting to connect to: [192.168.1.180:5672]
2021-12-10 15:42:03 [traceId:] [ INFO ] [ org.springframework.amqp.rabbit.listener.SimpleMessageListenerContainer ] Restarting Consumer@35d8e2ff: tags=[[]], channel=null, acknowledgeMode=MANUAL local queue size=0
2021-12-10 15:42:03 [traceId:] [ INFO ] [ org.springframework.amqp.rabbit.connection.CachingConnectionFactory ] Attempting to connect to: [192.168.1.180:5672]
2021-12-10 15:42:04 [traceId:] [ INFO ] [ org.springframework.amqp.rabbit.connection.CachingConnectionFactory ] Attempting to connect to: [192.168.1.180:5672]
2021-12-10 15:42:10 [traceId:] [ INFO ] [ org.springframework.amqp.rabbit.listener.SimpleMessageListenerContainer ] Restarting Consumer@7ff4ad6c: tags=[[]], channel=null, acknowledgeMode=MANUAL local queue size=0
2021-12-10 15:42:10 [traceId:] [ INFO ] [ org.springframework.amqp.rabbit.connection.CachingConnectionFactory ] Attempting to connect to: [192.168.1.180:5672]
2021-12-10 15:42:11 [traceId:] [ INFO ] [ org.springframework.amqp.rabbit.connection.CachingConnectionFactory ] Attempting to connect to: [192.168.1.180:5672]
2021-12-10 15:42:17 [traceId:] [ INFO ] [ org.springframework.amqp.rabbit.listener.SimpleMessageListenerContainer ] Restarting Consumer@7f3b6b7: tags=[[]], channel=null, acknowledgeMode=MANUAL local queue size=0
2021-12-10 15:42:17 [traceId:] [ INFO ] [ org.springframework.amqp.rabbit.connection.CachingConnectionFactory ] Attempting to connect to: [192.168.1.180:5672]
2021-12-10 15:42:18 [traceId:] [ INFO ] [ org.springframework.amqp.rabbit.connection.CachingConnectionFactory ] Attempting to connect to: [192.168.1.180:5672]
2021-12-10 15:42:24 [traceId:] [ INFO ] [ org.springframework.amqp.rabbit.listener.SimpleMessageListenerContainer ] Restarting Consumer@1f3cfd87: tags=[[]], channel=null, acknowledgeMode=MANUAL local queue size=0
2021-12-10 15:42:24 [traceId:] [ INFO ] [ org.springframework.amqp.rabbit.connection.CachingConnectionFactory ] Attempting to connect to: [192.168.1.180:5672]
2021-12-10 15:42:25 [traceId:] [ INFO ] [ org.springframework.amqp.rabbit.connection.CachingConnectionFactory ] Attempting to connect to: [192.168.1.180:5672]
2021-12-10 15:42:31 [traceId:] [ INFO ] [ org.springframework.amqp.rabbit.listener.SimpleMessageListenerContainer ] Restarting Consumer@4931b7d7: tags=[[]], channel=null, acknowledgeMode=MANUAL local queue size=0
2021-12-10 15:42:31 [traceId:] [ INFO ] [ org.springframework.amqp.rabbit.connection.CachingConnectionFactory ] Attempting to connect to: [192.168.1.180:5672]
2021-12-10 15:42:32 [traceId:] [ INFO ] [ org.springframework.amqp.rabbit.connection.CachingConnectionFactory ] Attempting to connect to: [192.168.1.180:5672]
2021-12-10 15:42:38 [traceId:] [ INFO ] [ org.springframework.amqp.rabbit.listener.SimpleMessageListenerContainer ] Restarting Consumer@3df2a605: tags=[[]], channel=null, acknowledgeMode=MANUAL local queue size=0
2021-12-10 15:42:38 [traceId:] [ INFO ] [ org.springframework.amqp.rabbit.connection.CachingConnectionFactory ] Attempting to connect to: [192.168.1.180:5672]
2021-12-10 15:42:39 [traceId:] [ INFO ] [ org.springframework.amqp.rabbit.connection.CachingConnectionFactory ] Attempting to connect to: [192.168.1.180:5672]
2021-12-10 15:42:45 [traceId:] [ INFO ] [ org.springframework.amqp.rabbit.listener.SimpleMessageListenerContainer ] Restarting Consumer@158dbabb: tags=[[]], channel=null, acknowledgeMode=MANUAL local queue size=0
2021-12-10 15:42:45 [traceId:] [ INFO ] [ org.springframework.amqp.rabbit.connection.CachingConnectionFactory ] Attempting to connect to: [192.168.1.180:5672]
2021-12-10 15:42:46 [traceId:] [ INFO ] [ org.springframework.amqp.rabbit.connection.CachingConnectionFactory ] Attempting to connect to: [192.168.1.180:5672]
2021-12-10 15:42:52 [traceId:] [ INFO ] [ org.springframework.amqp.rabbit.listener.SimpleMessageListenerContainer ] Restarting Consumer@feb4565: tags=[[]], channel=null, acknowledgeMode=MANUAL local queue size=0
2021-12-10 15:42:52 [traceId:] [ INFO ] [ org.springframework.amqp.rabbit.connection.CachingConnectionFactory ] Attempting to connect to: [192.168.1.180:5672]
2021-12-10 15:42:53 [traceId:] [ INFO ] [ org.springframework.amqp.rabbit.connection.CachingConnectionFactory ] Attempting to connect to: [192.168.1.180:5672]
2021-12-10 15:42:59 [traceId:] [ INFO ] [ org.springframework.amqp.rabbit.listener.SimpleMessageListenerContainer ] Restarting Consumer@27deec51: tags=[[]], channel=null, acknowledgeMode=MANUAL local queue size=0
2021-12-10 15:42:59 [traceId:] [ INFO ] [ org.springframework.amqp.rabbit.connection.CachingConnectionFactory ] Attempting to connect to: [192.168.1.180:5672]
2021-12-10 15:43:00 [traceId:] [ INFO ] [ org.springframework.amqp.rabbit.connection.CachingConnectionFactory ] Attempting to connect to: [192.168.1.180:5672]
2021-12-10 15:43:06 [traceId:] [ INFO ] [ org.springframework.amqp.rabbit.listener.SimpleMessageListenerContainer ] Restarting Consumer@4aad8395: tags=[[]], channel=null, acknowledgeMode=MANUAL local queue size=0
2021-12-10 15:43:06 [traceId:] [ INFO ] [ org.springframework.amqp.rabbit.connection.CachingConnectionFactory ] Attempting to connect to: [192.168.1.180:5672]
2021-12-10 15:43:07 [traceId:] [ INFO ] [ org.springframework.amqp.rabbit.connection.CachingConnectionFactory ] Attempting to connect to: [192.168.1.180:5672]
2021-12-10 15:43:13 [traceId:] [ INFO ] [ org.springframework.amqp.rabbit.listener.SimpleMessageListenerContainer ] Restarting Consumer@4d9793ff: tags=[[]], channel=null, acknowledgeMode=MANUAL local queue size=0
2021-12-10 15:43:13 [traceId:] [ INFO ] [ org.springframework.amqp.rabbit.connection.CachingConnectionFactory ] Attempting to connect to: [192.168.1.180:5672]
2021-12-10 15:43:14 [traceId:] [ INFO ] [ org.springframework.amqp.rabbit.connection.CachingConnectionFactory ] Attempting to connect to: [192.168.1.180:5672]
2021-12-10 15:43:20 [traceId:] [ INFO ] [ org.springframework.amqp.rabbit.listener.SimpleMessageListenerContainer ] Restarting Consumer@36e3e5a6: tags=[[]], channel=null, acknowledgeMode=MANUAL local queue size=0
2021-12-10 15:43:20 [traceId:] [ INFO ] [ org.springframework.amqp.rabbit.connection.CachingConnectionFactory ] Attempting to connect to: [192.168.1.180:5672]
2021-12-10 15:43:21 [traceId:] [ INFO ] [ org.springframework.amqp.rabbit.connection.CachingConnectionFactory ] Attempting to connect to: [192.168.1.180:5672]
2021-12-10 15:43:27 [traceId:] [ INFO ] [ org.springframework.amqp.rabbit.listener.SimpleMessageListenerContainer ] Restarting Consumer@3b5834d0: tags=[[]], channel=null, acknowledgeMode=MANUAL local queue size=0
2021-12-10 15:43:27 [traceId:] [ INFO ] [ org.springframework.amqp.rabbit.connection.CachingConnectionFactory ] Attempting to connect to: [192.168.1.180:5672]
2021-12-10 15:43:28 [traceId:] [ INFO ] [ org.springframework.amqp.rabbit.connection.CachingConnectionFactory ] Attempting to connect to: [192.168.1.180:5672]
2021-12-10 15:43:34 [traceId:] [ INFO ] [ org.springframework.amqp.rabbit.listener.SimpleMessageListenerContainer ] Restarting Consumer@700f6813: tags=[[]], channel=null, acknowledgeMode=MANUAL local queue size=0
2021-12-10 15:43:34 [traceId:] [ INFO ] [ org.springframework.amqp.rabbit.connection.CachingConnectionFactory ] Attempting to connect to: [192.168.1.180:5672]
2021-12-10 15:43:35 [traceId:] [ INFO ] [ org.springframework.amqp.rabbit.connection.CachingConnectionFactory ] Attempting to connect to: [192.168.1.180:5672]
2021-12-10 15:43:42 [traceId:] [ INFO ] [ org.springframework.amqp.rabbit.listener.SimpleMessageListenerContainer ] Restarting Consumer@5a9ee432: tags=[[]], channel=null, acknowledgeMode=MANUAL local queue size=0
2021-12-10 15:43:42 [traceId:] [ INFO ] [ org.springframework.amqp.rabbit.connection.CachingConnectionFactory ] Attempting to connect to: [192.168.1.180:5672]
2021-12-10 15:43:43 [traceId:] [ INFO ] [ org.springframework.amqp.rabbit.connection.CachingConnectionFactory ] Attempting to connect to: [192.168.1.180:5672]
2021-12-10 15:43:49 [traceId:] [ INFO ] [ org.springframework.amqp.rabbit.listener.SimpleMessageListenerContainer ] Restarting Consumer@558e6dfd: tags=[[]], channel=null, acknowledgeMode=MANUAL local queue size=0
2021-12-10 15:43:49 [traceId:] [ INFO ] [ org.springframework.amqp.rabbit.connection.CachingConnectionFactory ] Attempting to connect to: [192.168.1.180:5672]
2021-12-10 15:43:50 [traceId:] [ INFO ] [ org.springframework.amqp.rabbit.connection.CachingConnectionFactory ] Attempting to connect to: [192.168.1.180:5672]
2021-12-10 15:43:56 [traceId:] [ INFO ] [ org.springframework.amqp.rabbit.listener.SimpleMessageListenerContainer ] Restarting Consumer@1cd974d0: tags=[[]], channel=null, acknowledgeMode=MANUAL local queue size=0
2021-12-10 15:43:56 [traceId:] [ INFO ] [ org.springframework.amqp.rabbit.connection.CachingConnectionFactory ] Attempting to connect to: [192.168.1.180:5672]
2021-12-10 15:43:57 [traceId:] [ INFO ] [ org.springframework.amqp.rabbit.connection.CachingConnectionFactory ] Attempting to connect to: [192.168.1.180:5672]
2021-12-10 15:44:03 [traceId:] [ INFO ] [ org.springframework.amqp.rabbit.listener.SimpleMessageListenerContainer ] Restarting Consumer@3199cd79: tags=[[]], channel=null, acknowledgeMode=MANUAL local queue size=0
2021-12-10 15:44:03 [traceId:] [ INFO ] [ org.springframework.amqp.rabbit.connection.CachingConnectionFactory ] Attempting to connect to: [192.168.1.180:5672]
2021-12-10 15:44:04 [traceId:] [ INFO ] [ org.springframework.amqp.rabbit.connection.CachingConnectionFactory ] Attempting to connect to: [192.168.1.180:5672]
2021-12-10 15:44:10 [traceId:] [ INFO ] [ org.springframework.amqp.rabbit.listener.SimpleMessageListenerContainer ] Restarting Consumer@2d7438c5: tags=[[]], channel=null, acknowledgeMode=MANUAL local queue size=0
2021-12-10 15:44:10 [traceId:] [ INFO ] [ org.springframework.amqp.rabbit.connection.CachingConnectionFactory ] Attempting to connect to: [192.168.1.180:5672]
2021-12-10 15:44:11 [traceId:] [ INFO ] [ org.springframework.amqp.rabbit.connection.CachingConnectionFactory ] Attempting to connect to: [192.168.1.180:5672]
2021-12-10 15:44:17 [traceId:] [ INFO ] [ org.springframework.amqp.rabbit.listener.SimpleMessageListenerContainer ] Restarting Consumer@668becef: tags=[[]], channel=null, acknowledgeMode=MANUAL local queue size=0
2021-12-10 15:44:17 [traceId:] [ INFO ] [ org.springframework.amqp.rabbit.connection.CachingConnectionFactory ] Attempting to connect to: [192.168.1.180:5672]
2021-12-10 15:44:18 [traceId:] [ INFO ] [ org.springframework.amqp.rabbit.connection.CachingConnectionFactory ] Attempting to connect to: [192.168.1.180:5672]
2021-12-10 15:44:24 [traceId:] [ INFO ] [ org.springframework.amqp.rabbit.listener.SimpleMessageListenerContainer ] Restarting Consumer@3fc74626: tags=[[]], channel=null, acknowledgeMode=MANUAL local queue size=0
2021-12-10 15:44:24 [traceId:] [ INFO ] [ org.springframework.amqp.rabbit.connection.CachingConnectionFactory ] Attempting to connect to: [192.168.1.180:5672]
2021-12-10 15:44:25 [traceId:] [ INFO ] [ org.springframework.amqp.rabbit.connection.CachingConnectionFactory ] Attempting to connect to: [192.168.1.180:5672]
2021-12-10 15:44:31 [traceId:] [ INFO ] [ org.springframework.amqp.rabbit.listener.SimpleMessageListenerContainer ] Restarting Consumer@4605367f: tags=[[]], channel=null, acknowledgeMode=MANUAL local queue size=0
2021-12-10 15:44:31 [traceId:] [ INFO ] [ org.springframework.amqp.rabbit.connection.CachingConnectionFactory ] Attempting to connect to: [192.168.1.180:5672]
2021-12-10 15:44:32 [traceId:] [ INFO ] [ org.springframework.amqp.rabbit.connection.CachingConnectionFactory ] Attempting to connect to: [192.168.1.180:5672]
2021-12-10 15:44:38 [traceId:] [ INFO ] [ org.springframework.amqp.rabbit.listener.SimpleMessageListenerContainer ] Restarting Consumer@442aecb3: tags=[[]], channel=null, acknowledgeMode=MANUAL local queue size=0
2021-12-10 15:44:38 [traceId:] [ INFO ] [ org.springframework.amqp.rabbit.connection.CachingConnectionFactory ] Attempting to connect to: [192.168.1.180:5672]
2021-12-10 15:44:39 [traceId:] [ INFO ] [ org.springframework.amqp.rabbit.connection.CachingConnectionFactory ] Attempting to connect to: [192.168.1.180:5672]
2021-12-10 15:44:45 [traceId:] [ INFO ] [ org.springframework.amqp.rabbit.listener.SimpleMessageListenerContainer ] Restarting Consumer@83db6c0: tags=[[]], channel=null, acknowledgeMode=MANUAL local queue size=0
2021-12-10 15:44:45 [traceId:] [ INFO ] [ org.springframework.amqp.rabbit.connection.CachingConnectionFactory ] Attempting to connect to: [192.168.1.180:5672]
2021-12-10 15:44:46 [traceId:] [ INFO ] [ org.springframework.amqp.rabbit.connection.CachingConnectionFactory ] Attempting to connect to: [192.168.1.180:5672]
2021-12-10 15:44:52 [traceId:] [ INFO ] [ org.springframework.amqp.rabbit.listener.SimpleMessageListenerContainer ] Restarting Consumer@62ba049c: tags=[[]], channel=null, acknowledgeMode=MANUAL local queue size=0
2021-12-10 15:44:52 [traceId:] [ INFO ] [ org.springframework.amqp.rabbit.connection.CachingConnectionFactory ] Attempting to connect to: [192.168.1.180:5672]
2021-12-10 15:44:53 [traceId:] [ INFO ] [ org.springframework.amqp.rabbit.connection.CachingConnectionFactory ] Attempting to connect to: [192.168.1.180:5672]
2021-12-10 15:44:58 [traceId:] [ INFO ] [ org.springframework.boot.admin.SpringApplicationAdminMXBeanRegistrar$SpringApplicationAdmin ] Application shutdown requested.
2021-12-10 15:44:58 [traceId:] [ INFO ] [ org.springframework.amqp.rabbit.listener.SimpleMessageListenerContainer ] Waiting for workers to finish.
2021-12-10 15:44:58 [traceId:] [ INFO ] [ org.springframework.amqp.rabbit.listener.SimpleMessageListenerContainer ] Successfully waited for workers to finish.
2021-12-10 15:44:59 [traceId:] [ INFO ] [ org.springframework.scheduling.concurrent.ThreadPoolTaskScheduler ] Shutting down ExecutorService 'taskScheduler'
2021-12-10 15:44:59 [traceId:] [ INFO ] [ org.springframework.amqp.rabbit.listener.SimpleMessageListenerContainer ] Shutdown ignored - container is not active already
2021-12-10 15:44:59 [traceId:] [ INFO ] [ org.springframework.scheduling.concurrent.ThreadPoolTaskExecutor ] Shutting down ExecutorService 'applicationTaskExecutor'
2021-12-10 15:49:52 [traceId:] [ INFO ] [ org.hibernate.validator.internal.util.Version ] HV000001: Hibernate Validator 6.1.5.Final
2021-12-10 15:49:52 [traceId:] [ INFO ] [ com.ruwii.es.EsApplication ] Starting EsApplication using Java 1.8.0_241 on DESKTOP-0V38B9H with PID 468 (D:\workspace-eclipse-2020-06\es\target\classes started by Lewis in D:\workspace-eclipse-2020-06\es)
2021-12-10 15:49:52 [traceId:] [ INFO ] [ com.ruwii.es.EsApplication ] No active profile set, falling back to default profiles: default
2021-12-10 15:49:53 [traceId:] [ INFO ] [ org.springframework.data.repository.config.RepositoryConfigurationDelegate ] Multiple Spring Data modules found, entering strict repository configuration mode!
2021-12-10 15:49:53 [traceId:] [ INFO ] [ org.springframework.data.repository.config.RepositoryConfigurationDelegate ] Bootstrapping Spring Data Redis repositories in DEFAULT mode.
2021-12-10 15:49:53 [traceId:] [ INFO ] [ org.springframework.data.repository.config.RepositoryConfigurationDelegate ] Finished Spring Data repository scanning in 13 ms. Found 0 Redis repository interfaces.
2021-12-10 15:49:54 [traceId:] [ INFO ] [ org.springframework.boot.web.embedded.tomcat.TomcatWebServer ] Tomcat initialized with port(s): 8110 (http)
2021-12-10 15:49:54 [traceId:] [ INFO ] [ org.apache.coyote.http11.Http11NioProtocol ] Initializing ProtocolHandler ["http-nio-8110"]
2021-12-10 15:49:54 [traceId:] [ INFO ] [ org.apache.catalina.core.StandardService ] Starting service [Tomcat]
2021-12-10 15:49:54 [traceId:] [ INFO ] [ org.apache.catalina.core.StandardEngine ] Starting Servlet engine: [Apache Tomcat/9.0.43]
2021-12-10 15:49:54 [traceId:] [ INFO ] [ org.apache.catalina.core.AprLifecycleListener ] Loaded Apache Tomcat Native library [1.2.23] using APR version [1.7.0].
2021-12-10 15:49:54 [traceId:] [ INFO ] [ org.apache.catalina.core.AprLifecycleListener ] APR capabilities: IPv6 [true], sendfile [true], accept filters [false], random [true].
2021-12-10 15:49:54 [traceId:] [ INFO ] [ org.apache.catalina.core.AprLifecycleListener ] APR/OpenSSL configuration: useAprConnector [false], useOpenSSL [true]
2021-12-10 15:49:54 [traceId:] [ INFO ] [ org.apache.catalina.core.AprLifecycleListener ] OpenSSL successfully initialized [OpenSSL 1.1.1c 28 May 2019]
2021-12-10 15:49:54 [traceId:] [ INFO ] [ org.apache.catalina.core.ContainerBase.[Tomcat].[localhost].[/] ] Initializing Spring embedded WebApplicationContext
2021-12-10 15:49:54 [traceId:] [ INFO ] [ org.springframework.boot.web.servlet.context.ServletWebServerApplicationContext ] Root WebApplicationContext: initialization completed in 1525 ms
2021-12-10 15:49:56 [traceId:] [ INFO ] [ org.springframework.scheduling.concurrent.ThreadPoolTaskExecutor ] Initializing ExecutorService 'applicationTaskExecutor'
2021-12-10 15:49:56 [traceId:] [ INFO ] [ org.springframework.scheduling.concurrent.ThreadPoolTaskScheduler ] Initializing ExecutorService 'taskScheduler'
2021-12-10 15:49:56 [traceId:] [ INFO ] [ org.apache.coyote.http11.Http11NioProtocol ] Starting ProtocolHandler ["http-nio-8110"]
2021-12-10 15:49:56 [traceId:] [ INFO ] [ org.springframework.boot.web.embedded.tomcat.TomcatWebServer ] Tomcat started on port(s): 8110 (http) with context path ''
2021-12-10 15:49:56 [traceId:] [ INFO ] [ org.springframework.amqp.rabbit.connection.CachingConnectionFactory ] Attempting to connect to: [192.168.1.180:5672]
2021-12-10 15:49:57 [traceId:] [ INFO ] [ org.springframework.amqp.rabbit.listener.SimpleMessageListenerContainer ] Broker not available; cannot force queue declarations during start: java.net.SocketTimeoutException: connect timed out
2021-12-10 15:49:57 [traceId:] [ INFO ] [ org.springframework.amqp.rabbit.connection.CachingConnectionFactory ] Attempting to connect to: [192.168.1.180:5672]
2021-12-10 15:49:58 [traceId:] [ INFO ] [ org.springframework.amqp.rabbit.connection.CachingConnectionFactory ] Attempting to connect to: [192.168.1.180:5672]
2021-12-10 15:50:00 [traceId:] [ INFO ] [ com.ruwii.es.EsApplication ] Started EsApplication in 7.692 seconds (JVM running for 9.197)
2021-12-10 15:50:05 [traceId:] [ INFO ] [ org.springframework.amqp.rabbit.listener.SimpleMessageListenerContainer ] Restarting Consumer@47be41c6: tags=[[]], channel=null, acknowledgeMode=MANUAL local queue size=0
2021-12-10 15:50:05 [traceId:] [ INFO ] [ org.springframework.amqp.rabbit.connection.CachingConnectionFactory ] Attempting to connect to: [192.168.1.180:5672]
2021-12-10 15:50:06 [traceId:] [ INFO ] [ org.springframework.amqp.rabbit.connection.CachingConnectionFactory ] Attempting to connect to: [192.168.1.180:5672]
2021-12-10 15:50:12 [traceId:] [ INFO ] [ org.springframework.amqp.rabbit.listener.SimpleMessageListenerContainer ] Restarting Consumer@141de416: tags=[[]], channel=null, acknowledgeMode=MANUAL local queue size=0
2021-12-10 15:50:12 [traceId:] [ INFO ] [ org.springframework.amqp.rabbit.connection.CachingConnectionFactory ] Attempting to connect to: [192.168.1.180:5672]
2021-12-10 15:50:13 [traceId:] [ INFO ] [ org.springframework.amqp.rabbit.connection.CachingConnectionFactory ] Attempting to connect to: [192.168.1.180:5672]
2021-12-10 15:50:19 [traceId:] [ INFO ] [ org.springframework.amqp.rabbit.listener.SimpleMessageListenerContainer ] Restarting Consumer@3da9d9dd: tags=[[]], channel=null, acknowledgeMode=MANUAL local queue size=0
2021-12-10 15:50:19 [traceId:] [ INFO ] [ org.springframework.amqp.rabbit.connection.CachingConnectionFactory ] Attempting to connect to: [192.168.1.180:5672]
2021-12-10 15:50:20 [traceId:] [ INFO ] [ org.springframework.amqp.rabbit.connection.CachingConnectionFactory ] Attempting to connect to: [192.168.1.180:5672]
2021-12-10 15:50:26 [traceId:] [ INFO ] [ org.springframework.amqp.rabbit.listener.SimpleMessageListenerContainer ] Restarting Consumer@9c73eee: tags=[[]], channel=null, acknowledgeMode=MANUAL local queue size=0
2021-12-10 15:50:26 [traceId:] [ INFO ] [ org.springframework.amqp.rabbit.connection.CachingConnectionFactory ] Attempting to connect to: [192.168.1.180:5672]
2021-12-10 15:50:27 [traceId:] [ INFO ] [ org.springframework.amqp.rabbit.connection.CachingConnectionFactory ] Attempting to connect to: [192.168.1.180:5672]
2021-12-10 15:50:33 [traceId:] [ INFO ] [ org.springframework.amqp.rabbit.listener.SimpleMessageListenerContainer ] Restarting Consumer@63c616a8: tags=[[]], channel=null, acknowledgeMode=MANUAL local queue size=0
2021-12-10 15:50:33 [traceId:] [ INFO ] [ org.springframework.amqp.rabbit.connection.CachingConnectionFactory ] Attempting to connect to: [192.168.1.180:5672]
2021-12-10 15:50:34 [traceId:] [ INFO ] [ org.springframework.amqp.rabbit.connection.CachingConnectionFactory ] Attempting to connect to: [192.168.1.180:5672]
2021-12-10 15:50:40 [traceId:] [ INFO ] [ org.springframework.amqp.rabbit.listener.SimpleMessageListenerContainer ] Restarting Consumer@df9f1ec: tags=[[]], channel=null, acknowledgeMode=MANUAL local queue size=0
2021-12-10 15:50:40 [traceId:] [ INFO ] [ org.springframework.amqp.rabbit.connection.CachingConnectionFactory ] Attempting to connect to: [192.168.1.180:5672]
2021-12-10 15:50:41 [traceId:] [ INFO ] [ org.springframework.amqp.rabbit.connection.CachingConnectionFactory ] Attempting to connect to: [192.168.1.180:5672]
2021-12-10 15:50:47 [traceId:] [ INFO ] [ org.springframework.amqp.rabbit.listener.SimpleMessageListenerContainer ] Restarting Consumer@30718bb5: tags=[[]], channel=null, acknowledgeMode=MANUAL local queue size=0
2021-12-10 15:50:47 [traceId:] [ INFO ] [ org.springframework.amqp.rabbit.connection.CachingConnectionFactory ] Attempting to connect to: [192.168.1.180:5672]
2021-12-10 15:50:48 [traceId:] [ INFO ] [ org.springframework.amqp.rabbit.connection.CachingConnectionFactory ] Attempting to connect to: [192.168.1.180:5672]
2021-12-10 15:50:54 [traceId:] [ INFO ] [ org.springframework.amqp.rabbit.listener.SimpleMessageListenerContainer ] Restarting Consumer@38123373: tags=[[]], channel=null, acknowledgeMode=MANUAL local queue size=0
2021-12-10 15:50:54 [traceId:] [ INFO ] [ org.springframework.amqp.rabbit.connection.CachingConnectionFactory ] Attempting to connect to: [192.168.1.180:5672]
2021-12-10 15:50:55 [traceId:] [ INFO ] [ org.springframework.amqp.rabbit.connection.CachingConnectionFactory ] Attempting to connect to: [192.168.1.180:5672]
2021-12-10 15:51:01 [traceId:] [ INFO ] [ org.springframework.amqp.rabbit.listener.SimpleMessageListenerContainer ] Restarting Consumer@7c769905: tags=[[]], channel=null, acknowledgeMode=MANUAL local queue size=0
2021-12-10 15:51:01 [traceId:] [ INFO ] [ org.springframework.amqp.rabbit.connection.CachingConnectionFactory ] Attempting to connect to: [192.168.1.180:5672]
2021-12-10 15:51:02 [traceId:] [ INFO ] [ org.springframework.amqp.rabbit.connection.CachingConnectionFactory ] Attempting to connect to: [192.168.1.180:5672]
2021-12-10 15:51:08 [traceId:] [ INFO ] [ org.springframework.amqp.rabbit.listener.SimpleMessageListenerContainer ] Restarting Consumer@7dafe312: tags=[[]], channel=null, acknowledgeMode=MANUAL local queue size=0
2021-12-10 15:51:08 [traceId:] [ INFO ] [ org.springframework.amqp.rabbit.connection.CachingConnectionFactory ] Attempting to connect to: [192.168.1.180:5672]
2021-12-10 15:51:09 [traceId:] [ INFO ] [ org.springframework.amqp.rabbit.connection.CachingConnectionFactory ] Attempting to connect to: [192.168.1.180:5672]
2021-12-10 15:51:15 [traceId:] [ INFO ] [ org.springframework.amqp.rabbit.listener.SimpleMessageListenerContainer ] Restarting Consumer@105b5d1d: tags=[[]], channel=null, acknowledgeMode=MANUAL local queue size=0
2021-12-10 15:51:15 [traceId:] [ INFO ] [ org.springframework.amqp.rabbit.connection.CachingConnectionFactory ] Attempting to connect to: [192.168.1.180:5672]
2021-12-10 15:51:16 [traceId:] [ INFO ] [ org.springframework.amqp.rabbit.connection.CachingConnectionFactory ] Attempting to connect to: [192.168.1.180:5672]
2021-12-10 15:51:22 [traceId:] [ INFO ] [ org.springframework.amqp.rabbit.listener.SimpleMessageListenerContainer ] Restarting Consumer@51ecf3a: tags=[[]], channel=null, acknowledgeMode=MANUAL local queue size=0
2021-12-10 15:51:22 [traceId:] [ INFO ] [ org.springframework.amqp.rabbit.connection.CachingConnectionFactory ] Attempting to connect to: [192.168.1.180:5672]
2021-12-10 15:51:23 [traceId:] [ INFO ] [ org.springframework.amqp.rabbit.connection.CachingConnectionFactory ] Attempting to connect to: [192.168.1.180:5672]
2021-12-10 15:51:29 [traceId:] [ INFO ] [ org.springframework.amqp.rabbit.listener.SimpleMessageListenerContainer ] Restarting Consumer@2cf0559e: tags=[[]], channel=null, acknowledgeMode=MANUAL local queue size=0
2021-12-10 15:51:29 [traceId:] [ INFO ] [ org.springframework.amqp.rabbit.connection.CachingConnectionFactory ] Attempting to connect to: [192.168.1.180:5672]
2021-12-10 15:51:30 [traceId:] [ INFO ] [ org.springframework.amqp.rabbit.connection.CachingConnectionFactory ] Attempting to connect to: [192.168.1.180:5672]
2021-12-10 15:51:36 [traceId:] [ INFO ] [ org.springframework.amqp.rabbit.listener.SimpleMessageListenerContainer ] Restarting Consumer@42f60cd5: tags=[[]], channel=null, acknowledgeMode=MANUAL local queue size=0
2021-12-10 15:51:36 [traceId:] [ INFO ] [ org.springframework.amqp.rabbit.connection.CachingConnectionFactory ] Attempting to connect to: [192.168.1.180:5672]
2021-12-10 15:51:37 [traceId:] [ INFO ] [ org.springframework.amqp.rabbit.connection.CachingConnectionFactory ] Attempting to connect to: [192.168.1.180:5672]
2021-12-10 15:51:43 [traceId:] [ INFO ] [ org.springframework.amqp.rabbit.listener.SimpleMessageListenerContainer ] Restarting Consumer@23946cb3: tags=[[]], channel=null, acknowledgeMode=MANUAL local queue size=0
2021-12-10 15:51:43 [traceId:] [ INFO ] [ org.springframework.amqp.rabbit.connection.CachingConnectionFactory ] Attempting to connect to: [192.168.1.180:5672]
2021-12-10 15:51:44 [traceId:] [ INFO ] [ org.springframework.amqp.rabbit.connection.CachingConnectionFactory ] Attempting to connect to: [192.168.1.180:5672]
2021-12-10 15:51:50 [traceId:] [ INFO ] [ org.springframework.amqp.rabbit.listener.SimpleMessageListenerContainer ] Restarting Consumer@400c0f7d: tags=[[]], channel=null, acknowledgeMode=MANUAL local queue size=0
2021-12-10 15:51:50 [traceId:] [ INFO ] [ org.springframework.amqp.rabbit.connection.CachingConnectionFactory ] Attempting to connect to: [192.168.1.180:5672]
2021-12-10 15:51:51 [traceId:] [ INFO ] [ org.springframework.amqp.rabbit.connection.CachingConnectionFactory ] Attempting to connect to: [192.168.1.180:5672]
2021-12-10 15:51:57 [traceId:] [ INFO ] [ org.springframework.amqp.rabbit.listener.SimpleMessageListenerContainer ] Restarting Consumer@2fd8cddb: tags=[[]], channel=null, acknowledgeMode=MANUAL local queue size=0
2021-12-10 15:51:57 [traceId:] [ INFO ] [ org.springframework.amqp.rabbit.connection.CachingConnectionFactory ] Attempting to connect to: [192.168.1.180:5672]
2021-12-10 15:51:58 [traceId:] [ INFO ] [ org.springframework.amqp.rabbit.connection.CachingConnectionFactory ] Attempting to connect to: [192.168.1.180:5672]
2021-12-10 15:52:04 [traceId:] [ INFO ] [ org.springframework.amqp.rabbit.listener.SimpleMessageListenerContainer ] Restarting Consumer@6184a07f: tags=[[]], channel=null, acknowledgeMode=MANUAL local queue size=0
2021-12-10 15:52:04 [traceId:] [ INFO ] [ org.springframework.amqp.rabbit.connection.CachingConnectionFactory ] Attempting to connect to: [192.168.1.180:5672]
2021-12-10 15:52:05 [traceId:] [ INFO ] [ org.springframework.amqp.rabbit.connection.CachingConnectionFactory ] Attempting to connect to: [192.168.1.180:5672]
2021-12-10 15:52:11 [traceId:] [ INFO ] [ org.springframework.amqp.rabbit.listener.SimpleMessageListenerContainer ] Restarting Consumer@5f3fbcfc: tags=[[]], channel=null, acknowledgeMode=MANUAL local queue size=0
2021-12-10 15:52:11 [traceId:] [ INFO ] [ org.springframework.amqp.rabbit.connection.CachingConnectionFactory ] Attempting to connect to: [192.168.1.180:5672]
2021-12-10 15:52:12 [traceId:] [ INFO ] [ org.springframework.amqp.rabbit.connection.CachingConnectionFactory ] Attempting to connect to: [192.168.1.180:5672]
2021-12-10 15:52:18 [traceId:] [ INFO ] [ org.springframework.amqp.rabbit.listener.SimpleMessageListenerContainer ] Restarting Consumer@376fc9ab: tags=[[]], channel=null, acknowledgeMode=MANUAL local queue size=0
2021-12-10 15:52:18 [traceId:] [ INFO ] [ org.springframework.amqp.rabbit.connection.CachingConnectionFactory ] Attempting to connect to: [192.168.1.180:5672]
2021-12-10 15:52:19 [traceId:] [ INFO ] [ org.springframework.amqp.rabbit.connection.CachingConnectionFactory ] Attempting to connect to: [192.168.1.180:5672]
2021-12-10 15:52:22 [traceId:] [ INFO ] [ org.springframework.boot.admin.SpringApplicationAdminMXBeanRegistrar$SpringApplicationAdmin ] Application shutdown requested.
2021-12-10 15:52:22 [traceId:] [ INFO ] [ org.springframework.amqp.rabbit.listener.SimpleMessageListenerContainer ] Waiting for workers to finish.
2021-12-10 15:52:22 [traceId:] [ INFO ] [ org.springframework.amqp.rabbit.listener.SimpleMessageListenerContainer ] Successfully waited for workers to finish.
2021-12-10 15:52:22 [traceId:] [ INFO ] [ org.springframework.scheduling.concurrent.ThreadPoolTaskScheduler ] Shutting down ExecutorService 'taskScheduler'
2021-12-10 15:52:22 [traceId:] [ INFO ] [ org.springframework.amqp.rabbit.listener.SimpleMessageListenerContainer ] Shutdown ignored - container is not active already
2021-12-10 15:52:22 [traceId:] [ INFO ] [ org.springframework.scheduling.concurrent.ThreadPoolTaskExecutor ] Shutting down ExecutorService 'applicationTaskExecutor'
2021-12-10 15:52:42 [traceId:] [ INFO ] [ org.hibernate.validator.internal.util.Version ] HV000001: Hibernate Validator 6.1.5.Final
2021-12-10 15:52:42 [traceId:] [ INFO ] [ com.ruwii.es.EsApplication ] Starting EsApplication using Java 1.8.0_241 on DESKTOP-0V38B9H with PID 31340 (D:\workspace-eclipse-2020-06\es\target\classes started by Lewis in D:\workspace-eclipse-2020-06\es)
2021-12-10 15:52:42 [traceId:] [ INFO ] [ com.ruwii.es.EsApplication ] No active profile set, falling back to default profiles: default
2021-12-10 15:52:42 [traceId:] [ INFO ] [ org.springframework.data.repository.config.RepositoryConfigurationDelegate ] Multiple Spring Data modules found, entering strict repository configuration mode!
2021-12-10 15:52:42 [traceId:] [ INFO ] [ org.springframework.data.repository.config.RepositoryConfigurationDelegate ] Bootstrapping Spring Data Redis repositories in DEFAULT mode.
2021-12-10 15:52:42 [traceId:] [ INFO ] [ org.springframework.data.repository.config.RepositoryConfigurationDelegate ] Finished Spring Data repository scanning in 13 ms. Found 0 Redis repository interfaces.
2021-12-10 15:52:43 [traceId:] [ INFO ] [ org.springframework.boot.web.embedded.tomcat.TomcatWebServer ] Tomcat initialized with port(s): 8110 (http)
2021-12-10 15:52:43 [traceId:] [ INFO ] [ org.apache.coyote.http11.Http11NioProtocol ] Initializing ProtocolHandler ["http-nio-8110"]
2021-12-10 15:52:43 [traceId:] [ INFO ] [ org.apache.catalina.core.StandardService ] Starting service [Tomcat]
2021-12-10 15:52:43 [traceId:] [ INFO ] [ org.apache.catalina.core.StandardEngine ] Starting Servlet engine: [Apache Tomcat/9.0.43]
2021-12-10 15:52:43 [traceId:] [ INFO ] [ org.apache.catalina.core.AprLifecycleListener ] Loaded Apache Tomcat Native library [1.2.23] using APR version [1.7.0].
2021-12-10 15:52:43 [traceId:] [ INFO ] [ org.apache.catalina.core.AprLifecycleListener ] APR capabilities: IPv6 [true], sendfile [true], accept filters [false], random [true].
2021-12-10 15:52:43 [traceId:] [ INFO ] [ org.apache.catalina.core.AprLifecycleListener ] APR/OpenSSL configuration: useAprConnector [false], useOpenSSL [true]
2021-12-10 15:52:43 [traceId:] [ INFO ] [ org.apache.catalina.core.AprLifecycleListener ] OpenSSL successfully initialized [OpenSSL 1.1.1c 28 May 2019]
2021-12-10 15:52:43 [traceId:] [ INFO ] [ org.apache.catalina.core.ContainerBase.[Tomcat].[localhost].[/] ] Initializing Spring embedded WebApplicationContext
2021-12-10 15:52:43 [traceId:] [ INFO ] [ org.springframework.boot.web.servlet.context.ServletWebServerApplicationContext ] Root WebApplicationContext: initialization completed in 1599 ms
2021-12-10 15:52:45 [traceId:] [ INFO ] [ org.springframework.scheduling.concurrent.ThreadPoolTaskExecutor ] Initializing ExecutorService 'applicationTaskExecutor'
2021-12-10 15:52:46 [traceId:] [ INFO ] [ org.springframework.scheduling.concurrent.ThreadPoolTaskScheduler ] Initializing ExecutorService 'taskScheduler'
2021-12-10 15:52:46 [traceId:] [ INFO ] [ org.apache.coyote.http11.Http11NioProtocol ] Starting ProtocolHandler ["http-nio-8110"]
2021-12-10 15:52:46 [traceId:] [ INFO ] [ org.springframework.boot.web.embedded.tomcat.TomcatWebServer ] Tomcat started on port(s): 8110 (http) with context path ''
2021-12-10 15:52:46 [traceId:] [ INFO ] [ org.springframework.amqp.rabbit.connection.CachingConnectionFactory ] Attempting to connect to: [192.168.1.180:5672]
2021-12-10 15:52:47 [traceId:] [ INFO ] [ org.springframework.amqp.rabbit.listener.SimpleMessageListenerContainer ] Broker not available; cannot force queue declarations during start: java.net.SocketTimeoutException: connect timed out
2021-12-10 15:52:47 [traceId:] [ INFO ] [ org.springframework.amqp.rabbit.connection.CachingConnectionFactory ] Attempting to connect to: [192.168.1.180:5672]
2021-12-10 15:52:48 [traceId:] [ INFO ] [ org.springframework.amqp.rabbit.connection.CachingConnectionFactory ] Attempting to connect to: [192.168.1.180:5672]
2021-12-10 15:52:49 [traceId:] [ INFO ] [ com.ruwii.es.EsApplication ] Started EsApplication in 7.756 seconds (JVM running for 9.224)
2021-12-10 15:52:54 [traceId:] [ INFO ] [ org.springframework.amqp.rabbit.listener.SimpleMessageListenerContainer ] Restarting Consumer@491893f8: tags=[[]], channel=null, acknowledgeMode=MANUAL local queue size=0
2021-12-10 15:52:54 [traceId:] [ INFO ] [ org.springframework.amqp.rabbit.connection.CachingConnectionFactory ] Attempting to connect to: [192.168.1.180:5672]
2021-12-10 15:52:55 [traceId:] [ INFO ] [ org.springframework.amqp.rabbit.connection.CachingConnectionFactory ] Attempting to connect to: [192.168.1.180:5672]
2021-12-10 15:53:01 [traceId:] [ INFO ] [ org.springframework.amqp.rabbit.listener.SimpleMessageListenerContainer ] Restarting Consumer@30dff9c2: tags=[[]], channel=null, acknowledgeMode=MANUAL local queue size=0
2021-12-10 15:53:01 [traceId:] [ INFO ] [ org.springframework.amqp.rabbit.connection.CachingConnectionFactory ] Attempting to connect to: [192.168.1.180:5672]
2021-12-10 15:53:02 [traceId:] [ INFO ] [ org.springframework.amqp.rabbit.connection.CachingConnectionFactory ] Attempting to connect to: [192.168.1.180:5672]
2021-12-10 15:53:08 [traceId:] [ INFO ] [ org.springframework.amqp.rabbit.listener.SimpleMessageListenerContainer ] Restarting Consumer@3530206f: tags=[[]], channel=null, acknowledgeMode=MANUAL local queue size=0
2021-12-10 15:53:08 [traceId:] [ INFO ] [ org.springframework.amqp.rabbit.connection.CachingConnectionFactory ] Attempting to connect to: [192.168.1.180:5672]
2021-12-10 15:53:09 [traceId:] [ INFO ] [ org.springframework.amqp.rabbit.connection.CachingConnectionFactory ] Attempting to connect to: [192.168.1.180:5672]
2021-12-10 15:53:15 [traceId:] [ INFO ] [ org.springframework.amqp.rabbit.listener.SimpleMessageListenerContainer ] Restarting Consumer@4b7b8782: tags=[[]], channel=null, acknowledgeMode=MANUAL local queue size=0
2021-12-10 15:53:15 [traceId:] [ INFO ] [ org.springframework.amqp.rabbit.connection.CachingConnectionFactory ] Attempting to connect to: [192.168.1.180:5672]
2021-12-10 15:53:16 [traceId:] [ INFO ] [ org.springframework.amqp.rabbit.connection.CachingConnectionFactory ] Attempting to connect to: [192.168.1.180:5672]
2021-12-10 15:53:22 [traceId:] [ INFO ] [ org.springframework.amqp.rabbit.listener.SimpleMessageListenerContainer ] Restarting Consumer@feb9dc6: tags=[[]], channel=null, acknowledgeMode=MANUAL local queue size=0
2021-12-10 15:53:22 [traceId:] [ INFO ] [ org.springframework.amqp.rabbit.connection.CachingConnectionFactory ] Attempting to connect to: [192.168.1.180:5672]
2021-12-10 15:53:23 [traceId:] [ INFO ] [ org.springframework.amqp.rabbit.connection.CachingConnectionFactory ] Attempting to connect to: [192.168.1.180:5672]
2021-12-10 15:53:29 [traceId:] [ INFO ] [ org.springframework.amqp.rabbit.listener.SimpleMessageListenerContainer ] Restarting Consumer@1a0d0a36: tags=[[]], channel=null, acknowledgeMode=MANUAL local queue size=0
2021-12-10 15:53:29 [traceId:] [ INFO ] [ org.springframework.amqp.rabbit.connection.CachingConnectionFactory ] Attempting to connect to: [192.168.1.180:5672]
2021-12-10 15:53:30 [traceId:] [ INFO ] [ org.springframework.amqp.rabbit.connection.CachingConnectionFactory ] Attempting to connect to: [192.168.1.180:5672]
2021-12-10 15:53:36 [traceId:] [ INFO ] [ org.springframework.amqp.rabbit.listener.SimpleMessageListenerContainer ] Restarting Consumer@650c8c24: tags=[[]], channel=null, acknowledgeMode=MANUAL local queue size=0
2021-12-10 15:53:36 [traceId:] [ INFO ] [ org.springframework.amqp.rabbit.connection.CachingConnectionFactory ] Attempting to connect to: [192.168.1.180:5672]
2021-12-10 15:53:37 [traceId:] [ INFO ] [ org.springframework.amqp.rabbit.connection.CachingConnectionFactory ] Attempting to connect to: [192.168.1.180:5672]
2021-12-10 15:53:43 [traceId:] [ INFO ] [ org.springframework.amqp.rabbit.listener.SimpleMessageListenerContainer ] Restarting Consumer@11d262ae: tags=[[]], channel=null, acknowledgeMode=MANUAL local queue size=0
2021-12-10 15:53:43 [traceId:] [ INFO ] [ org.springframework.amqp.rabbit.connection.CachingConnectionFactory ] Attempting to connect to: [192.168.1.180:5672]
2021-12-10 15:53:44 [traceId:] [ INFO ] [ org.springframework.amqp.rabbit.connection.CachingConnectionFactory ] Attempting to connect to: [192.168.1.180:5672]
2021-12-10 15:53:50 [traceId:] [ INFO ] [ org.springframework.amqp.rabbit.listener.SimpleMessageListenerContainer ] Restarting Consumer@3f83997e: tags=[[]], channel=null, acknowledgeMode=MANUAL local queue size=0
2021-12-10 15:53:50 [traceId:] [ INFO ] [ org.springframework.amqp.rabbit.connection.CachingConnectionFactory ] Attempting to connect to: [192.168.1.180:5672]
2021-12-10 15:53:51 [traceId:] [ INFO ] [ org.springframework.amqp.rabbit.connection.CachingConnectionFactory ] Attempting to connect to: [192.168.1.180:5672]
2021-12-10 15:53:57 [traceId:] [ INFO ] [ org.springframework.amqp.rabbit.listener.SimpleMessageListenerContainer ] Restarting Consumer@66d98523: tags=[[]], channel=null, acknowledgeMode=MANUAL local queue size=0
2021-12-10 15:53:57 [traceId:] [ INFO ] [ org.springframework.amqp.rabbit.connection.CachingConnectionFactory ] Attempting to connect to: [192.168.1.180:5672]
2021-12-10 15:53:58 [traceId:] [ INFO ] [ org.springframework.amqp.rabbit.connection.CachingConnectionFactory ] Attempting to connect to: [192.168.1.180:5672]
2021-12-10 15:54:04 [traceId:] [ INFO ] [ org.springframework.amqp.rabbit.listener.SimpleMessageListenerContainer ] Restarting Consumer@54be336d: tags=[[]], channel=null, acknowledgeMode=MANUAL local queue size=0
2021-12-10 15:54:04 [traceId:] [ INFO ] [ org.springframework.amqp.rabbit.connection.CachingConnectionFactory ] Attempting to connect to: [192.168.1.180:5672]
2021-12-10 15:54:05 [traceId:] [ INFO ] [ org.springframework.amqp.rabbit.connection.CachingConnectionFactory ] Attempting to connect to: [192.168.1.180:5672]
2021-12-10 15:54:11 [traceId:] [ INFO ] [ org.springframework.amqp.rabbit.listener.SimpleMessageListenerContainer ] Restarting Consumer@5017e15e: tags=[[]], channel=null, acknowledgeMode=MANUAL local queue size=0
2021-12-10 15:54:11 [traceId:] [ INFO ] [ org.springframework.amqp.rabbit.connection.CachingConnectionFactory ] Attempting to connect to: [192.168.1.180:5672]
2021-12-10 15:54:12 [traceId:] [ INFO ] [ org.springframework.amqp.rabbit.connection.CachingConnectionFactory ] Attempting to connect to: [192.168.1.180:5672]
2021-12-10 15:54:18 [traceId:] [ INFO ] [ org.springframework.amqp.rabbit.listener.SimpleMessageListenerContainer ] Restarting Consumer@1f4dff9e: tags=[[]], channel=null, acknowledgeMode=MANUAL local queue size=0
2021-12-10 15:54:18 [traceId:] [ INFO ] [ org.springframework.amqp.rabbit.connection.CachingConnectionFactory ] Attempting to connect to: [192.168.1.180:5672]
2021-12-10 15:54:19 [traceId:] [ INFO ] [ org.springframework.amqp.rabbit.connection.CachingConnectionFactory ] Attempting to connect to: [192.168.1.180:5672]
2021-12-10 15:54:25 [traceId:] [ INFO ] [ org.springframework.amqp.rabbit.listener.SimpleMessageListenerContainer ] Restarting Consumer@5d0c29cf: tags=[[]], channel=null, acknowledgeMode=MANUAL local queue size=0
2021-12-10 15:54:25 [traceId:] [ INFO ] [ org.springframework.amqp.rabbit.connection.CachingConnectionFactory ] Attempting to connect to: [192.168.1.180:5672]
2021-12-10 15:54:26 [traceId:] [ INFO ] [ org.springframework.amqp.rabbit.connection.CachingConnectionFactory ] Attempting to connect to: [192.168.1.180:5672]
2021-12-10 15:54:32 [traceId:] [ INFO ] [ org.springframework.amqp.rabbit.listener.SimpleMessageListenerContainer ] Restarting Consumer@70a39644: tags=[[]], channel=null, acknowledgeMode=MANUAL local queue size=0
2021-12-10 15:54:32 [traceId:] [ INFO ] [ org.springframework.amqp.rabbit.connection.CachingConnectionFactory ] Attempting to connect to: [192.168.1.180:5672]
2021-12-10 15:54:33 [traceId:] [ INFO ] [ org.springframework.amqp.rabbit.connection.CachingConnectionFactory ] Attempting to connect to: [192.168.1.180:5672]
2021-12-10 15:54:39 [traceId:] [ INFO ] [ org.springframework.amqp.rabbit.listener.SimpleMessageListenerContainer ] Restarting Consumer@6788417a: tags=[[]], channel=null, acknowledgeMode=MANUAL local queue size=0
2021-12-10 15:54:39 [traceId:] [ INFO ] [ org.springframework.amqp.rabbit.connection.CachingConnectionFactory ] Attempting to connect to: [192.168.1.180:5672]
2021-12-10 15:54:40 [traceId:] [ INFO ] [ org.springframework.amqp.rabbit.connection.CachingConnectionFactory ] Attempting to connect to: [192.168.1.180:5672]
2021-12-10 15:54:40 [traceId:] [ INFO ] [ org.springframework.boot.admin.SpringApplicationAdminMXBeanRegistrar$SpringApplicationAdmin ] Application shutdown requested.
2021-12-10 15:54:40 [traceId:] [ INFO ] [ org.springframework.amqp.rabbit.listener.SimpleMessageListenerContainer ] Waiting for workers to finish.
2021-12-10 15:54:40 [traceId:] [ INFO ] [ org.springframework.amqp.rabbit.listener.SimpleMessageListenerContainer ] Successfully waited for workers to finish.
2021-12-10 15:54:41 [traceId:] [ INFO ] [ org.springframework.scheduling.concurrent.ThreadPoolTaskScheduler ] Shutting down ExecutorService 'taskScheduler'
2021-12-10 15:54:41 [traceId:] [ INFO ] [ org.springframework.amqp.rabbit.listener.SimpleMessageListenerContainer ] Shutdown ignored - container is not active already
2021-12-10 15:54:41 [traceId:] [ INFO ] [ org.springframework.scheduling.concurrent.ThreadPoolTaskExecutor ] Shutting down ExecutorService 'applicationTaskExecutor'

View File

@ -0,0 +1,127 @@
2021-12-31 15:30:19 [traceId:] [ INFO ] [ org.hibernate.validator.internal.util.Version ] HV000001: Hibernate Validator 6.1.5.Final
2021-12-31 15:30:19 [traceId:] [ INFO ] [ com.ruwii.es.EsApplication ] Starting EsApplication using Java 1.8.0_241 on DESKTOP-0V38B9H with PID 26536 (D:\workspace-eclipse-2020-06\es\target\classes started by Lewis in D:\workspace-eclipse-2020-06\es)
2021-12-31 15:30:19 [traceId:] [ INFO ] [ com.ruwii.es.EsApplication ] No active profile set, falling back to default profiles: default
2021-12-31 15:30:21 [traceId:] [ INFO ] [ org.springframework.data.repository.config.RepositoryConfigurationDelegate ] Multiple Spring Data modules found, entering strict repository configuration mode!
2021-12-31 15:30:21 [traceId:] [ INFO ] [ org.springframework.data.repository.config.RepositoryConfigurationDelegate ] Bootstrapping Spring Data Redis repositories in DEFAULT mode.
2021-12-31 15:30:21 [traceId:] [ INFO ] [ org.springframework.data.repository.config.RepositoryConfigurationDelegate ] Finished Spring Data repository scanning in 14 ms. Found 0 Redis repository interfaces.
2021-12-31 15:30:22 [traceId:] [ INFO ] [ org.springframework.boot.web.embedded.tomcat.TomcatWebServer ] Tomcat initialized with port(s): 8110 (http)
2021-12-31 15:30:22 [traceId:] [ INFO ] [ org.apache.coyote.http11.Http11NioProtocol ] Initializing ProtocolHandler ["http-nio-8110"]
2021-12-31 15:30:22 [traceId:] [ INFO ] [ org.apache.catalina.core.StandardService ] Starting service [Tomcat]
2021-12-31 15:30:22 [traceId:] [ INFO ] [ org.apache.catalina.core.StandardEngine ] Starting Servlet engine: [Apache Tomcat/9.0.43]
2021-12-31 15:30:22 [traceId:] [ INFO ] [ org.apache.catalina.core.AprLifecycleListener ] Loaded Apache Tomcat Native library [1.2.23] using APR version [1.7.0].
2021-12-31 15:30:22 [traceId:] [ INFO ] [ org.apache.catalina.core.AprLifecycleListener ] APR capabilities: IPv6 [true], sendfile [true], accept filters [false], random [true].
2021-12-31 15:30:22 [traceId:] [ INFO ] [ org.apache.catalina.core.AprLifecycleListener ] APR/OpenSSL configuration: useAprConnector [false], useOpenSSL [true]
2021-12-31 15:30:22 [traceId:] [ INFO ] [ org.apache.catalina.core.AprLifecycleListener ] OpenSSL successfully initialized [OpenSSL 1.1.1c 28 May 2019]
2021-12-31 15:30:22 [traceId:] [ INFO ] [ org.apache.catalina.core.ContainerBase.[Tomcat].[localhost].[/] ] Initializing Spring embedded WebApplicationContext
2021-12-31 15:30:22 [traceId:] [ INFO ] [ org.springframework.boot.web.servlet.context.ServletWebServerApplicationContext ] Root WebApplicationContext: initialization completed in 3130 ms
2021-12-31 15:30:25 [traceId:] [ INFO ] [ org.springframework.scheduling.concurrent.ThreadPoolTaskExecutor ] Initializing ExecutorService 'applicationTaskExecutor'
2021-12-31 15:30:26 [traceId:] [ INFO ] [ org.springframework.scheduling.concurrent.ThreadPoolTaskScheduler ] Initializing ExecutorService 'taskScheduler'
2021-12-31 15:30:26 [traceId:] [ INFO ] [ org.apache.coyote.http11.Http11NioProtocol ] Starting ProtocolHandler ["http-nio-8110"]
2021-12-31 15:30:26 [traceId:] [ INFO ] [ org.springframework.boot.web.embedded.tomcat.TomcatWebServer ] Tomcat started on port(s): 8110 (http) with context path ''
2021-12-31 15:30:26 [traceId:] [ INFO ] [ org.springframework.amqp.rabbit.connection.CachingConnectionFactory ] Attempting to connect to: [192.168.1.180:5672]
2021-12-31 15:30:26 [traceId:] [ INFO ] [ org.springframework.amqp.rabbit.connection.CachingConnectionFactory ] Created new connection: rabbitConnectionFactory#3bc20984:0/SimpleConnection@3d6778d5 [delegate=amqp://admin@192.168.1.180:5672/, localPort= 9886]
2021-12-31 15:30:26 [traceId:] [ INFO ] [ com.ruwii.es.EsApplication ] Started EsApplication in 7.994 seconds (JVM running for 9.978)
2021-12-31 15:30:26 [traceId:75f7b40d6a064f0c91653c79e6612d49] [ INFO ] [ com.ruwii.es.service.rabbitmq.MQConsumerService ] 【RabbitMQ接收消息】,(Body:'[B@b989b82(byte[118])' MessageProperties [headers={}, contentLength=0, redelivered=false, receivedExchange=, receivedRoutingKey=goodsQueue, deliveryTag=1, consumerTag=amq.ctag-QZt2JbH9o9mlCwR2jqIPaA, consumerQueue=goodsQueue])
2021-12-31 15:30:26 [traceId:75f7b40d6a064f0c91653c79e6612d49] [ INFO ] [ com.ruwii.es.service.rabbitmq.MQConsumerService ] 【RabbitMQ接收消息】,消息体内容:{"operationType":1,"goodsCode":["G202112311437179598"],"timestamp":1640932645,"id":"2bab7b75332e50d0306f3009dfc7bcde"}
2021-12-31 15:30:28 [traceId:75f7b40d6a064f0c91653c79e6612d49] [ INFO ] [ com.ruwii.es.service.es.EsGoodsMixMessageService ] 【商品批量同步】入参:{"operationType":1,"goodsCode":["G202112311437179598"],"timestamp":1640932645,"id":"2bab7b75332e50d0306f3009dfc7bcde"}
2021-12-31 15:30:29 [traceId:75f7b40d6a064f0c91653c79e6612d49] [ INFO ] [ com.ruwii.es.service.mihe.impl.MiheServiceImpl ] 【商品查询】数据:
{"statusCode":200,"message":"\u64cd\u4f5c\u6210\u529f","records":[{"goodsDescription":"test\u63cf\u8ff0","code":"G202112311437179598","title":"test\u957f\u6807\u9898","label":"","shortTitle":"test\u77ed\u6807\u9898","classCode":"9","shopCode":"DP20211231143458177","className":"\u5e03\u827a\u8f6f\u88c5-\u6bdb\u5dfe","seq":"0","saleTime":"2021-12-31 14:37:25","beginTime":null,"endTime":null,"terminalCode":["1","39"],"monthSales":"0","third_class_code":"198","pointsPriceNow":"0.00","points":"0","nameCh":"test","nameEn":"test","brandCode":"PP20211231143449171","goodsPriceActivity":null,"goodsPriceNow":"5.00"}],"totalRec":1}
2021-12-31 15:30:29 [traceId:75f7b40d6a064f0c91653c79e6612d49] [ INFO ] [ com.ruwii.es.service.es.EsGoodsMixMessageService ] 【商品批量同步】成功
2021-12-31 15:30:29 [traceId:75f7b40d6a064f0c91653c79e6612d49] [ INFO ] [ com.ruwii.es.service.rabbitmq.MQConsumerService ] 【RabbitMQ处理消息】消息消费成功:id:1
2021-12-31 15:30:29 [traceId:e4098f9cff3a42cc988509fcceaf880d] [ INFO ] [ com.ruwii.es.service.rabbitmq.MQConsumerService ] 【RabbitMQ接收消息】,(Body:'[B@4acefa3d(byte[118])' MessageProperties [headers={}, contentLength=0, redelivered=false, receivedExchange=, receivedRoutingKey=goodsQueue, deliveryTag=2, consumerTag=amq.ctag-QZt2JbH9o9mlCwR2jqIPaA, consumerQueue=goodsQueue])
2021-12-31 15:30:29 [traceId:e4098f9cff3a42cc988509fcceaf880d] [ INFO ] [ com.ruwii.es.service.rabbitmq.MQConsumerService ] 【RabbitMQ接收消息】,消息体内容:{"operationType":1,"goodsCode":["G202112311437179598"],"timestamp":1640932676,"id":"b3c424f12a5b4cd46e6b099209f1e4ec"}
2021-12-31 15:30:29 [traceId:e4098f9cff3a42cc988509fcceaf880d] [ INFO ] [ com.ruwii.es.service.es.EsGoodsMixMessageService ] 【商品批量同步】入参:{"operationType":1,"goodsCode":["G202112311437179598"],"timestamp":1640932676,"id":"b3c424f12a5b4cd46e6b099209f1e4ec"}
2021-12-31 15:30:30 [traceId:e4098f9cff3a42cc988509fcceaf880d] [ INFO ] [ com.ruwii.es.service.mihe.impl.MiheServiceImpl ] 【商品查询】数据:
{"statusCode":200,"message":"\u64cd\u4f5c\u6210\u529f","records":[{"goodsDescription":"test\u63cf\u8ff0","code":"G202112311437179598","title":"test\u957f\u6807\u9898","label":"","shortTitle":"test\u77ed\u6807\u9898","classCode":"9","shopCode":"DP20211231143458177","className":"\u5e03\u827a\u8f6f\u88c5-\u6bdb\u5dfe","seq":"0","saleTime":"2021-12-31 14:37:25","beginTime":null,"endTime":null,"terminalCode":["1","39"],"monthSales":"0","third_class_code":"198","pointsPriceNow":"0.00","points":"0","nameCh":"test","nameEn":"test","brandCode":"PP20211231143449171","goodsPriceActivity":null,"goodsPriceNow":"5.00"}],"totalRec":1}
2021-12-31 15:30:30 [traceId:e4098f9cff3a42cc988509fcceaf880d] [ INFO ] [ com.ruwii.es.service.es.EsGoodsMixMessageService ] 【商品批量同步】成功
2021-12-31 15:30:30 [traceId:e4098f9cff3a42cc988509fcceaf880d] [ INFO ] [ com.ruwii.es.service.rabbitmq.MQConsumerService ] 【RabbitMQ处理消息】消息消费成功:id:2
2021-12-31 15:30:30 [traceId:c9fd388428d64f46bf0d4c30fb4f3aa3] [ INFO ] [ com.ruwii.es.service.rabbitmq.MQConsumerService ] 【RabbitMQ接收消息】,(Body:'[B@1ae84f8d(byte[118])' MessageProperties [headers={}, contentLength=0, redelivered=false, receivedExchange=, receivedRoutingKey=goodsQueue, deliveryTag=3, consumerTag=amq.ctag-QZt2JbH9o9mlCwR2jqIPaA, consumerQueue=goodsQueue])
2021-12-31 15:30:30 [traceId:c9fd388428d64f46bf0d4c30fb4f3aa3] [ INFO ] [ com.ruwii.es.service.rabbitmq.MQConsumerService ] 【RabbitMQ接收消息】,消息体内容:{"operationType":1,"goodsCode":["G202112311459059599"],"timestamp":1640933958,"id":"b663fc899aca34013e33521d3f0a8dda"}
2021-12-31 15:30:30 [traceId:c9fd388428d64f46bf0d4c30fb4f3aa3] [ INFO ] [ com.ruwii.es.service.es.EsGoodsMixMessageService ] 【商品批量同步】入参:{"operationType":1,"goodsCode":["G202112311459059599"],"timestamp":1640933958,"id":"b663fc899aca34013e33521d3f0a8dda"}
2021-12-31 15:30:30 [traceId:c9fd388428d64f46bf0d4c30fb4f3aa3] [ INFO ] [ com.ruwii.es.service.mihe.impl.MiheServiceImpl ] 【商品查询】数据:
{"statusCode":200,"message":"\u64cd\u4f5c\u6210\u529f","records":[{"goodsDescription":"test2\u63cf\u8ff0","code":"G202112311459059599","title":"test2\u957f\u6807\u9898","label":"test2\u6807\u7b7e","shortTitle":"test2\u77ed\u6807\u9898","classCode":"9","shopCode":"DP20211231143458177","className":"\u5e03\u827a\u8f6f\u88c5-\u6bdb\u5dfe","seq":"0","saleTime":"2021-12-31 14:59:18","beginTime":null,"endTime":null,"terminalCode":["1"],"monthSales":"0","third_class_code":"198","pointsPriceNow":"0.00","points":"0","nameCh":"test","nameEn":"test","brandCode":"PP20211231143449171","goodsPriceActivity":null,"goodsPriceNow":"10.00"}],"totalRec":1}
2021-12-31 15:30:30 [traceId:c9fd388428d64f46bf0d4c30fb4f3aa3] [ INFO ] [ com.ruwii.es.service.es.EsGoodsMixMessageService ] 【商品批量同步】成功
2021-12-31 15:30:30 [traceId:c9fd388428d64f46bf0d4c30fb4f3aa3] [ INFO ] [ com.ruwii.es.service.rabbitmq.MQConsumerService ] 【RabbitMQ处理消息】消息消费成功:id:3
2021-12-31 15:30:30 [traceId:5dd6b7928cdd4cccb27916577c0cecb8] [ INFO ] [ com.ruwii.es.service.rabbitmq.MQConsumerService ] 【RabbitMQ接收消息】,(Body:'[B@5c4fc8ba(byte[118])' MessageProperties [headers={}, contentLength=0, redelivered=false, receivedExchange=, receivedRoutingKey=goodsQueue, deliveryTag=4, consumerTag=amq.ctag-QZt2JbH9o9mlCwR2jqIPaA, consumerQueue=goodsQueue])
2021-12-31 15:30:30 [traceId:5dd6b7928cdd4cccb27916577c0cecb8] [ INFO ] [ com.ruwii.es.service.rabbitmq.MQConsumerService ] 【RabbitMQ接收消息】,消息体内容:{"operationType":1,"goodsCode":["G202112311459059599"],"timestamp":1640933980,"id":"798e21e600f64a3bdd3d66fad0ea42ce"}
2021-12-31 15:30:30 [traceId:5dd6b7928cdd4cccb27916577c0cecb8] [ INFO ] [ com.ruwii.es.service.es.EsGoodsMixMessageService ] 【商品批量同步】入参:{"operationType":1,"goodsCode":["G202112311459059599"],"timestamp":1640933980,"id":"798e21e600f64a3bdd3d66fad0ea42ce"}
2021-12-31 15:30:30 [traceId:5dd6b7928cdd4cccb27916577c0cecb8] [ INFO ] [ com.ruwii.es.service.mihe.impl.MiheServiceImpl ] 【商品查询】数据:
{"statusCode":200,"message":"\u64cd\u4f5c\u6210\u529f","records":[{"goodsDescription":"test2\u63cf\u8ff0","code":"G202112311459059599","title":"test2\u957f\u6807\u9898","label":"test2\u6807\u7b7e","shortTitle":"test2\u77ed\u6807\u9898","classCode":"9","shopCode":"DP20211231143458177","className":"\u5e03\u827a\u8f6f\u88c5-\u6bdb\u5dfe","seq":"0","saleTime":"2021-12-31 14:59:18","beginTime":null,"endTime":null,"terminalCode":["1"],"monthSales":"0","third_class_code":"198","pointsPriceNow":"0.00","points":"0","nameCh":"test","nameEn":"test","brandCode":"PP20211231143449171","goodsPriceActivity":null,"goodsPriceNow":"10.00"}],"totalRec":1}
2021-12-31 15:30:30 [traceId:5dd6b7928cdd4cccb27916577c0cecb8] [ INFO ] [ com.ruwii.es.service.es.EsGoodsMixMessageService ] 【商品批量同步】成功
2021-12-31 15:30:30 [traceId:5dd6b7928cdd4cccb27916577c0cecb8] [ INFO ] [ com.ruwii.es.service.rabbitmq.MQConsumerService ] 【RabbitMQ处理消息】消息消费成功:id:4
2021-12-31 15:30:30 [traceId:b5a8089aa25841b1af1b14202165a7cb] [ INFO ] [ com.ruwii.es.service.rabbitmq.MQConsumerService ] 【RabbitMQ接收消息】,(Body:'[B@365787be(byte[118])' MessageProperties [headers={}, contentLength=0, redelivered=false, receivedExchange=, receivedRoutingKey=goodsQueue, deliveryTag=5, consumerTag=amq.ctag-QZt2JbH9o9mlCwR2jqIPaA, consumerQueue=goodsQueue])
2021-12-31 15:30:30 [traceId:b5a8089aa25841b1af1b14202165a7cb] [ INFO ] [ com.ruwii.es.service.rabbitmq.MQConsumerService ] 【RabbitMQ接收消息】,消息体内容:{"operationType":1,"goodsCode":["G202112311437179598"],"timestamp":1640934022,"id":"72ca9a6ce9a27d63237fef1086684fba"}
2021-12-31 15:30:30 [traceId:b5a8089aa25841b1af1b14202165a7cb] [ INFO ] [ com.ruwii.es.service.es.EsGoodsMixMessageService ] 【商品批量同步】入参:{"operationType":1,"goodsCode":["G202112311437179598"],"timestamp":1640934022,"id":"72ca9a6ce9a27d63237fef1086684fba"}
2021-12-31 15:30:30 [traceId:b5a8089aa25841b1af1b14202165a7cb] [ INFO ] [ com.ruwii.es.service.mihe.impl.MiheServiceImpl ] 【商品查询】数据:
{"statusCode":200,"message":"\u64cd\u4f5c\u6210\u529f","records":[{"goodsDescription":"test\u63cf\u8ff0","code":"G202112311437179598","title":"test\u957f\u6807\u9898","label":"","shortTitle":"test\u77ed\u6807\u9898","classCode":"9","shopCode":"DP20211231143458177","className":"\u5e03\u827a\u8f6f\u88c5-\u6bdb\u5dfe","seq":"0","saleTime":"2021-12-31 14:37:25","beginTime":null,"endTime":null,"terminalCode":["1","39"],"monthSales":"0","third_class_code":"198","pointsPriceNow":"0.00","points":"0","nameCh":"test","nameEn":"test","brandCode":"PP20211231143449171","goodsPriceActivity":null,"goodsPriceNow":"5.00"}],"totalRec":1}
2021-12-31 15:30:30 [traceId:b5a8089aa25841b1af1b14202165a7cb] [ INFO ] [ com.ruwii.es.service.es.EsGoodsMixMessageService ] 【商品批量同步】成功
2021-12-31 15:30:30 [traceId:b5a8089aa25841b1af1b14202165a7cb] [ INFO ] [ com.ruwii.es.service.rabbitmq.MQConsumerService ] 【RabbitMQ处理消息】消息消费成功:id:5
2021-12-31 15:30:30 [traceId:79a287f4246a4aff8fc09f0b58191e23] [ INFO ] [ com.ruwii.es.service.rabbitmq.MQConsumerService ] 【RabbitMQ接收消息】,(Body:'[B@662a2966(byte[118])' MessageProperties [headers={}, contentLength=0, redelivered=false, receivedExchange=, receivedRoutingKey=goodsQueue, deliveryTag=6, consumerTag=amq.ctag-QZt2JbH9o9mlCwR2jqIPaA, consumerQueue=goodsQueue])
2021-12-31 15:30:30 [traceId:79a287f4246a4aff8fc09f0b58191e23] [ INFO ] [ com.ruwii.es.service.rabbitmq.MQConsumerService ] 【RabbitMQ接收消息】,消息体内容:{"operationType":1,"goodsCode":["G202112311521459600"],"timestamp":1640935315,"id":"2e69119218039f742549456869d74dbe"}
2021-12-31 15:30:30 [traceId:79a287f4246a4aff8fc09f0b58191e23] [ INFO ] [ com.ruwii.es.service.es.EsGoodsMixMessageService ] 【商品批量同步】入参:{"operationType":1,"goodsCode":["G202112311521459600"],"timestamp":1640935315,"id":"2e69119218039f742549456869d74dbe"}
2021-12-31 15:30:31 [traceId:79a287f4246a4aff8fc09f0b58191e23] [ INFO ] [ com.ruwii.es.service.mihe.impl.MiheServiceImpl ] 【商品查询】数据:
{"statusCode":200,"message":"\u64cd\u4f5c\u6210\u529f","records":[{"goodsDescription":"\u7ef4\u8fbe\u7eb8\u5dfe\u63cf\u8ff0","code":"G202112311521459600","title":"\u7ef4\u8fbe\u7eb8\u5dfe\u957f\u6807\u9898","label":"\u7ef4\u8fbe\u7eb8\u5dfe\u6807\u7b7e","shortTitle":"\u7ef4\u8fbe\u7eb8\u5dfe\u77ed\u6807\u9898","classCode":"9","shopCode":"DP20211231151835178","className":"\u5e03\u827a\u8f6f\u88c5-\u6bdb\u5dfe","seq":"0","saleTime":"2021-12-31 15:21:55","beginTime":null,"endTime":null,"terminalCode":["1"],"monthSales":"0","third_class_code":"198","pointsPriceNow":"0.00","points":"0","nameCh":"\u7ef4\u8fbe","nameEn":null,"brandCode":"PP20211231151823172","goodsPriceActivity":null,"goodsPriceNow":"5.00"}],"totalRec":1}
2021-12-31 15:30:31 [traceId:79a287f4246a4aff8fc09f0b58191e23] [ INFO ] [ com.ruwii.es.service.es.EsGoodsMixMessageService ] 【商品批量同步】成功
2021-12-31 15:30:31 [traceId:79a287f4246a4aff8fc09f0b58191e23] [ INFO ] [ com.ruwii.es.service.rabbitmq.MQConsumerService ] 【RabbitMQ处理消息】消息消费成功:id:6
2021-12-31 15:30:31 [traceId:8ced2b971d164e2c8f232444727a3385] [ INFO ] [ com.ruwii.es.service.rabbitmq.MQConsumerService ] 【RabbitMQ接收消息】,(Body:'[B@53b2fee9(byte[118])' MessageProperties [headers={}, contentLength=0, redelivered=false, receivedExchange=, receivedRoutingKey=goodsQueue, deliveryTag=7, consumerTag=amq.ctag-QZt2JbH9o9mlCwR2jqIPaA, consumerQueue=goodsQueue])
2021-12-31 15:30:31 [traceId:8ced2b971d164e2c8f232444727a3385] [ INFO ] [ com.ruwii.es.service.rabbitmq.MQConsumerService ] 【RabbitMQ接收消息】,消息体内容:{"operationType":1,"goodsCode":["G202112311521459600"],"timestamp":1640935333,"id":"60ca92582e72dc382eafd1bfa2081d8e"}
2021-12-31 15:30:31 [traceId:8ced2b971d164e2c8f232444727a3385] [ INFO ] [ com.ruwii.es.service.es.EsGoodsMixMessageService ] 【商品批量同步】入参:{"operationType":1,"goodsCode":["G202112311521459600"],"timestamp":1640935333,"id":"60ca92582e72dc382eafd1bfa2081d8e"}
2021-12-31 15:30:31 [traceId:8ced2b971d164e2c8f232444727a3385] [ INFO ] [ com.ruwii.es.service.mihe.impl.MiheServiceImpl ] 【商品查询】数据:
{"statusCode":200,"message":"\u64cd\u4f5c\u6210\u529f","records":[{"goodsDescription":"\u7ef4\u8fbe\u7eb8\u5dfe\u63cf\u8ff0","code":"G202112311521459600","title":"\u7ef4\u8fbe\u7eb8\u5dfe\u957f\u6807\u9898","label":"\u7ef4\u8fbe\u7eb8\u5dfe\u6807\u7b7e","shortTitle":"\u7ef4\u8fbe\u7eb8\u5dfe\u77ed\u6807\u9898","classCode":"9","shopCode":"DP20211231151835178","className":"\u5e03\u827a\u8f6f\u88c5-\u6bdb\u5dfe","seq":"0","saleTime":"2021-12-31 15:21:55","beginTime":null,"endTime":null,"terminalCode":["1"],"monthSales":"0","third_class_code":"198","pointsPriceNow":"0.00","points":"0","nameCh":"\u7ef4\u8fbe","nameEn":null,"brandCode":"PP20211231151823172","goodsPriceActivity":null,"goodsPriceNow":"5.00"}],"totalRec":1}
2021-12-31 15:30:31 [traceId:8ced2b971d164e2c8f232444727a3385] [ INFO ] [ com.ruwii.es.service.es.EsGoodsMixMessageService ] 【商品批量同步】成功
2021-12-31 15:30:31 [traceId:8ced2b971d164e2c8f232444727a3385] [ INFO ] [ com.ruwii.es.service.rabbitmq.MQConsumerService ] 【RabbitMQ处理消息】消息消费成功:id:7
2021-12-31 15:31:05 [traceId:] [ INFO ] [ org.apache.catalina.core.ContainerBase.[Tomcat].[localhost].[/] ] Initializing Spring DispatcherServlet 'dispatcherServlet'
2021-12-31 15:31:05 [traceId:] [ INFO ] [ org.springframework.web.servlet.DispatcherServlet ] Initializing Servlet 'dispatcherServlet'
2021-12-31 15:31:05 [traceId:] [ INFO ] [ org.springframework.web.servlet.DispatcherServlet ] Completed initialization in 1 ms
2021-12-31 15:31:25 [traceId:] [ INFO ] [ org.springframework.boot.admin.SpringApplicationAdminMXBeanRegistrar$SpringApplicationAdmin ] Application shutdown requested.
2021-12-31 15:31:25 [traceId:] [ INFO ] [ org.springframework.amqp.rabbit.listener.SimpleMessageListenerContainer ] Waiting for workers to finish.
2021-12-31 15:31:25 [traceId:] [ INFO ] [ org.springframework.amqp.rabbit.listener.SimpleMessageListenerContainer ] Successfully waited for workers to finish.
2021-12-31 15:31:26 [traceId:] [ INFO ] [ org.springframework.scheduling.concurrent.ThreadPoolTaskScheduler ] Shutting down ExecutorService 'taskScheduler'
2021-12-31 15:31:26 [traceId:] [ INFO ] [ org.springframework.amqp.rabbit.listener.SimpleMessageListenerContainer ] Shutdown ignored - container is not active already
2021-12-31 15:31:26 [traceId:] [ INFO ] [ org.springframework.scheduling.concurrent.ThreadPoolTaskExecutor ] Shutting down ExecutorService 'applicationTaskExecutor'
2021-12-31 15:31:28 [traceId:] [ INFO ] [ org.hibernate.validator.internal.util.Version ] HV000001: Hibernate Validator 6.1.5.Final
2021-12-31 15:31:28 [traceId:] [ INFO ] [ com.ruwii.es.EsApplication ] Starting EsApplication using Java 1.8.0_241 on DESKTOP-0V38B9H with PID 9940 (D:\workspace-eclipse-2020-06\es\target\classes started by Lewis in D:\workspace-eclipse-2020-06\es)
2021-12-31 15:31:28 [traceId:] [ INFO ] [ com.ruwii.es.EsApplication ] No active profile set, falling back to default profiles: default
2021-12-31 15:31:29 [traceId:] [ INFO ] [ org.springframework.data.repository.config.RepositoryConfigurationDelegate ] Multiple Spring Data modules found, entering strict repository configuration mode!
2021-12-31 15:31:29 [traceId:] [ INFO ] [ org.springframework.data.repository.config.RepositoryConfigurationDelegate ] Bootstrapping Spring Data Redis repositories in DEFAULT mode.
2021-12-31 15:31:29 [traceId:] [ INFO ] [ org.springframework.data.repository.config.RepositoryConfigurationDelegate ] Finished Spring Data repository scanning in 13 ms. Found 0 Redis repository interfaces.
2021-12-31 15:31:30 [traceId:] [ INFO ] [ org.springframework.boot.web.embedded.tomcat.TomcatWebServer ] Tomcat initialized with port(s): 8110 (http)
2021-12-31 15:31:30 [traceId:] [ INFO ] [ org.apache.coyote.http11.Http11NioProtocol ] Initializing ProtocolHandler ["http-nio-8110"]
2021-12-31 15:31:30 [traceId:] [ INFO ] [ org.apache.catalina.core.StandardService ] Starting service [Tomcat]
2021-12-31 15:31:30 [traceId:] [ INFO ] [ org.apache.catalina.core.StandardEngine ] Starting Servlet engine: [Apache Tomcat/9.0.43]
2021-12-31 15:31:30 [traceId:] [ INFO ] [ org.apache.catalina.core.AprLifecycleListener ] Loaded Apache Tomcat Native library [1.2.23] using APR version [1.7.0].
2021-12-31 15:31:30 [traceId:] [ INFO ] [ org.apache.catalina.core.AprLifecycleListener ] APR capabilities: IPv6 [true], sendfile [true], accept filters [false], random [true].
2021-12-31 15:31:30 [traceId:] [ INFO ] [ org.apache.catalina.core.AprLifecycleListener ] APR/OpenSSL configuration: useAprConnector [false], useOpenSSL [true]
2021-12-31 15:31:30 [traceId:] [ INFO ] [ org.apache.catalina.core.AprLifecycleListener ] OpenSSL successfully initialized [OpenSSL 1.1.1c 28 May 2019]
2021-12-31 15:31:30 [traceId:] [ INFO ] [ org.apache.catalina.core.ContainerBase.[Tomcat].[localhost].[/] ] Initializing Spring embedded WebApplicationContext
2021-12-31 15:31:30 [traceId:] [ INFO ] [ org.springframework.boot.web.servlet.context.ServletWebServerApplicationContext ] Root WebApplicationContext: initialization completed in 1874 ms
2021-12-31 15:31:32 [traceId:] [ INFO ] [ org.springframework.scheduling.concurrent.ThreadPoolTaskExecutor ] Initializing ExecutorService 'applicationTaskExecutor'
2021-12-31 15:31:33 [traceId:] [ INFO ] [ org.springframework.scheduling.concurrent.ThreadPoolTaskScheduler ] Initializing ExecutorService 'taskScheduler'
2021-12-31 15:31:33 [traceId:] [ INFO ] [ org.apache.coyote.http11.Http11NioProtocol ] Starting ProtocolHandler ["http-nio-8110"]
2021-12-31 15:31:33 [traceId:] [ INFO ] [ org.springframework.boot.web.embedded.tomcat.TomcatWebServer ] Tomcat started on port(s): 8110 (http) with context path ''
2021-12-31 15:31:33 [traceId:] [ INFO ] [ org.springframework.amqp.rabbit.connection.CachingConnectionFactory ] Attempting to connect to: [192.168.1.180:5672]
2021-12-31 15:31:33 [traceId:] [ INFO ] [ org.springframework.amqp.rabbit.connection.CachingConnectionFactory ] Created new connection: rabbitConnectionFactory#45eab322:0/SimpleConnection@4070ace9 [delegate=amqp://admin@192.168.1.180:5672/, localPort= 10080]
2021-12-31 15:31:34 [traceId:] [ INFO ] [ com.ruwii.es.EsApplication ] Started EsApplication in 5.867 seconds (JVM running for 7.661)
2021-12-31 15:31:46 [traceId:] [ INFO ] [ org.apache.catalina.core.ContainerBase.[Tomcat].[localhost].[/] ] Initializing Spring DispatcherServlet 'dispatcherServlet'
2021-12-31 15:31:46 [traceId:] [ INFO ] [ org.springframework.web.servlet.DispatcherServlet ] Initializing Servlet 'dispatcherServlet'
2021-12-31 15:31:46 [traceId:] [ INFO ] [ org.springframework.web.servlet.DispatcherServlet ] Completed initialization in 0 ms
2021-12-31 15:36:02 [traceId:cd2eb0b9318a473a866032f78d82fe65] [ INFO ] [ com.ruwii.es.service.rabbitmq.MQConsumerService ] 【RabbitMQ接收消息】,(Body:'[B@319b0baf(byte[118])' MessageProperties [headers={}, contentLength=0, redelivered=false, receivedExchange=, receivedRoutingKey=goodsQueue, deliveryTag=1, consumerTag=amq.ctag-X90yG56jW8dEobVe4sPcYQ, consumerQueue=goodsQueue])
2021-12-31 15:36:02 [traceId:cd2eb0b9318a473a866032f78d82fe65] [ INFO ] [ com.ruwii.es.service.rabbitmq.MQConsumerService ] 【RabbitMQ接收消息】,消息体内容:{"operationType":1,"goodsCode":["G202112311535549601"],"timestamp":1640936163,"id":"425a93d9ce6068dc3d45af681543642e"}
2021-12-31 15:36:02 [traceId:cd2eb0b9318a473a866032f78d82fe65] [ INFO ] [ com.ruwii.es.service.es.EsGoodsMixMessageService ] 【商品批量同步】入参:{"operationType":1,"goodsCode":["G202112311535549601"],"timestamp":1640936163,"id":"425a93d9ce6068dc3d45af681543642e"}
2021-12-31 15:36:02 [traceId:cd2eb0b9318a473a866032f78d82fe65] [ INFO ] [ com.ruwii.es.service.mihe.impl.MiheServiceImpl ] 【商品查询】数据:
{"statusCode":200,"message":"\u64cd\u4f5c\u6210\u529f","records":[{"goodsDescription":"\u83f2\u8bfa\u539a\u6930\u4e73\u63cf\u8ff0","code":"G202112311535549601","title":"\u83f2\u8bfa\u539a\u6930\u4e73\u957f\u6807\u9898","label":"\u83f2\u8bfa\u539a\u6930\u4e73\u6807\u7b7e","shortTitle":"\u83f2\u8bfa\u539a\u6930\u4e73\u77ed\u6807\u9898","classCode":"43","shopCode":"DP20211231153131179","className":"\u51b2\u996e\u8317\u8336-\u5496\u5561\u5976\u8336","seq":"0","saleTime":"2021-12-31 15:36:02","beginTime":null,"endTime":null,"terminalCode":[""],"monthSales":"0","third_class_code":"469","pointsPriceNow":"0.00","points":"0","nameCh":"\u83f2\u8bfa","nameEn":null,"brandCode":"PP20211231153112173","goodsPriceActivity":null,"goodsPriceNow":"13.00"}],"totalRec":1}
2021-12-31 15:36:02 [traceId:cd2eb0b9318a473a866032f78d82fe65] [ INFO ] [ com.ruwii.es.service.es.EsGoodsMixMessageService ] 【商品批量同步】成功
2021-12-31 15:36:02 [traceId:cd2eb0b9318a473a866032f78d82fe65] [ INFO ] [ com.ruwii.es.service.rabbitmq.MQConsumerService ] 【RabbitMQ处理消息】消息消费成功:id:1
2021-12-31 15:37:04 [traceId:8abe3e570a7a4b9882c0ff8674125979] [ INFO ] [ com.ruwii.es.service.rabbitmq.MQConsumerService ] 【RabbitMQ接收消息】,(Body:'[B@7542d018(byte[118])' MessageProperties [headers={}, contentLength=0, redelivered=false, receivedExchange=, receivedRoutingKey=goodsQueue, deliveryTag=2, consumerTag=amq.ctag-X90yG56jW8dEobVe4sPcYQ, consumerQueue=goodsQueue])
2021-12-31 15:37:04 [traceId:8abe3e570a7a4b9882c0ff8674125979] [ INFO ] [ com.ruwii.es.service.rabbitmq.MQConsumerService ] 【RabbitMQ接收消息】,消息体内容:{"operationType":1,"goodsCode":["G202112311535549601"],"timestamp":1640936225,"id":"5d49ad0cd41da9420a40fdfcfb172341"}
2021-12-31 15:37:04 [traceId:8abe3e570a7a4b9882c0ff8674125979] [ INFO ] [ com.ruwii.es.service.es.EsGoodsMixMessageService ] 【商品批量同步】入参:{"operationType":1,"goodsCode":["G202112311535549601"],"timestamp":1640936225,"id":"5d49ad0cd41da9420a40fdfcfb172341"}
2021-12-31 15:37:04 [traceId:8abe3e570a7a4b9882c0ff8674125979] [ INFO ] [ com.ruwii.es.service.mihe.impl.MiheServiceImpl ] 【商品查询】数据:
{"statusCode":200,"message":"\u64cd\u4f5c\u6210\u529f","records":[{"goodsDescription":"\u83f2\u8bfa\u539a\u6930\u4e73\u63cf\u8ff0","code":"G202112311535549601","title":"\u83f2\u8bfa\u539a\u6930\u4e73\u957f\u6807\u9898","label":"\u83f2\u8bfa\u539a\u6930\u4e73\u6807\u7b7e","shortTitle":"\u83f2\u8bfa\u539a\u6930\u4e73\u77ed\u6807\u9898","classCode":"43","shopCode":"DP20211231153131179","className":"\u51b2\u996e\u8317\u8336-\u5496\u5561\u5976\u8336","seq":"0","saleTime":"2021-12-31 15:36:02","beginTime":null,"endTime":null,"terminalCode":["1"],"monthSales":"0","third_class_code":"469","pointsPriceNow":"0.00","points":"0","nameCh":"\u83f2\u8bfa","nameEn":null,"brandCode":"PP20211231153112173","goodsPriceActivity":null,"goodsPriceNow":"13.00"}],"totalRec":1}
2021-12-31 15:37:04 [traceId:8abe3e570a7a4b9882c0ff8674125979] [ INFO ] [ com.ruwii.es.service.es.EsGoodsMixMessageService ] 【商品批量同步】成功
2021-12-31 15:37:04 [traceId:8abe3e570a7a4b9882c0ff8674125979] [ INFO ] [ com.ruwii.es.service.rabbitmq.MQConsumerService ] 【RabbitMQ处理消息】消息消费成功:id:2
2021-12-31 15:37:49 [traceId:] [ INFO ] [ org.springframework.boot.admin.SpringApplicationAdminMXBeanRegistrar$SpringApplicationAdmin ] Application shutdown requested.
2021-12-31 15:37:49 [traceId:] [ INFO ] [ org.springframework.amqp.rabbit.listener.SimpleMessageListenerContainer ] Waiting for workers to finish.
2021-12-31 15:37:49 [traceId:] [ INFO ] [ org.springframework.amqp.rabbit.listener.SimpleMessageListenerContainer ] Successfully waited for workers to finish.
2021-12-31 15:37:50 [traceId:] [ INFO ] [ org.springframework.scheduling.concurrent.ThreadPoolTaskScheduler ] Shutting down ExecutorService 'taskScheduler'
2021-12-31 15:37:50 [traceId:] [ INFO ] [ org.springframework.amqp.rabbit.listener.SimpleMessageListenerContainer ] Shutdown ignored - container is not active already
2021-12-31 15:37:50 [traceId:] [ INFO ] [ org.springframework.scheduling.concurrent.ThreadPoolTaskExecutor ] Shutting down ExecutorService 'applicationTaskExecutor'

View File

@ -0,0 +1,566 @@
2022-01-10 09:17:42 [traceId:] [ INFO ] [ org.hibernate.validator.internal.util.Version ] HV000001: Hibernate Validator 6.1.5.Final
2022-01-10 09:17:43 [traceId:] [ INFO ] [ com.ruwii.es.EsApplication ] Starting EsApplication using Java 1.8.0_241 on DESKTOP-0V38B9H with PID 39920 (D:\workspace-eclipse-2020-06\es\target\classes started by Lewis in D:\workspace-eclipse-2020-06\es)
2022-01-10 09:17:43 [traceId:] [ INFO ] [ com.ruwii.es.EsApplication ] No active profile set, falling back to default profiles: default
2022-01-10 09:17:46 [traceId:] [ INFO ] [ org.springframework.data.repository.config.RepositoryConfigurationDelegate ] Multiple Spring Data modules found, entering strict repository configuration mode!
2022-01-10 09:17:46 [traceId:] [ INFO ] [ org.springframework.data.repository.config.RepositoryConfigurationDelegate ] Bootstrapping Spring Data Redis repositories in DEFAULT mode.
2022-01-10 09:17:46 [traceId:] [ INFO ] [ org.springframework.data.repository.config.RepositoryConfigurationDelegate ] Finished Spring Data repository scanning in 15 ms. Found 0 Redis repository interfaces.
2022-01-10 09:17:47 [traceId:] [ INFO ] [ org.springframework.boot.web.embedded.tomcat.TomcatWebServer ] Tomcat initialized with port(s): 8110 (http)
2022-01-10 09:17:47 [traceId:] [ INFO ] [ org.apache.coyote.http11.Http11NioProtocol ] Initializing ProtocolHandler ["http-nio-8110"]
2022-01-10 09:17:47 [traceId:] [ INFO ] [ org.apache.catalina.core.StandardService ] Starting service [Tomcat]
2022-01-10 09:17:47 [traceId:] [ INFO ] [ org.apache.catalina.core.StandardEngine ] Starting Servlet engine: [Apache Tomcat/9.0.43]
2022-01-10 09:17:47 [traceId:] [ INFO ] [ org.apache.catalina.core.AprLifecycleListener ] Loaded Apache Tomcat Native library [1.2.23] using APR version [1.7.0].
2022-01-10 09:17:47 [traceId:] [ INFO ] [ org.apache.catalina.core.AprLifecycleListener ] APR capabilities: IPv6 [true], sendfile [true], accept filters [false], random [true].
2022-01-10 09:17:47 [traceId:] [ INFO ] [ org.apache.catalina.core.AprLifecycleListener ] APR/OpenSSL configuration: useAprConnector [false], useOpenSSL [true]
2022-01-10 09:17:47 [traceId:] [ INFO ] [ org.apache.catalina.core.AprLifecycleListener ] OpenSSL successfully initialized [OpenSSL 1.1.1c 28 May 2019]
2022-01-10 09:17:48 [traceId:] [ INFO ] [ org.apache.catalina.core.ContainerBase.[Tomcat].[localhost].[/] ] Initializing Spring embedded WebApplicationContext
2022-01-10 09:17:48 [traceId:] [ INFO ] [ org.springframework.boot.web.servlet.context.ServletWebServerApplicationContext ] Root WebApplicationContext: initialization completed in 4777 ms
2022-01-10 09:17:51 [traceId:] [ INFO ] [ org.springframework.scheduling.concurrent.ThreadPoolTaskExecutor ] Initializing ExecutorService 'applicationTaskExecutor'
2022-01-10 09:17:53 [traceId:] [ INFO ] [ org.springframework.scheduling.concurrent.ThreadPoolTaskScheduler ] Initializing ExecutorService 'taskScheduler'
2022-01-10 09:17:53 [traceId:] [ INFO ] [ org.apache.coyote.http11.Http11NioProtocol ] Starting ProtocolHandler ["http-nio-8110"]
2022-01-10 09:17:53 [traceId:] [ INFO ] [ org.springframework.boot.web.embedded.tomcat.TomcatWebServer ] Tomcat started on port(s): 8110 (http) with context path ''
2022-01-10 09:17:53 [traceId:] [ INFO ] [ org.springframework.amqp.rabbit.connection.CachingConnectionFactory ] Attempting to connect to: [192.168.1.180:5672]
2022-01-10 09:17:54 [traceId:] [ INFO ] [ org.springframework.amqp.rabbit.connection.CachingConnectionFactory ] Created new connection: rabbitConnectionFactory#2424cb9d:0/SimpleConnection@278de2b2 [delegate=amqp://admin@192.168.1.180:5672/, localPort= 14385]
2022-01-10 09:17:54 [traceId:] [ INFO ] [ com.ruwii.es.EsApplication ] Started EsApplication in 12.679 seconds (JVM running for 16.781)
2022-01-10 09:17:54 [traceId:9b48a36aa7a047cf9105a4a55923f071] [ INFO ] [ com.ruwii.es.service.rabbitmq.MQConsumerService ] 【RabbitMQ接收消息】,(Body:'[B@37bfbd00(byte[118])' MessageProperties [headers={}, contentLength=0, redelivered=false, receivedExchange=, receivedRoutingKey=goodsQueue, deliveryTag=1, consumerTag=amq.ctag-1oYl9qY_zpX8S13E3yq-Mw, consumerQueue=goodsQueue])
2022-01-10 09:17:54 [traceId:9b48a36aa7a047cf9105a4a55923f071] [ INFO ] [ com.ruwii.es.service.rabbitmq.MQConsumerService ] 【RabbitMQ接收消息】,消息体内容:{"operationType":1,"goodsCode":["G202111041336015845"],"timestamp":1641346273,"id":"110385c794379cff69f312bbb27169c7"}
2022-01-10 09:17:56 [traceId:9b48a36aa7a047cf9105a4a55923f071] [ INFO ] [ com.ruwii.es.service.es.EsGoodsMixMessageService ] 【商品批量同步】入参:{"operationType":1,"goodsCode":["G202111041336015845"],"timestamp":1641346273,"id":"110385c794379cff69f312bbb27169c7"}
2022-01-10 09:17:56 [traceId:9b48a36aa7a047cf9105a4a55923f071] [ INFO ] [ com.ruwii.es.service.mihe.impl.MiheServiceImpl ] 【商品查询】数据:
{"statusCode":200,"message":"\u64cd\u4f5c\u6210\u529f","records":[],"totalRec":0}
2022-01-10 09:17:56 [traceId:9b48a36aa7a047cf9105a4a55923f071] [ INFO ] [ com.ruwii.es.service.es.EsGoodsMixMessageService ] 【商品批量同步】无可用数据
2022-01-10 09:17:56 [traceId:9b48a36aa7a047cf9105a4a55923f071] [ INFO ] [ com.ruwii.es.service.rabbitmq.MQConsumerService ] 【RabbitMQ处理消息】消息消费成功:id:1
2022-01-10 09:17:56 [traceId:efefaeca84334eb4bc7d198db279beea] [ INFO ] [ com.ruwii.es.service.rabbitmq.MQConsumerService ] 【RabbitMQ接收消息】,(Body:'[B@35275d6e(byte[118])' MessageProperties [headers={}, contentLength=0, redelivered=false, receivedExchange=, receivedRoutingKey=goodsQueue, deliveryTag=2, consumerTag=amq.ctag-1oYl9qY_zpX8S13E3yq-Mw, consumerQueue=goodsQueue])
2022-01-10 09:17:56 [traceId:efefaeca84334eb4bc7d198db279beea] [ INFO ] [ com.ruwii.es.service.rabbitmq.MQConsumerService ] 【RabbitMQ接收消息】,消息体内容:{"operationType":1,"goodsCode":["G202112141128135886"],"timestamp":1641346327,"id":"1ebf32ebe2c11d22e72bdd672685cd1b"}
2022-01-10 09:17:56 [traceId:efefaeca84334eb4bc7d198db279beea] [ INFO ] [ com.ruwii.es.service.es.EsGoodsMixMessageService ] 【商品批量同步】入参:{"operationType":1,"goodsCode":["G202112141128135886"],"timestamp":1641346327,"id":"1ebf32ebe2c11d22e72bdd672685cd1b"}
2022-01-10 09:17:57 [traceId:efefaeca84334eb4bc7d198db279beea] [ INFO ] [ com.ruwii.es.service.mihe.impl.MiheServiceImpl ] 【商品查询】数据:
{"statusCode":200,"message":"\u64cd\u4f5c\u6210\u529f","records":[],"totalRec":0}
2022-01-10 09:17:57 [traceId:efefaeca84334eb4bc7d198db279beea] [ INFO ] [ com.ruwii.es.service.es.EsGoodsMixMessageService ] 【商品批量同步】无可用数据
2022-01-10 09:17:57 [traceId:efefaeca84334eb4bc7d198db279beea] [ INFO ] [ com.ruwii.es.service.rabbitmq.MQConsumerService ] 【RabbitMQ处理消息】消息消费成功:id:2
2022-01-10 09:17:57 [traceId:ad5d02e5a21a4d24baebe5c55f486fa0] [ INFO ] [ com.ruwii.es.service.rabbitmq.MQConsumerService ] 【RabbitMQ接收消息】,(Body:'[B@54f11a33(byte[118])' MessageProperties [headers={}, contentLength=0, redelivered=false, receivedExchange=, receivedRoutingKey=goodsQueue, deliveryTag=3, consumerTag=amq.ctag-1oYl9qY_zpX8S13E3yq-Mw, consumerQueue=goodsQueue])
2022-01-10 09:17:57 [traceId:ad5d02e5a21a4d24baebe5c55f486fa0] [ INFO ] [ com.ruwii.es.service.rabbitmq.MQConsumerService ] 【RabbitMQ接收消息】,消息体内容:{"operationType":1,"goodsCode":["G202104141158165761"],"timestamp":1641346468,"id":"7bc15e904fdf6397b04862f8cd66582b"}
2022-01-10 09:17:57 [traceId:ad5d02e5a21a4d24baebe5c55f486fa0] [ INFO ] [ com.ruwii.es.service.es.EsGoodsMixMessageService ] 【商品批量同步】入参:{"operationType":1,"goodsCode":["G202104141158165761"],"timestamp":1641346468,"id":"7bc15e904fdf6397b04862f8cd66582b"}
2022-01-10 09:17:57 [traceId:ad5d02e5a21a4d24baebe5c55f486fa0] [ INFO ] [ com.ruwii.es.service.mihe.impl.MiheServiceImpl ] 【商品查询】数据:
{"statusCode":200,"message":"\u64cd\u4f5c\u6210\u529f","records":[{"goodsDescription":" \u6d77\u84dd\u4e4b\u8c1c","code":"G202104141158165761","title":"\u6d77\u84dd\u4e4b\u8c1c","label":null,"shortTitle":" \u6d77\u84dd\u4e4b\u8c1c","classCode":"21","shopCode":"DP20210414115815136","className":"\u9999\u6c34\u5f69\u5986-\u5f69\u5986\u5957\u88c5","seq":"0","saleTime":"2021-11-26 15:26:29","beginTime":null,"endTime":null,"terminalCode":[""],"monthSales":"0","third_class_code":"355","pointsPriceNow":"0.00","points":"0","nameCh":"\u6d77\u84dd\u4e4b\u8c1c\u54c1\u724c\u9986","nameEn":"LAMER","brandCode":"PP20210414115815133","goodsPriceActivity":null,"goodsPriceNow":"1.00"}],"totalRec":1}
2022-01-10 09:17:59 [traceId:ad5d02e5a21a4d24baebe5c55f486fa0] [ INFO ] [ com.ruwii.es.service.rabbitmq.MQConsumerService ] 【RabbitMQ处理消息】消息消费失败:id:3,重新放回RabbitMQ。
2022-01-10 09:17:59 [traceId:04f9f0e679e040edbd3296295099b93b] [ INFO ] [ com.ruwii.es.service.rabbitmq.MQConsumerService ] 【RabbitMQ接收消息】,(Body:'[B@7d156eb9(byte[118])' MessageProperties [headers={}, contentLength=0, redelivered=false, receivedExchange=, receivedRoutingKey=goodsQueue, deliveryTag=4, consumerTag=amq.ctag-1oYl9qY_zpX8S13E3yq-Mw, consumerQueue=goodsQueue])
2022-01-10 09:17:59 [traceId:04f9f0e679e040edbd3296295099b93b] [ INFO ] [ com.ruwii.es.service.rabbitmq.MQConsumerService ] 【RabbitMQ接收消息】,消息体内容:{"operationType":1,"goodsCode":["G202107291638275809"],"timestamp":1641349893,"id":"aab65c97ea0ccbb98610451dbb4b7545"}
2022-01-10 09:17:59 [traceId:04f9f0e679e040edbd3296295099b93b] [ INFO ] [ com.ruwii.es.service.es.EsGoodsMixMessageService ] 【商品批量同步】入参:{"operationType":1,"goodsCode":["G202107291638275809"],"timestamp":1641349893,"id":"aab65c97ea0ccbb98610451dbb4b7545"}
2022-01-10 09:18:00 [traceId:04f9f0e679e040edbd3296295099b93b] [ INFO ] [ com.ruwii.es.service.mihe.impl.MiheServiceImpl ] 【商品查询】数据:
{"statusCode":200,"message":"\u64cd\u4f5c\u6210\u529f","records":[{"goodsDescription":" \u5973\u795e\/\u7f51\u7ea2\u90fd\u5728\u7528\u7684\u53e3\u8154\u6e05\u6d01\u795e\u5668","code":"G202107291638275809","title":"Colgate\u9ad8\u9732\u6d01\u6c34\u7259\u7ebf \u6e05\u6d01\u9f7f\u7f1d\u7259\u7f1d\u4fbf\u643a\u5f0f\u55b7\u7259\u6d17\u7259\u5668","label":"\u5973\u795e\/\u7f51\u7ea2\u90fd\u5728\u7528\u7684\u53e3\u8154\u6e05\u6d01\u795e\u5668","shortTitle":"Colgate\u9ad8\u9732\u6d01\u6c34\u7259\u7ebf","classCode":"17","shopCode":"DP20210318162912120","className":"\u4e2a\u4eba\u62a4\u7406-\u7259\u7ebf\/\u7259\u7ebf\u68d2","seq":"11","saleTime":"2021-11-29 13:38:17","beginTime":null,"endTime":null,"terminalCode":["1","11","39","69","70"],"monthSales":"13","third_class_code":"413","pointsPriceNow":"0.00","points":"0","nameCh":"","nameEn":"LG","brandCode":"PP20210318162858117","goodsPriceActivity":null,"goodsPriceNow":"2.00"}],"totalRec":1}
2022-01-10 09:18:01 [traceId:04f9f0e679e040edbd3296295099b93b] [ INFO ] [ com.ruwii.es.service.rabbitmq.MQConsumerService ] 【RabbitMQ处理消息】消息消费失败:id:4,重新放回RabbitMQ。
2022-01-10 09:18:01 [traceId:c148458681824edd9c878e495c368e53] [ INFO ] [ com.ruwii.es.service.rabbitmq.MQConsumerService ] 【RabbitMQ接收消息】,(Body:'[B@3a35d50d(byte[118])' MessageProperties [headers={}, contentLength=0, redelivered=false, receivedExchange=, receivedRoutingKey=goodsQueue, deliveryTag=5, consumerTag=amq.ctag-1oYl9qY_zpX8S13E3yq-Mw, consumerQueue=goodsQueue])
2022-01-10 09:18:01 [traceId:c148458681824edd9c878e495c368e53] [ INFO ] [ com.ruwii.es.service.rabbitmq.MQConsumerService ] 【RabbitMQ接收消息】,消息体内容:{"operationType":1,"goodsCode":["G202103221701085736"],"timestamp":1641350656,"id":"fcf4934a8c91c71f146a5c2711ccc1c3"}
2022-01-10 09:18:01 [traceId:c148458681824edd9c878e495c368e53] [ INFO ] [ com.ruwii.es.service.es.EsGoodsMixMessageService ] 【商品批量同步】入参:{"operationType":1,"goodsCode":["G202103221701085736"],"timestamp":1641350656,"id":"fcf4934a8c91c71f146a5c2711ccc1c3"}
2022-01-10 09:18:01 [traceId:c148458681824edd9c878e495c368e53] [ INFO ] [ com.ruwii.es.service.mihe.impl.MiheServiceImpl ] 【商品查询】数据:
{"statusCode":200,"message":"\u64cd\u4f5c\u6210\u529f","records":[{"goodsDescription":"\u8212\u9002\u4eb2\u80a4\u7528\u7684\u8212\u5fc3\u81ea\u5e26\u9999\u6c14","code":"G202103221701085736","title":"LG\u8d35\u827e\u6717 \u8d35\u7231\u5a18\u536b\u751f\u5dfe \u6574\u7bb1\u7ec4\u5408\u88c554P \u68c9\u67d4\u65e5\u7528","label":"\u8212\u9002\u4eb2\u80a4\u7528\u7684\u8212\u5fc3\u81ea\u5e26\u9999\u6c14","shortTitle":"LG\u8d35\u827e\u6717\u8d35\u7231\u5a18\u536b\u751f\u5dfe","classCode":"17","shopCode":"DP20210318162912120","className":"\u4e2a\u4eba\u62a4\u7406-\u536b\u751f\u5dfe","seq":"0","saleTime":"2021-09-08 10:40:24","beginTime":null,"endTime":null,"terminalCode":["1","11","39","68","69"],"monthSales":"3","third_class_code":"403","pointsPriceNow":"0.00","points":"0","nameCh":"","nameEn":"LG","brandCode":"PP20210318162858117","goodsPriceActivity":null,"goodsPriceNow":"20.00"}],"totalRec":1}
2022-01-10 09:18:03 [traceId:c148458681824edd9c878e495c368e53] [ INFO ] [ com.ruwii.es.service.rabbitmq.MQConsumerService ] 【RabbitMQ处理消息】消息消费失败:id:5,重新放回RabbitMQ。
2022-01-10 09:18:03 [traceId:ef68138014ba4030b55ea6315a786ae8] [ INFO ] [ com.ruwii.es.service.rabbitmq.MQConsumerService ] 【RabbitMQ接收消息】,(Body:'[B@38fcd05e(byte[162])' MessageProperties [headers={}, contentLength=0, redelivered=false, receivedExchange=, receivedRoutingKey=goodsQueue, deliveryTag=6, consumerTag=amq.ctag-1oYl9qY_zpX8S13E3yq-Mw, consumerQueue=goodsQueue])
2022-01-10 09:18:03 [traceId:ef68138014ba4030b55ea6315a786ae8] [ INFO ] [ com.ruwii.es.service.rabbitmq.MQConsumerService ] 【RabbitMQ接收消息】,消息体内容:{"operationType":1,"goodsCode":["G202107281510155799","G202107281510155798","G202107281510165800"],"timestamp":1641350745,"id":"5ebc2487d64d076786ee5a78f563995c"}
2022-01-10 09:18:03 [traceId:ef68138014ba4030b55ea6315a786ae8] [ INFO ] [ com.ruwii.es.service.es.EsGoodsMixMessageService ] 【商品批量同步】入参:{"operationType":1,"goodsCode":["G202107281510155799","G202107281510155798","G202107281510165800"],"timestamp":1641350745,"id":"5ebc2487d64d076786ee5a78f563995c"}
2022-01-10 09:18:03 [traceId:ef68138014ba4030b55ea6315a786ae8] [ INFO ] [ com.ruwii.es.service.mihe.impl.MiheServiceImpl ] 【商品查询】数据:
{"statusCode":200,"message":"\u64cd\u4f5c\u6210\u529f","records":[],"totalRec":0}
2022-01-10 09:18:03 [traceId:ef68138014ba4030b55ea6315a786ae8] [ INFO ] [ com.ruwii.es.service.es.EsGoodsMixMessageService ] 【商品批量同步】无可用数据
2022-01-10 09:18:03 [traceId:ef68138014ba4030b55ea6315a786ae8] [ INFO ] [ com.ruwii.es.service.rabbitmq.MQConsumerService ] 【RabbitMQ处理消息】消息消费成功:id:6
2022-01-10 09:18:03 [traceId:9f5bee1e828b43b0ac78990467b23f70] [ INFO ] [ com.ruwii.es.service.rabbitmq.MQConsumerService ] 【RabbitMQ接收消息】,(Body:'[B@23e22310(byte[118])' MessageProperties [headers={}, contentLength=0, redelivered=false, receivedExchange=, receivedRoutingKey=goodsQueue, deliveryTag=7, consumerTag=amq.ctag-1oYl9qY_zpX8S13E3yq-Mw, consumerQueue=goodsQueue])
2022-01-10 09:18:03 [traceId:9f5bee1e828b43b0ac78990467b23f70] [ INFO ] [ com.ruwii.es.service.rabbitmq.MQConsumerService ] 【RabbitMQ接收消息】,消息体内容:{"operationType":1,"goodsCode":["G202005141707175493"],"timestamp":1641350843,"id":"306c2c552c76f4442dfbae2b9e86929e"}
2022-01-10 09:18:03 [traceId:9f5bee1e828b43b0ac78990467b23f70] [ INFO ] [ com.ruwii.es.service.es.EsGoodsMixMessageService ] 【商品批量同步】入参:{"operationType":1,"goodsCode":["G202005141707175493"],"timestamp":1641350843,"id":"306c2c552c76f4442dfbae2b9e86929e"}
2022-01-10 09:18:03 [traceId:9f5bee1e828b43b0ac78990467b23f70] [ INFO ] [ com.ruwii.es.service.mihe.impl.MiheServiceImpl ] 【商品查询】数据:
{"statusCode":200,"message":"\u64cd\u4f5c\u6210\u529f","records":[{"goodsDescription":"XINSHI-\u65b0\u5b9e\u591a\u89c4\u683c","code":"G202005141707175493","title":"XINSHI-\u65b0\u5b9e\u591a\u89c4\u683c","label":"XINSHI-\u65b0\u5b9e\u591a\u89c4\u683c","shortTitle":"XINSHI-\u65b0\u5b9e","classCode":"17","shopCode":"DP2020031110180567","className":"\u4e2a\u4eba\u62a4\u7406-\u53e3\u7f69","seq":"0","saleTime":"2021-09-09 11:12:33","beginTime":null,"endTime":null,"terminalCode":["1","10","11","7","8"],"monthSales":"3","third_class_code":"427","pointsPriceNow":"0.00","points":"0","nameCh":"\u65b0\u5b9e\u65b0\u5efa","nameEn":"since","brandCode":"PP2020031110172162","goodsPriceActivity":null,"goodsPriceNow":"5.00"}],"totalRec":1}
2022-01-10 09:18:04 [traceId:9f5bee1e828b43b0ac78990467b23f70] [ INFO ] [ com.ruwii.es.service.rabbitmq.MQConsumerService ] 【RabbitMQ处理消息】消息消费失败:id:7,重新放回RabbitMQ。
2022-01-10 09:18:04 [traceId:9635387ca9794dd9843ee1d9bc0cc828] [ INFO ] [ com.ruwii.es.service.rabbitmq.MQConsumerService ] 【RabbitMQ接收消息】,(Body:'[B@7591366e(byte[118])' MessageProperties [headers={}, contentLength=0, redelivered=false, receivedExchange=, receivedRoutingKey=goodsQueue, deliveryTag=8, consumerTag=amq.ctag-1oYl9qY_zpX8S13E3yq-Mw, consumerQueue=goodsQueue])
2022-01-10 09:18:04 [traceId:9635387ca9794dd9843ee1d9bc0cc828] [ INFO ] [ com.ruwii.es.service.rabbitmq.MQConsumerService ] 【RabbitMQ接收消息】,消息体内容:{"operationType":1,"goodsCode":["G202112301048369597"],"timestamp":1641351414,"id":"7715fbbeaf755bef91bb762304611320"}
2022-01-10 09:18:04 [traceId:9635387ca9794dd9843ee1d9bc0cc828] [ INFO ] [ com.ruwii.es.service.es.EsGoodsMixMessageService ] 【商品批量同步】入参:{"operationType":1,"goodsCode":["G202112301048369597"],"timestamp":1641351414,"id":"7715fbbeaf755bef91bb762304611320"}
2022-01-10 09:18:05 [traceId:9635387ca9794dd9843ee1d9bc0cc828] [ INFO ] [ com.ruwii.es.service.mihe.impl.MiheServiceImpl ] 【商品查询】数据:
{"statusCode":200,"message":"\u64cd\u4f5c\u6210\u529f","records":[{"goodsDescription":"\u63cf\u8ff0","code":"G202112301048369597","title":"\u8bfa\u68b5\u5c45\u5bb6\u751f\u6d3b\u88ab\u5b50","label":"\u6807\u7b7e","shortTitle":"\u5c45\u5bb6\u77ed\u6807\u9898","classCode":"10","shopCode":"DP20210701141456154","className":"\u5e8a\u4e0a\u7528\u54c1-\u88ab\u5b50","seq":"40","saleTime":"2021-12-31 09:40:25","beginTime":null,"endTime":null,"terminalCode":["1","39"],"monthSales":"0","third_class_code":"209","pointsPriceNow":"0.00","points":"0","nameCh":"\u8bfa\u68b5","nameEn":"nuofan","brandCode":"PP20210701141437150","goodsPriceActivity":null,"goodsPriceNow":"5.90"}],"totalRec":1}
2022-01-10 09:18:07 [traceId:9635387ca9794dd9843ee1d9bc0cc828] [ INFO ] [ com.ruwii.es.service.rabbitmq.MQConsumerService ] 【RabbitMQ处理消息】消息消费失败:id:8,重新放回RabbitMQ。
2022-01-10 09:18:07 [traceId:2297b38225654c6ba554d4b7afc36554] [ INFO ] [ com.ruwii.es.service.rabbitmq.MQConsumerService ] 【RabbitMQ接收消息】,(Body:'[B@17d7413d(byte[118])' MessageProperties [headers={}, contentLength=0, redelivered=false, receivedExchange=, receivedRoutingKey=goodsQueue, deliveryTag=9, consumerTag=amq.ctag-1oYl9qY_zpX8S13E3yq-Mw, consumerQueue=goodsQueue])
2022-01-10 09:18:07 [traceId:2297b38225654c6ba554d4b7afc36554] [ INFO ] [ com.ruwii.es.service.rabbitmq.MQConsumerService ] 【RabbitMQ接收消息】,消息体内容:{"operationType":1,"goodsCode":["G202112301048369597"],"timestamp":1641352211,"id":"b85de1344f02f75347b53e99b65c4a88"}
2022-01-10 09:18:07 [traceId:2297b38225654c6ba554d4b7afc36554] [ INFO ] [ com.ruwii.es.service.es.EsGoodsMixMessageService ] 【商品批量同步】入参:{"operationType":1,"goodsCode":["G202112301048369597"],"timestamp":1641352211,"id":"b85de1344f02f75347b53e99b65c4a88"}
2022-01-10 09:18:07 [traceId:2297b38225654c6ba554d4b7afc36554] [ INFO ] [ com.ruwii.es.service.mihe.impl.MiheServiceImpl ] 【商品查询】数据:
{"statusCode":200,"message":"\u64cd\u4f5c\u6210\u529f","records":[{"goodsDescription":"\u63cf\u8ff0","code":"G202112301048369597","title":"\u8bfa\u68b5\u5c45\u5bb6\u751f\u6d3b\u88ab\u5b50","label":"\u6807\u7b7e","shortTitle":"\u5c45\u5bb6\u77ed\u6807\u9898","classCode":"10","shopCode":"DP20210701141456154","className":"\u5e8a\u4e0a\u7528\u54c1-\u88ab\u5b50","seq":"40","saleTime":"2021-12-31 09:40:25","beginTime":null,"endTime":null,"terminalCode":["1","39"],"monthSales":"0","third_class_code":"209","pointsPriceNow":"0.00","points":"0","nameCh":"\u8bfa\u68b5","nameEn":"nuofan","brandCode":"PP20210701141437150","goodsPriceActivity":null,"goodsPriceNow":"5.90"}],"totalRec":1}
2022-01-10 09:18:08 [traceId:2297b38225654c6ba554d4b7afc36554] [ INFO ] [ com.ruwii.es.service.rabbitmq.MQConsumerService ] 【RabbitMQ处理消息】消息消费失败:id:9,重新放回RabbitMQ。
2022-01-10 09:18:08 [traceId:16e435f8668e43f4ba6ecdd3bb5e5fe1] [ INFO ] [ com.ruwii.es.service.rabbitmq.MQConsumerService ] 【RabbitMQ接收消息】,(Body:'[B@90b8c89(byte[118])' MessageProperties [headers={}, contentLength=0, redelivered=false, receivedExchange=, receivedRoutingKey=goodsQueue, deliveryTag=10, consumerTag=amq.ctag-1oYl9qY_zpX8S13E3yq-Mw, consumerQueue=goodsQueue])
2022-01-10 09:18:08 [traceId:16e435f8668e43f4ba6ecdd3bb5e5fe1] [ INFO ] [ com.ruwii.es.service.rabbitmq.MQConsumerService ] 【RabbitMQ接收消息】,消息体内容:{"operationType":1,"goodsCode":["G202111231042535860"],"timestamp":1641352566,"id":"c7b5d3bceb15d1f37d3983ce2b54027c"}
2022-01-10 09:18:08 [traceId:16e435f8668e43f4ba6ecdd3bb5e5fe1] [ INFO ] [ com.ruwii.es.service.es.EsGoodsMixMessageService ] 【商品批量同步】入参:{"operationType":1,"goodsCode":["G202111231042535860"],"timestamp":1641352566,"id":"c7b5d3bceb15d1f37d3983ce2b54027c"}
2022-01-10 09:18:08 [traceId:16e435f8668e43f4ba6ecdd3bb5e5fe1] [ INFO ] [ com.ruwii.es.service.mihe.impl.MiheServiceImpl ] 【商品查询】数据:
{"statusCode":200,"message":"\u64cd\u4f5c\u6210\u529f","records":[{"goodsDescription":"zuo\u4e00\u4e0b \u5c41\u6843\u679c\u51bb 96g\/5\u888b 0\u8102\u679c\u51bb\u4f4e\u5361\u4ee3\u9910","code":"G202111231042535860","title":"zuo\u4e00\u4e0b \u5c41\u6843\u679c\u51bb 96g\/5\u888b 0\u8102\u679c\u51bb\u4f4e\u5361\u4ee3\u9910","label":"zuo\u4e00\u4e0b \u5c41\u6843\u679c\u51bb 96g\/5\u888b 0\u8102\u679c\u51bb\u4f4e\u5361\u4ee3\u9910","shortTitle":"zuo\u4e00\u4e0b \u5c41\u6843\u679c\u51bb 5\u888b","classCode":"41","shopCode":"DP2020031210344168","className":"\u4f11\u95f2\u96f6\u98df-\u871c\u996f\u679c\u812f","seq":"1","saleTime":"2021-11-23 11:14:10","beginTime":"2022-01-06 00:00:00","endTime":"2022-01-14 00:00:00","terminalCode":["1","39","68"],"monthSales":"47","third_class_code":"456","pointsPriceNow":"0.00","points":"0","nameCh":"SK-II","nameEn":"SK-II","brandCode":"PP2019062814475423","goodsPriceActivity":"0.50","goodsPriceNow":"3.50"}],"totalRec":1}
2022-01-10 09:18:10 [traceId:16e435f8668e43f4ba6ecdd3bb5e5fe1] [ INFO ] [ com.ruwii.es.service.rabbitmq.MQConsumerService ] 【RabbitMQ处理消息】消息消费失败:id:10,重新放回RabbitMQ。
2022-01-10 09:18:10 [traceId:5dc8cdaa84984d9da38cfd831e78a506] [ INFO ] [ com.ruwii.es.service.rabbitmq.MQConsumerService ] 【RabbitMQ接收消息】,(Body:'[B@5a6733ad(byte[118])' MessageProperties [headers={}, contentLength=0, redelivered=false, receivedExchange=, receivedRoutingKey=goodsQueue, deliveryTag=11, consumerTag=amq.ctag-1oYl9qY_zpX8S13E3yq-Mw, consumerQueue=goodsQueue])
2022-01-10 09:18:10 [traceId:5dc8cdaa84984d9da38cfd831e78a506] [ INFO ] [ com.ruwii.es.service.rabbitmq.MQConsumerService ] 【RabbitMQ接收消息】,消息体内容:{"operationType":1,"goodsCode":["G202108111134485819"],"timestamp":1641362363,"id":"ced59dfcca8ab550ae289e9f0a26cc7e"}
2022-01-10 09:18:10 [traceId:5dc8cdaa84984d9da38cfd831e78a506] [ INFO ] [ com.ruwii.es.service.es.EsGoodsMixMessageService ] 【商品批量同步】入参:{"operationType":1,"goodsCode":["G202108111134485819"],"timestamp":1641362363,"id":"ced59dfcca8ab550ae289e9f0a26cc7e"}
2022-01-10 09:18:10 [traceId:5dc8cdaa84984d9da38cfd831e78a506] [ INFO ] [ com.ruwii.es.service.mihe.impl.MiheServiceImpl ] 【商品查询】数据:
{"statusCode":200,"message":"\u64cd\u4f5c\u6210\u529f","records":[{"goodsDescription":"\u8363\u4e8b\u8fbe\u5a74\u513f\u9759\u97f3\u9632\u6c34\u5145\u7535\u5b9d\u5b9d\u7535\u63a8\u526a\u53d1\u5668\u7eff\u8272\u6b3eRS-TF108","code":"G202108111134485819","title":"\u8363\u4e8b\u8fbe\u5a74\u513f\u9759\u97f3\u9632\u6c34\u5145\u7535\u5b9d\u5b9d\u7535\u63a8\u526a\u53d1\u5668\u7eff\u8272\u6b3eRS-TF108","label":" \u8363\u4e8b\u8fbe\u5a74\u513f\u9759\u97f3\u526a\u53d1\u5668","shortTitle":" \u8363\u4e8b\u8fbe\u5a74\u513f\u9759\u97f3\u526a\u53d1\u5668","classCode":"51","shopCode":"DP20210809173333168","className":"\u6d17\u62a4\u5582\u517b-\u7406\u53d1\u5668","seq":"3","saleTime":"2021-11-29 18:07:56","beginTime":"2022-01-05 00:00:00","endTime":"2022-01-21 00:00:00","terminalCode":["1","11","16","39","68"],"monthSales":"54","third_class_code":"545","pointsPriceNow":"10.00","points":"10","nameCh":"\u8363\u4e8b\u8fbe","nameEn":null,"brandCode":"PP20210809173247164","goodsPriceActivity":"0.99","goodsPriceNow":"1.99"}],"totalRec":1}
2022-01-10 09:18:11 [traceId:5dc8cdaa84984d9da38cfd831e78a506] [ INFO ] [ com.ruwii.es.service.rabbitmq.MQConsumerService ] 【RabbitMQ处理消息】消息消费失败:id:11,重新放回RabbitMQ。
2022-01-10 09:18:11 [traceId:63bf0e85b1194284a369ce943be0e568] [ INFO ] [ com.ruwii.es.service.rabbitmq.MQConsumerService ] 【RabbitMQ接收消息】,(Body:'[B@1e2460de(byte[118])' MessageProperties [headers={}, contentLength=0, redelivered=false, receivedExchange=, receivedRoutingKey=goodsQueue, deliveryTag=12, consumerTag=amq.ctag-1oYl9qY_zpX8S13E3yq-Mw, consumerQueue=goodsQueue])
2022-01-10 09:18:11 [traceId:63bf0e85b1194284a369ce943be0e568] [ INFO ] [ com.ruwii.es.service.rabbitmq.MQConsumerService ] 【RabbitMQ接收消息】,消息体内容:{"operationType":1,"goodsCode":["G202110200945045842"],"timestamp":1641374734,"id":"483577f679a9f58cf549d2b870d63a46"}
2022-01-10 09:18:11 [traceId:63bf0e85b1194284a369ce943be0e568] [ INFO ] [ com.ruwii.es.service.es.EsGoodsMixMessageService ] 【商品批量同步】入参:{"operationType":1,"goodsCode":["G202110200945045842"],"timestamp":1641374734,"id":"483577f679a9f58cf549d2b870d63a46"}
2022-01-10 09:18:11 [traceId:63bf0e85b1194284a369ce943be0e568] [ INFO ] [ com.ruwii.es.service.mihe.impl.MiheServiceImpl ] 【商品查询】数据:
{"statusCode":200,"message":"\u64cd\u4f5c\u6210\u529f","records":[{"goodsDescription":"\u6d4b\u8bd5\u5546\u54c1","code":"G202110200945045842","title":"10\u670820\u65e5\u6d4b\u8bd5\u5546\u54c1","label":"\u6d4b\u8bd5\u5546\u54c1","shortTitle":"\u6d4b\u8bd5\u5546\u54c1","classCode":"9","shopCode":"DP20210318162912120","className":"\u5e03\u827a\u8f6f\u88c5-\u6bdb\u5dfe","seq":"0","saleTime":"2021-10-20 09:45:52","beginTime":null,"endTime":null,"terminalCode":["1","39","68"],"monthSales":"0","third_class_code":"198","pointsPriceNow":"0.00","points":"0","nameCh":"","nameEn":"LG","brandCode":"PP20210318162858117","goodsPriceActivity":null,"goodsPriceNow":"1.00"}],"totalRec":1}
2022-01-10 09:18:13 [traceId:] [ INFO ] [ org.springframework.boot.admin.SpringApplicationAdminMXBeanRegistrar$SpringApplicationAdmin ] Application shutdown requested.
2022-01-10 09:18:13 [traceId:] [ INFO ] [ org.springframework.amqp.rabbit.listener.SimpleMessageListenerContainer ] Waiting for workers to finish.
2022-01-10 09:18:13 [traceId:63bf0e85b1194284a369ce943be0e568] [ INFO ] [ com.ruwii.es.service.rabbitmq.MQConsumerService ] 【RabbitMQ处理消息】消息消费失败:id:12,重新放回RabbitMQ。
2022-01-10 09:18:13 [traceId:a08327c211f14dbc8dea2d4f99c6e63a] [ INFO ] [ com.ruwii.es.service.rabbitmq.MQConsumerService ] 【RabbitMQ接收消息】,(Body:'[B@7d983de7(byte[118])' MessageProperties [headers={}, contentLength=0, redelivered=false, receivedExchange=, receivedRoutingKey=goodsQueue, deliveryTag=13, consumerTag=amq.ctag-1oYl9qY_zpX8S13E3yq-Mw, consumerQueue=goodsQueue])
2022-01-10 09:18:13 [traceId:a08327c211f14dbc8dea2d4f99c6e63a] [ INFO ] [ com.ruwii.es.service.rabbitmq.MQConsumerService ] 【RabbitMQ接收消息】,消息体内容:{"operationType":1,"goodsCode":["G202112311535549601"],"timestamp":1641447475,"id":"6f752ccef37f16d9db0b991745f4e0ca"}
2022-01-10 09:18:13 [traceId:a08327c211f14dbc8dea2d4f99c6e63a] [ INFO ] [ com.ruwii.es.service.es.EsGoodsMixMessageService ] 【商品批量同步】入参:{"operationType":1,"goodsCode":["G202112311535549601"],"timestamp":1641447475,"id":"6f752ccef37f16d9db0b991745f4e0ca"}
2022-01-10 09:18:14 [traceId:a08327c211f14dbc8dea2d4f99c6e63a] [ INFO ] [ com.ruwii.es.service.mihe.impl.MiheServiceImpl ] 【商品查询】数据:
{"statusCode":200,"message":"\u64cd\u4f5c\u6210\u529f","records":[{"goodsDescription":"\u83f2\u8bfa\u539a\u6930\u4e73\u63cf\u8ff0","code":"G202112311535549601","title":"\u83f2\u8bfa\u539a\u6930\u4e73\u957f\u6807\u9898","label":"\u83f2\u8bfa\u539a\u6930\u4e73\u6807\u7b7e","shortTitle":"\u83f2\u8bfa\u539a\u6930\u4e73\u77ed\u6807\u9898","classCode":"43","shopCode":"DP20211231153131179","className":"\u51b2\u996e\u8317\u8336-\u5496\u5561\u5976\u8336","seq":"0","saleTime":"2021-12-31 15:36:02","beginTime":null,"endTime":null,"terminalCode":["1","39"],"monthSales":"0","third_class_code":"469","pointsPriceNow":"0.00","points":"0","nameCh":"\u83f2\u8bfa","nameEn":null,"brandCode":"PP20211231153112173","goodsPriceActivity":null,"goodsPriceNow":"13.00"}],"totalRec":1}
2022-01-10 09:18:15 [traceId:a08327c211f14dbc8dea2d4f99c6e63a] [ INFO ] [ com.ruwii.es.service.rabbitmq.MQConsumerService ] 【RabbitMQ处理消息】消息消费失败:id:13,重新放回RabbitMQ。
2022-01-10 09:18:15 [traceId:f1a5f71c4fbf4305a0429aadc0dbebe4] [ INFO ] [ com.ruwii.es.service.rabbitmq.MQConsumerService ] 【RabbitMQ接收消息】,(Body:'[B@60bd6190(byte[118])' MessageProperties [headers={}, contentLength=0, redelivered=true, receivedExchange=, receivedRoutingKey=goodsQueue, deliveryTag=14, consumerTag=amq.ctag-1oYl9qY_zpX8S13E3yq-Mw, consumerQueue=goodsQueue])
2022-01-10 09:18:15 [traceId:f1a5f71c4fbf4305a0429aadc0dbebe4] [ INFO ] [ com.ruwii.es.service.rabbitmq.MQConsumerService ] 【RabbitMQ接收消息】,消息体内容:{"operationType":1,"goodsCode":["G202104141158165761"],"timestamp":1641346468,"id":"7bc15e904fdf6397b04862f8cd66582b"}
2022-01-10 09:18:15 [traceId:f1a5f71c4fbf4305a0429aadc0dbebe4] [ INFO ] [ com.ruwii.es.service.es.EsGoodsMixMessageService ] 【商品批量同步】入参:{"operationType":1,"goodsCode":["G202104141158165761"],"timestamp":1641346468,"id":"7bc15e904fdf6397b04862f8cd66582b"}
2022-01-10 09:18:15 [traceId:f1a5f71c4fbf4305a0429aadc0dbebe4] [ INFO ] [ com.ruwii.es.service.mihe.impl.MiheServiceImpl ] 【商品查询】数据:
{"statusCode":200,"message":"\u64cd\u4f5c\u6210\u529f","records":[{"goodsDescription":" \u6d77\u84dd\u4e4b\u8c1c","code":"G202104141158165761","title":"\u6d77\u84dd\u4e4b\u8c1c","label":null,"shortTitle":" \u6d77\u84dd\u4e4b\u8c1c","classCode":"21","shopCode":"DP20210414115815136","className":"\u9999\u6c34\u5f69\u5986-\u5f69\u5986\u5957\u88c5","seq":"0","saleTime":"2021-11-26 15:26:29","beginTime":null,"endTime":null,"terminalCode":[""],"monthSales":"0","third_class_code":"355","pointsPriceNow":"0.00","points":"0","nameCh":"\u6d77\u84dd\u4e4b\u8c1c\u54c1\u724c\u9986","nameEn":"LAMER","brandCode":"PP20210414115815133","goodsPriceActivity":null,"goodsPriceNow":"1.00"}],"totalRec":1}
2022-01-10 09:18:17 [traceId:f1a5f71c4fbf4305a0429aadc0dbebe4] [ INFO ] [ com.ruwii.es.service.rabbitmq.MQConsumerService ] 【RabbitMQ处理消息】消息消费失败:id:14,重新放回RabbitMQ。
2022-01-10 09:18:17 [traceId:1220b6922f3246fd9deb741828998757] [ INFO ] [ com.ruwii.es.service.rabbitmq.MQConsumerService ] 【RabbitMQ接收消息】,(Body:'[B@25641fe0(byte[118])' MessageProperties [headers={}, contentLength=0, redelivered=true, receivedExchange=, receivedRoutingKey=goodsQueue, deliveryTag=15, consumerTag=amq.ctag-1oYl9qY_zpX8S13E3yq-Mw, consumerQueue=goodsQueue])
2022-01-10 09:18:17 [traceId:1220b6922f3246fd9deb741828998757] [ INFO ] [ com.ruwii.es.service.rabbitmq.MQConsumerService ] 【RabbitMQ接收消息】,消息体内容:{"operationType":1,"goodsCode":["G202107291638275809"],"timestamp":1641349893,"id":"aab65c97ea0ccbb98610451dbb4b7545"}
2022-01-10 09:18:17 [traceId:1220b6922f3246fd9deb741828998757] [ INFO ] [ com.ruwii.es.service.es.EsGoodsMixMessageService ] 【商品批量同步】入参:{"operationType":1,"goodsCode":["G202107291638275809"],"timestamp":1641349893,"id":"aab65c97ea0ccbb98610451dbb4b7545"}
2022-01-10 09:18:17 [traceId:1220b6922f3246fd9deb741828998757] [ INFO ] [ com.ruwii.es.service.mihe.impl.MiheServiceImpl ] 【商品查询】数据:
{"statusCode":200,"message":"\u64cd\u4f5c\u6210\u529f","records":[{"goodsDescription":" \u5973\u795e\/\u7f51\u7ea2\u90fd\u5728\u7528\u7684\u53e3\u8154\u6e05\u6d01\u795e\u5668","code":"G202107291638275809","title":"Colgate\u9ad8\u9732\u6d01\u6c34\u7259\u7ebf \u6e05\u6d01\u9f7f\u7f1d\u7259\u7f1d\u4fbf\u643a\u5f0f\u55b7\u7259\u6d17\u7259\u5668","label":"\u5973\u795e\/\u7f51\u7ea2\u90fd\u5728\u7528\u7684\u53e3\u8154\u6e05\u6d01\u795e\u5668","shortTitle":"Colgate\u9ad8\u9732\u6d01\u6c34\u7259\u7ebf","classCode":"17","shopCode":"DP20210318162912120","className":"\u4e2a\u4eba\u62a4\u7406-\u7259\u7ebf\/\u7259\u7ebf\u68d2","seq":"11","saleTime":"2021-11-29 13:38:17","beginTime":null,"endTime":null,"terminalCode":["1","11","39","69","70"],"monthSales":"13","third_class_code":"413","pointsPriceNow":"0.00","points":"0","nameCh":"","nameEn":"LG","brandCode":"PP20210318162858117","goodsPriceActivity":null,"goodsPriceNow":"2.00"}],"totalRec":1}
2022-01-10 09:18:18 [traceId:] [ INFO ] [ org.springframework.amqp.rabbit.listener.SimpleMessageListenerContainer ] Workers not finished.
2022-01-10 09:18:18 [traceId:] [ INFO ] [ org.springframework.scheduling.concurrent.ThreadPoolTaskScheduler ] Shutting down ExecutorService 'taskScheduler'
2022-01-10 09:18:18 [traceId:] [ INFO ] [ org.springframework.amqp.rabbit.listener.SimpleMessageListenerContainer ] Shutdown ignored - container is not active already
2022-01-10 09:18:18 [traceId:] [ INFO ] [ org.springframework.scheduling.concurrent.ThreadPoolTaskExecutor ] Shutting down ExecutorService 'applicationTaskExecutor'
2022-01-10 09:18:18 [traceId:1220b6922f3246fd9deb741828998757] [ INFO ] [ com.ruwii.es.service.rabbitmq.MQConsumerService ] 【RabbitMQ处理消息】消息消费失败:id:15,重新放回RabbitMQ失败,消息可能已经丢失,需人工处理。
2022-01-10 09:18:52 [traceId:] [ INFO ] [ org.hibernate.validator.internal.util.Version ] HV000001: Hibernate Validator 6.1.5.Final
2022-01-10 09:18:52 [traceId:] [ INFO ] [ com.ruwii.es.EsApplication ] Starting EsApplication using Java 1.8.0_241 on DESKTOP-0V38B9H with PID 54804 (D:\workspace-eclipse-2020-06\es\target\classes started by Lewis in D:\workspace-eclipse-2020-06\es)
2022-01-10 09:18:52 [traceId:] [ INFO ] [ com.ruwii.es.EsApplication ] No active profile set, falling back to default profiles: default
2022-01-10 09:18:53 [traceId:] [ INFO ] [ org.springframework.data.repository.config.RepositoryConfigurationDelegate ] Multiple Spring Data modules found, entering strict repository configuration mode!
2022-01-10 09:18:53 [traceId:] [ INFO ] [ org.springframework.data.repository.config.RepositoryConfigurationDelegate ] Bootstrapping Spring Data Redis repositories in DEFAULT mode.
2022-01-10 09:18:53 [traceId:] [ INFO ] [ org.springframework.data.repository.config.RepositoryConfigurationDelegate ] Finished Spring Data repository scanning in 13 ms. Found 0 Redis repository interfaces.
2022-01-10 09:18:54 [traceId:] [ INFO ] [ org.springframework.boot.web.embedded.tomcat.TomcatWebServer ] Tomcat initialized with port(s): 8110 (http)
2022-01-10 09:18:54 [traceId:] [ INFO ] [ org.apache.coyote.http11.Http11NioProtocol ] Initializing ProtocolHandler ["http-nio-8110"]
2022-01-10 09:18:54 [traceId:] [ INFO ] [ org.apache.catalina.core.StandardService ] Starting service [Tomcat]
2022-01-10 09:18:54 [traceId:] [ INFO ] [ org.apache.catalina.core.StandardEngine ] Starting Servlet engine: [Apache Tomcat/9.0.43]
2022-01-10 09:18:54 [traceId:] [ INFO ] [ org.apache.catalina.core.AprLifecycleListener ] Loaded Apache Tomcat Native library [1.2.23] using APR version [1.7.0].
2022-01-10 09:18:54 [traceId:] [ INFO ] [ org.apache.catalina.core.AprLifecycleListener ] APR capabilities: IPv6 [true], sendfile [true], accept filters [false], random [true].
2022-01-10 09:18:54 [traceId:] [ INFO ] [ org.apache.catalina.core.AprLifecycleListener ] APR/OpenSSL configuration: useAprConnector [false], useOpenSSL [true]
2022-01-10 09:18:54 [traceId:] [ INFO ] [ org.apache.catalina.core.AprLifecycleListener ] OpenSSL successfully initialized [OpenSSL 1.1.1c 28 May 2019]
2022-01-10 09:18:54 [traceId:] [ INFO ] [ org.apache.catalina.core.ContainerBase.[Tomcat].[localhost].[/] ] Initializing Spring embedded WebApplicationContext
2022-01-10 09:18:54 [traceId:] [ INFO ] [ org.springframework.boot.web.servlet.context.ServletWebServerApplicationContext ] Root WebApplicationContext: initialization completed in 1629 ms
2022-01-10 09:18:56 [traceId:] [ INFO ] [ org.springframework.scheduling.concurrent.ThreadPoolTaskExecutor ] Initializing ExecutorService 'applicationTaskExecutor'
2022-01-10 09:18:57 [traceId:] [ INFO ] [ org.springframework.scheduling.concurrent.ThreadPoolTaskScheduler ] Initializing ExecutorService 'taskScheduler'
2022-01-10 09:18:57 [traceId:] [ INFO ] [ org.apache.coyote.http11.Http11NioProtocol ] Starting ProtocolHandler ["http-nio-8110"]
2022-01-10 09:18:57 [traceId:] [ INFO ] [ org.springframework.boot.web.embedded.tomcat.TomcatWebServer ] Tomcat started on port(s): 8110 (http) with context path ''
2022-01-10 09:18:57 [traceId:] [ INFO ] [ org.springframework.amqp.rabbit.connection.CachingConnectionFactory ] Attempting to connect to: [192.168.1.180:5672]
2022-01-10 09:18:57 [traceId:] [ INFO ] [ org.springframework.amqp.rabbit.connection.CachingConnectionFactory ] Created new connection: rabbitConnectionFactory#f18b738:0/SimpleConnection@70f85235 [delegate=amqp://admin@192.168.1.180:5672/, localPort= 14763]
2022-01-10 09:18:57 [traceId:] [ INFO ] [ com.ruwii.es.EsApplication ] Started EsApplication in 5.493 seconds (JVM running for 7.041)
2022-01-10 09:18:57 [traceId:8a5e2dbadb434228a4c348b1b7ecf7a4] [ INFO ] [ com.ruwii.es.service.rabbitmq.MQConsumerService ] 【RabbitMQ接收消息】,(Body:'[B@94cd82e(byte[118])' MessageProperties [headers={}, contentLength=0, redelivered=true, receivedExchange=, receivedRoutingKey=goodsQueue, deliveryTag=1, consumerTag=amq.ctag-4KiCassy1FIn3xLPO_-kdQ, consumerQueue=goodsQueue])
2022-01-10 09:18:57 [traceId:8a5e2dbadb434228a4c348b1b7ecf7a4] [ INFO ] [ com.ruwii.es.service.rabbitmq.MQConsumerService ] 【RabbitMQ接收消息】,消息体内容:{"operationType":1,"goodsCode":["G202104141158165761"],"timestamp":1641346468,"id":"7bc15e904fdf6397b04862f8cd66582b"}
2022-01-10 09:18:59 [traceId:8a5e2dbadb434228a4c348b1b7ecf7a4] [ INFO ] [ com.ruwii.es.service.es.EsGoodsMixMessageService ] 【商品批量同步】入参:{"operationType":1,"goodsCode":["G202104141158165761"],"timestamp":1641346468,"id":"7bc15e904fdf6397b04862f8cd66582b"}
2022-01-10 09:18:59 [traceId:8a5e2dbadb434228a4c348b1b7ecf7a4] [ INFO ] [ com.ruwii.es.service.mihe.impl.MiheServiceImpl ] 【商品查询】数据:
{"statusCode":200,"message":"\u64cd\u4f5c\u6210\u529f","records":[{"goodsDescription":" \u6d77\u84dd\u4e4b\u8c1c","code":"G202104141158165761","title":"\u6d77\u84dd\u4e4b\u8c1c","label":null,"shortTitle":" \u6d77\u84dd\u4e4b\u8c1c","classCode":"21","shopCode":"DP20210414115815136","className":"\u9999\u6c34\u5f69\u5986-\u5f69\u5986\u5957\u88c5","seq":"0","saleTime":"2021-11-26 15:26:29","beginTime":null,"endTime":null,"terminalCode":[""],"monthSales":"0","third_class_code":"355","pointsPriceNow":"0.00","points":"0","nameCh":"\u6d77\u84dd\u4e4b\u8c1c\u54c1\u724c\u9986","nameEn":"LAMER","brandCode":"PP20210414115815133","goodsPriceActivity":null,"goodsPriceNow":"1.00"}],"totalRec":1}
2022-01-10 09:19:00 [traceId:8a5e2dbadb434228a4c348b1b7ecf7a4] [ INFO ] [ com.ruwii.es.service.es.EsGoodsMixMessageService ] 【商品批量同步】成功
2022-01-10 09:19:00 [traceId:8a5e2dbadb434228a4c348b1b7ecf7a4] [ INFO ] [ com.ruwii.es.service.rabbitmq.MQConsumerService ] 【RabbitMQ处理消息】消息消费成功:id:1
2022-01-10 09:19:00 [traceId:2b1ac4074e324b4db164a4314f746310] [ INFO ] [ com.ruwii.es.service.rabbitmq.MQConsumerService ] 【RabbitMQ接收消息】,(Body:'[B@bd226ca(byte[118])' MessageProperties [headers={}, contentLength=0, redelivered=true, receivedExchange=, receivedRoutingKey=goodsQueue, deliveryTag=2, consumerTag=amq.ctag-4KiCassy1FIn3xLPO_-kdQ, consumerQueue=goodsQueue])
2022-01-10 09:19:00 [traceId:2b1ac4074e324b4db164a4314f746310] [ INFO ] [ com.ruwii.es.service.rabbitmq.MQConsumerService ] 【RabbitMQ接收消息】,消息体内容:{"operationType":1,"goodsCode":["G202107291638275809"],"timestamp":1641349893,"id":"aab65c97ea0ccbb98610451dbb4b7545"}
2022-01-10 09:19:00 [traceId:2b1ac4074e324b4db164a4314f746310] [ INFO ] [ com.ruwii.es.service.es.EsGoodsMixMessageService ] 【商品批量同步】入参:{"operationType":1,"goodsCode":["G202107291638275809"],"timestamp":1641349893,"id":"aab65c97ea0ccbb98610451dbb4b7545"}
2022-01-10 09:19:00 [traceId:2b1ac4074e324b4db164a4314f746310] [ INFO ] [ com.ruwii.es.service.mihe.impl.MiheServiceImpl ] 【商品查询】数据:
{"statusCode":200,"message":"\u64cd\u4f5c\u6210\u529f","records":[{"goodsDescription":" \u5973\u795e\/\u7f51\u7ea2\u90fd\u5728\u7528\u7684\u53e3\u8154\u6e05\u6d01\u795e\u5668","code":"G202107291638275809","title":"Colgate\u9ad8\u9732\u6d01\u6c34\u7259\u7ebf \u6e05\u6d01\u9f7f\u7f1d\u7259\u7f1d\u4fbf\u643a\u5f0f\u55b7\u7259\u6d17\u7259\u5668","label":"\u5973\u795e\/\u7f51\u7ea2\u90fd\u5728\u7528\u7684\u53e3\u8154\u6e05\u6d01\u795e\u5668","shortTitle":"Colgate\u9ad8\u9732\u6d01\u6c34\u7259\u7ebf","classCode":"17","shopCode":"DP20210318162912120","className":"\u4e2a\u4eba\u62a4\u7406-\u7259\u7ebf\/\u7259\u7ebf\u68d2","seq":"11","saleTime":"2021-11-29 13:38:17","beginTime":null,"endTime":null,"terminalCode":["1","11","39","69","70"],"monthSales":"13","third_class_code":"413","pointsPriceNow":"0.00","points":"0","nameCh":"","nameEn":"LG","brandCode":"PP20210318162858117","goodsPriceActivity":null,"goodsPriceNow":"2.00"}],"totalRec":1}
2022-01-10 09:19:00 [traceId:2b1ac4074e324b4db164a4314f746310] [ INFO ] [ com.ruwii.es.service.es.EsGoodsMixMessageService ] 【商品批量同步】成功
2022-01-10 09:19:00 [traceId:2b1ac4074e324b4db164a4314f746310] [ INFO ] [ com.ruwii.es.service.rabbitmq.MQConsumerService ] 【RabbitMQ处理消息】消息消费成功:id:2
2022-01-10 09:19:00 [traceId:c04f10cc4fbc4e9ea404bbe2a695e27b] [ INFO ] [ com.ruwii.es.service.rabbitmq.MQConsumerService ] 【RabbitMQ接收消息】,(Body:'[B@6b8b76e8(byte[118])' MessageProperties [headers={}, contentLength=0, redelivered=true, receivedExchange=, receivedRoutingKey=goodsQueue, deliveryTag=3, consumerTag=amq.ctag-4KiCassy1FIn3xLPO_-kdQ, consumerQueue=goodsQueue])
2022-01-10 09:19:00 [traceId:c04f10cc4fbc4e9ea404bbe2a695e27b] [ INFO ] [ com.ruwii.es.service.rabbitmq.MQConsumerService ] 【RabbitMQ接收消息】,消息体内容:{"operationType":1,"goodsCode":["G202103221701085736"],"timestamp":1641350656,"id":"fcf4934a8c91c71f146a5c2711ccc1c3"}
2022-01-10 09:19:00 [traceId:c04f10cc4fbc4e9ea404bbe2a695e27b] [ INFO ] [ com.ruwii.es.service.es.EsGoodsMixMessageService ] 【商品批量同步】入参:{"operationType":1,"goodsCode":["G202103221701085736"],"timestamp":1641350656,"id":"fcf4934a8c91c71f146a5c2711ccc1c3"}
2022-01-10 09:19:00 [traceId:c04f10cc4fbc4e9ea404bbe2a695e27b] [ INFO ] [ com.ruwii.es.service.mihe.impl.MiheServiceImpl ] 【商品查询】数据:
{"statusCode":200,"message":"\u64cd\u4f5c\u6210\u529f","records":[{"goodsDescription":"\u8212\u9002\u4eb2\u80a4\u7528\u7684\u8212\u5fc3\u81ea\u5e26\u9999\u6c14","code":"G202103221701085736","title":"LG\u8d35\u827e\u6717 \u8d35\u7231\u5a18\u536b\u751f\u5dfe \u6574\u7bb1\u7ec4\u5408\u88c554P \u68c9\u67d4\u65e5\u7528","label":"\u8212\u9002\u4eb2\u80a4\u7528\u7684\u8212\u5fc3\u81ea\u5e26\u9999\u6c14","shortTitle":"LG\u8d35\u827e\u6717\u8d35\u7231\u5a18\u536b\u751f\u5dfe","classCode":"17","shopCode":"DP20210318162912120","className":"\u4e2a\u4eba\u62a4\u7406-\u536b\u751f\u5dfe","seq":"0","saleTime":"2021-09-08 10:40:24","beginTime":null,"endTime":null,"terminalCode":["1","11","39","68","69"],"monthSales":"3","third_class_code":"403","pointsPriceNow":"0.00","points":"0","nameCh":"","nameEn":"LG","brandCode":"PP20210318162858117","goodsPriceActivity":null,"goodsPriceNow":"20.00"}],"totalRec":1}
2022-01-10 09:19:00 [traceId:c04f10cc4fbc4e9ea404bbe2a695e27b] [ INFO ] [ com.ruwii.es.service.es.EsGoodsMixMessageService ] 【商品批量同步】成功
2022-01-10 09:19:00 [traceId:c04f10cc4fbc4e9ea404bbe2a695e27b] [ INFO ] [ com.ruwii.es.service.rabbitmq.MQConsumerService ] 【RabbitMQ处理消息】消息消费成功:id:3
2022-01-10 09:19:00 [traceId:a672db6137ea478eae5da048e7e9493d] [ INFO ] [ com.ruwii.es.service.rabbitmq.MQConsumerService ] 【RabbitMQ接收消息】,(Body:'[B@4b172726(byte[118])' MessageProperties [headers={}, contentLength=0, redelivered=true, receivedExchange=, receivedRoutingKey=goodsQueue, deliveryTag=4, consumerTag=amq.ctag-4KiCassy1FIn3xLPO_-kdQ, consumerQueue=goodsQueue])
2022-01-10 09:19:00 [traceId:a672db6137ea478eae5da048e7e9493d] [ INFO ] [ com.ruwii.es.service.rabbitmq.MQConsumerService ] 【RabbitMQ接收消息】,消息体内容:{"operationType":1,"goodsCode":["G202005141707175493"],"timestamp":1641350843,"id":"306c2c552c76f4442dfbae2b9e86929e"}
2022-01-10 09:19:00 [traceId:a672db6137ea478eae5da048e7e9493d] [ INFO ] [ com.ruwii.es.service.es.EsGoodsMixMessageService ] 【商品批量同步】入参:{"operationType":1,"goodsCode":["G202005141707175493"],"timestamp":1641350843,"id":"306c2c552c76f4442dfbae2b9e86929e"}
2022-01-10 09:19:01 [traceId:a672db6137ea478eae5da048e7e9493d] [ INFO ] [ com.ruwii.es.service.mihe.impl.MiheServiceImpl ] 【商品查询】数据:
{"statusCode":200,"message":"\u64cd\u4f5c\u6210\u529f","records":[{"goodsDescription":"XINSHI-\u65b0\u5b9e\u591a\u89c4\u683c","code":"G202005141707175493","title":"XINSHI-\u65b0\u5b9e\u591a\u89c4\u683c","label":"XINSHI-\u65b0\u5b9e\u591a\u89c4\u683c","shortTitle":"XINSHI-\u65b0\u5b9e","classCode":"17","shopCode":"DP2020031110180567","className":"\u4e2a\u4eba\u62a4\u7406-\u53e3\u7f69","seq":"0","saleTime":"2021-09-09 11:12:33","beginTime":null,"endTime":null,"terminalCode":["1","10","11","7","8"],"monthSales":"3","third_class_code":"427","pointsPriceNow":"0.00","points":"0","nameCh":"\u65b0\u5b9e\u65b0\u5efa","nameEn":"since","brandCode":"PP2020031110172162","goodsPriceActivity":null,"goodsPriceNow":"5.00"}],"totalRec":1}
2022-01-10 09:19:01 [traceId:a672db6137ea478eae5da048e7e9493d] [ INFO ] [ com.ruwii.es.service.es.EsGoodsMixMessageService ] 【商品批量同步】成功
2022-01-10 09:19:01 [traceId:a672db6137ea478eae5da048e7e9493d] [ INFO ] [ com.ruwii.es.service.rabbitmq.MQConsumerService ] 【RabbitMQ处理消息】消息消费成功:id:4
2022-01-10 09:19:01 [traceId:98ead3f98a4445cd98562b541af5b1d0] [ INFO ] [ com.ruwii.es.service.rabbitmq.MQConsumerService ] 【RabbitMQ接收消息】,(Body:'[B@6de52927(byte[118])' MessageProperties [headers={}, contentLength=0, redelivered=true, receivedExchange=, receivedRoutingKey=goodsQueue, deliveryTag=5, consumerTag=amq.ctag-4KiCassy1FIn3xLPO_-kdQ, consumerQueue=goodsQueue])
2022-01-10 09:19:01 [traceId:98ead3f98a4445cd98562b541af5b1d0] [ INFO ] [ com.ruwii.es.service.rabbitmq.MQConsumerService ] 【RabbitMQ接收消息】,消息体内容:{"operationType":1,"goodsCode":["G202112301048369597"],"timestamp":1641351414,"id":"7715fbbeaf755bef91bb762304611320"}
2022-01-10 09:19:01 [traceId:98ead3f98a4445cd98562b541af5b1d0] [ INFO ] [ com.ruwii.es.service.es.EsGoodsMixMessageService ] 【商品批量同步】入参:{"operationType":1,"goodsCode":["G202112301048369597"],"timestamp":1641351414,"id":"7715fbbeaf755bef91bb762304611320"}
2022-01-10 09:19:01 [traceId:98ead3f98a4445cd98562b541af5b1d0] [ INFO ] [ com.ruwii.es.service.mihe.impl.MiheServiceImpl ] 【商品查询】数据:
{"statusCode":200,"message":"\u64cd\u4f5c\u6210\u529f","records":[{"goodsDescription":"\u63cf\u8ff0","code":"G202112301048369597","title":"\u8bfa\u68b5\u5c45\u5bb6\u751f\u6d3b\u88ab\u5b50","label":"\u6807\u7b7e","shortTitle":"\u5c45\u5bb6\u77ed\u6807\u9898","classCode":"10","shopCode":"DP20210701141456154","className":"\u5e8a\u4e0a\u7528\u54c1-\u88ab\u5b50","seq":"40","saleTime":"2021-12-31 09:40:25","beginTime":null,"endTime":null,"terminalCode":["1","39"],"monthSales":"0","third_class_code":"209","pointsPriceNow":"0.00","points":"0","nameCh":"\u8bfa\u68b5","nameEn":"nuofan","brandCode":"PP20210701141437150","goodsPriceActivity":null,"goodsPriceNow":"5.90"}],"totalRec":1}
2022-01-10 09:19:01 [traceId:98ead3f98a4445cd98562b541af5b1d0] [ INFO ] [ com.ruwii.es.service.es.EsGoodsMixMessageService ] 【商品批量同步】成功
2022-01-10 09:19:01 [traceId:98ead3f98a4445cd98562b541af5b1d0] [ INFO ] [ com.ruwii.es.service.rabbitmq.MQConsumerService ] 【RabbitMQ处理消息】消息消费成功:id:5
2022-01-10 09:19:01 [traceId:7b818a1e005a48d78ca2ed0aefc218dd] [ INFO ] [ com.ruwii.es.service.rabbitmq.MQConsumerService ] 【RabbitMQ接收消息】,(Body:'[B@32027f8d(byte[118])' MessageProperties [headers={}, contentLength=0, redelivered=true, receivedExchange=, receivedRoutingKey=goodsQueue, deliveryTag=6, consumerTag=amq.ctag-4KiCassy1FIn3xLPO_-kdQ, consumerQueue=goodsQueue])
2022-01-10 09:19:01 [traceId:7b818a1e005a48d78ca2ed0aefc218dd] [ INFO ] [ com.ruwii.es.service.rabbitmq.MQConsumerService ] 【RabbitMQ接收消息】,消息体内容:{"operationType":1,"goodsCode":["G202112301048369597"],"timestamp":1641352211,"id":"b85de1344f02f75347b53e99b65c4a88"}
2022-01-10 09:19:01 [traceId:7b818a1e005a48d78ca2ed0aefc218dd] [ INFO ] [ com.ruwii.es.service.es.EsGoodsMixMessageService ] 【商品批量同步】入参:{"operationType":1,"goodsCode":["G202112301048369597"],"timestamp":1641352211,"id":"b85de1344f02f75347b53e99b65c4a88"}
2022-01-10 09:19:01 [traceId:7b818a1e005a48d78ca2ed0aefc218dd] [ INFO ] [ com.ruwii.es.service.mihe.impl.MiheServiceImpl ] 【商品查询】数据:
{"statusCode":200,"message":"\u64cd\u4f5c\u6210\u529f","records":[{"goodsDescription":"\u63cf\u8ff0","code":"G202112301048369597","title":"\u8bfa\u68b5\u5c45\u5bb6\u751f\u6d3b\u88ab\u5b50","label":"\u6807\u7b7e","shortTitle":"\u5c45\u5bb6\u77ed\u6807\u9898","classCode":"10","shopCode":"DP20210701141456154","className":"\u5e8a\u4e0a\u7528\u54c1-\u88ab\u5b50","seq":"40","saleTime":"2021-12-31 09:40:25","beginTime":null,"endTime":null,"terminalCode":["1","39"],"monthSales":"0","third_class_code":"209","pointsPriceNow":"0.00","points":"0","nameCh":"\u8bfa\u68b5","nameEn":"nuofan","brandCode":"PP20210701141437150","goodsPriceActivity":null,"goodsPriceNow":"5.90"}],"totalRec":1}
2022-01-10 09:19:01 [traceId:7b818a1e005a48d78ca2ed0aefc218dd] [ INFO ] [ com.ruwii.es.service.es.EsGoodsMixMessageService ] 【商品批量同步】成功
2022-01-10 09:19:01 [traceId:7b818a1e005a48d78ca2ed0aefc218dd] [ INFO ] [ com.ruwii.es.service.rabbitmq.MQConsumerService ] 【RabbitMQ处理消息】消息消费成功:id:6
2022-01-10 09:19:01 [traceId:6d73f289b29647909d5ed3ec2998207a] [ INFO ] [ com.ruwii.es.service.rabbitmq.MQConsumerService ] 【RabbitMQ接收消息】,(Body:'[B@42831e72(byte[118])' MessageProperties [headers={}, contentLength=0, redelivered=true, receivedExchange=, receivedRoutingKey=goodsQueue, deliveryTag=7, consumerTag=amq.ctag-4KiCassy1FIn3xLPO_-kdQ, consumerQueue=goodsQueue])
2022-01-10 09:19:01 [traceId:6d73f289b29647909d5ed3ec2998207a] [ INFO ] [ com.ruwii.es.service.rabbitmq.MQConsumerService ] 【RabbitMQ接收消息】,消息体内容:{"operationType":1,"goodsCode":["G202111231042535860"],"timestamp":1641352566,"id":"c7b5d3bceb15d1f37d3983ce2b54027c"}
2022-01-10 09:19:01 [traceId:6d73f289b29647909d5ed3ec2998207a] [ INFO ] [ com.ruwii.es.service.es.EsGoodsMixMessageService ] 【商品批量同步】入参:{"operationType":1,"goodsCode":["G202111231042535860"],"timestamp":1641352566,"id":"c7b5d3bceb15d1f37d3983ce2b54027c"}
2022-01-10 09:19:01 [traceId:6d73f289b29647909d5ed3ec2998207a] [ INFO ] [ com.ruwii.es.service.mihe.impl.MiheServiceImpl ] 【商品查询】数据:
{"statusCode":200,"message":"\u64cd\u4f5c\u6210\u529f","records":[{"goodsDescription":"zuo\u4e00\u4e0b \u5c41\u6843\u679c\u51bb 96g\/5\u888b 0\u8102\u679c\u51bb\u4f4e\u5361\u4ee3\u9910","code":"G202111231042535860","title":"zuo\u4e00\u4e0b \u5c41\u6843\u679c\u51bb 96g\/5\u888b 0\u8102\u679c\u51bb\u4f4e\u5361\u4ee3\u9910","label":"zuo\u4e00\u4e0b \u5c41\u6843\u679c\u51bb 96g\/5\u888b 0\u8102\u679c\u51bb\u4f4e\u5361\u4ee3\u9910","shortTitle":"zuo\u4e00\u4e0b \u5c41\u6843\u679c\u51bb 5\u888b","classCode":"41","shopCode":"DP2020031210344168","className":"\u4f11\u95f2\u96f6\u98df-\u871c\u996f\u679c\u812f","seq":"1","saleTime":"2021-11-23 11:14:10","beginTime":"2022-01-06 00:00:00","endTime":"2022-01-14 00:00:00","terminalCode":["1","39","68"],"monthSales":"47","third_class_code":"456","pointsPriceNow":"0.00","points":"0","nameCh":"SK-II","nameEn":"SK-II","brandCode":"PP2019062814475423","goodsPriceActivity":"0.50","goodsPriceNow":"3.50"}],"totalRec":1}
2022-01-10 09:19:02 [traceId:6d73f289b29647909d5ed3ec2998207a] [ INFO ] [ com.ruwii.es.service.es.EsGoodsMixMessageService ] 【商品批量同步】成功
2022-01-10 09:19:02 [traceId:6d73f289b29647909d5ed3ec2998207a] [ INFO ] [ com.ruwii.es.service.rabbitmq.MQConsumerService ] 【RabbitMQ处理消息】消息消费成功:id:7
2022-01-10 09:19:02 [traceId:c9f40dbc44334f9899956d96eb90c35f] [ INFO ] [ com.ruwii.es.service.rabbitmq.MQConsumerService ] 【RabbitMQ接收消息】,(Body:'[B@4aabb723(byte[118])' MessageProperties [headers={}, contentLength=0, redelivered=true, receivedExchange=, receivedRoutingKey=goodsQueue, deliveryTag=8, consumerTag=amq.ctag-4KiCassy1FIn3xLPO_-kdQ, consumerQueue=goodsQueue])
2022-01-10 09:19:02 [traceId:c9f40dbc44334f9899956d96eb90c35f] [ INFO ] [ com.ruwii.es.service.rabbitmq.MQConsumerService ] 【RabbitMQ接收消息】,消息体内容:{"operationType":1,"goodsCode":["G202108111134485819"],"timestamp":1641362363,"id":"ced59dfcca8ab550ae289e9f0a26cc7e"}
2022-01-10 09:19:02 [traceId:c9f40dbc44334f9899956d96eb90c35f] [ INFO ] [ com.ruwii.es.service.es.EsGoodsMixMessageService ] 【商品批量同步】入参:{"operationType":1,"goodsCode":["G202108111134485819"],"timestamp":1641362363,"id":"ced59dfcca8ab550ae289e9f0a26cc7e"}
2022-01-10 09:19:02 [traceId:c9f40dbc44334f9899956d96eb90c35f] [ INFO ] [ com.ruwii.es.service.mihe.impl.MiheServiceImpl ] 【商品查询】数据:
{"statusCode":200,"message":"\u64cd\u4f5c\u6210\u529f","records":[{"goodsDescription":"\u8363\u4e8b\u8fbe\u5a74\u513f\u9759\u97f3\u9632\u6c34\u5145\u7535\u5b9d\u5b9d\u7535\u63a8\u526a\u53d1\u5668\u7eff\u8272\u6b3eRS-TF108","code":"G202108111134485819","title":"\u8363\u4e8b\u8fbe\u5a74\u513f\u9759\u97f3\u9632\u6c34\u5145\u7535\u5b9d\u5b9d\u7535\u63a8\u526a\u53d1\u5668\u7eff\u8272\u6b3eRS-TF108","label":" \u8363\u4e8b\u8fbe\u5a74\u513f\u9759\u97f3\u526a\u53d1\u5668","shortTitle":" \u8363\u4e8b\u8fbe\u5a74\u513f\u9759\u97f3\u526a\u53d1\u5668","classCode":"51","shopCode":"DP20210809173333168","className":"\u6d17\u62a4\u5582\u517b-\u7406\u53d1\u5668","seq":"3","saleTime":"2021-11-29 18:07:56","beginTime":"2022-01-05 00:00:00","endTime":"2022-01-21 00:00:00","terminalCode":["1","11","16","39","68"],"monthSales":"54","third_class_code":"545","pointsPriceNow":"10.00","points":"10","nameCh":"\u8363\u4e8b\u8fbe","nameEn":null,"brandCode":"PP20210809173247164","goodsPriceActivity":"0.99","goodsPriceNow":"1.99"}],"totalRec":1}
2022-01-10 09:19:02 [traceId:c9f40dbc44334f9899956d96eb90c35f] [ INFO ] [ com.ruwii.es.service.es.EsGoodsMixMessageService ] 【商品批量同步】成功
2022-01-10 09:19:02 [traceId:c9f40dbc44334f9899956d96eb90c35f] [ INFO ] [ com.ruwii.es.service.rabbitmq.MQConsumerService ] 【RabbitMQ处理消息】消息消费成功:id:8
2022-01-10 09:19:02 [traceId:f02c73076cce46309c9a39ce4398fc2e] [ INFO ] [ com.ruwii.es.service.rabbitmq.MQConsumerService ] 【RabbitMQ接收消息】,(Body:'[B@602b100b(byte[118])' MessageProperties [headers={}, contentLength=0, redelivered=true, receivedExchange=, receivedRoutingKey=goodsQueue, deliveryTag=9, consumerTag=amq.ctag-4KiCassy1FIn3xLPO_-kdQ, consumerQueue=goodsQueue])
2022-01-10 09:19:02 [traceId:f02c73076cce46309c9a39ce4398fc2e] [ INFO ] [ com.ruwii.es.service.rabbitmq.MQConsumerService ] 【RabbitMQ接收消息】,消息体内容:{"operationType":1,"goodsCode":["G202110200945045842"],"timestamp":1641374734,"id":"483577f679a9f58cf549d2b870d63a46"}
2022-01-10 09:19:02 [traceId:f02c73076cce46309c9a39ce4398fc2e] [ INFO ] [ com.ruwii.es.service.es.EsGoodsMixMessageService ] 【商品批量同步】入参:{"operationType":1,"goodsCode":["G202110200945045842"],"timestamp":1641374734,"id":"483577f679a9f58cf549d2b870d63a46"}
2022-01-10 09:19:02 [traceId:f02c73076cce46309c9a39ce4398fc2e] [ INFO ] [ com.ruwii.es.service.mihe.impl.MiheServiceImpl ] 【商品查询】数据:
{"statusCode":200,"message":"\u64cd\u4f5c\u6210\u529f","records":[{"goodsDescription":"\u6d4b\u8bd5\u5546\u54c1","code":"G202110200945045842","title":"10\u670820\u65e5\u6d4b\u8bd5\u5546\u54c1","label":"\u6d4b\u8bd5\u5546\u54c1","shortTitle":"\u6d4b\u8bd5\u5546\u54c1","classCode":"9","shopCode":"DP20210318162912120","className":"\u5e03\u827a\u8f6f\u88c5-\u6bdb\u5dfe","seq":"0","saleTime":"2021-10-20 09:45:52","beginTime":null,"endTime":null,"terminalCode":["1","39","68"],"monthSales":"0","third_class_code":"198","pointsPriceNow":"0.00","points":"0","nameCh":"","nameEn":"LG","brandCode":"PP20210318162858117","goodsPriceActivity":null,"goodsPriceNow":"1.00"}],"totalRec":1}
2022-01-10 09:19:02 [traceId:f02c73076cce46309c9a39ce4398fc2e] [ INFO ] [ com.ruwii.es.service.es.EsGoodsMixMessageService ] 【商品批量同步】成功
2022-01-10 09:19:02 [traceId:f02c73076cce46309c9a39ce4398fc2e] [ INFO ] [ com.ruwii.es.service.rabbitmq.MQConsumerService ] 【RabbitMQ处理消息】消息消费成功:id:9
2022-01-10 09:19:02 [traceId:4c6ec09dbeb5492cbe8df169e819ad80] [ INFO ] [ com.ruwii.es.service.rabbitmq.MQConsumerService ] 【RabbitMQ接收消息】,(Body:'[B@66c6c80d(byte[118])' MessageProperties [headers={}, contentLength=0, redelivered=true, receivedExchange=, receivedRoutingKey=goodsQueue, deliveryTag=10, consumerTag=amq.ctag-4KiCassy1FIn3xLPO_-kdQ, consumerQueue=goodsQueue])
2022-01-10 09:19:02 [traceId:4c6ec09dbeb5492cbe8df169e819ad80] [ INFO ] [ com.ruwii.es.service.rabbitmq.MQConsumerService ] 【RabbitMQ接收消息】,消息体内容:{"operationType":1,"goodsCode":["G202112311535549601"],"timestamp":1641447475,"id":"6f752ccef37f16d9db0b991745f4e0ca"}
2022-01-10 09:19:02 [traceId:4c6ec09dbeb5492cbe8df169e819ad80] [ INFO ] [ com.ruwii.es.service.es.EsGoodsMixMessageService ] 【商品批量同步】入参:{"operationType":1,"goodsCode":["G202112311535549601"],"timestamp":1641447475,"id":"6f752ccef37f16d9db0b991745f4e0ca"}
2022-01-10 09:19:02 [traceId:4c6ec09dbeb5492cbe8df169e819ad80] [ INFO ] [ com.ruwii.es.service.mihe.impl.MiheServiceImpl ] 【商品查询】数据:
{"statusCode":200,"message":"\u64cd\u4f5c\u6210\u529f","records":[{"goodsDescription":"\u83f2\u8bfa\u539a\u6930\u4e73\u63cf\u8ff0","code":"G202112311535549601","title":"\u83f2\u8bfa\u539a\u6930\u4e73\u957f\u6807\u9898","label":"\u83f2\u8bfa\u539a\u6930\u4e73\u6807\u7b7e","shortTitle":"\u83f2\u8bfa\u539a\u6930\u4e73\u77ed\u6807\u9898","classCode":"43","shopCode":"DP20211231153131179","className":"\u51b2\u996e\u8317\u8336-\u5496\u5561\u5976\u8336","seq":"0","saleTime":"2021-12-31 15:36:02","beginTime":null,"endTime":null,"terminalCode":["1","39"],"monthSales":"0","third_class_code":"469","pointsPriceNow":"0.00","points":"0","nameCh":"\u83f2\u8bfa","nameEn":null,"brandCode":"PP20211231153112173","goodsPriceActivity":null,"goodsPriceNow":"13.00"}],"totalRec":1}
2022-01-10 09:19:02 [traceId:4c6ec09dbeb5492cbe8df169e819ad80] [ INFO ] [ com.ruwii.es.service.es.EsGoodsMixMessageService ] 【商品批量同步】成功
2022-01-10 09:19:03 [traceId:4c6ec09dbeb5492cbe8df169e819ad80] [ INFO ] [ com.ruwii.es.service.rabbitmq.MQConsumerService ] 【RabbitMQ处理消息】消息消费成功:id:10
2022-01-10 09:19:11 [traceId:] [ INFO ] [ org.apache.catalina.core.ContainerBase.[Tomcat].[localhost].[/] ] Initializing Spring DispatcherServlet 'dispatcherServlet'
2022-01-10 09:19:11 [traceId:] [ INFO ] [ org.springframework.web.servlet.DispatcherServlet ] Initializing Servlet 'dispatcherServlet'
2022-01-10 09:19:11 [traceId:] [ INFO ] [ org.springframework.web.servlet.DispatcherServlet ] Completed initialization in 2 ms
2022-01-10 09:20:47 [traceId:] [ INFO ] [ org.springframework.boot.admin.SpringApplicationAdminMXBeanRegistrar$SpringApplicationAdmin ] Application shutdown requested.
2022-01-10 09:20:47 [traceId:] [ INFO ] [ org.springframework.amqp.rabbit.listener.SimpleMessageListenerContainer ] Waiting for workers to finish.
2022-01-10 09:20:48 [traceId:] [ INFO ] [ org.springframework.amqp.rabbit.listener.SimpleMessageListenerContainer ] Successfully waited for workers to finish.
2022-01-10 09:20:48 [traceId:] [ INFO ] [ org.springframework.scheduling.concurrent.ThreadPoolTaskScheduler ] Shutting down ExecutorService 'taskScheduler'
2022-01-10 09:20:48 [traceId:] [ INFO ] [ org.springframework.amqp.rabbit.listener.SimpleMessageListenerContainer ] Shutdown ignored - container is not active already
2022-01-10 09:20:48 [traceId:] [ INFO ] [ org.springframework.scheduling.concurrent.ThreadPoolTaskExecutor ] Shutting down ExecutorService 'applicationTaskExecutor'
2022-01-10 09:20:53 [traceId:] [ INFO ] [ org.hibernate.validator.internal.util.Version ] HV000001: Hibernate Validator 6.1.5.Final
2022-01-10 09:20:53 [traceId:] [ INFO ] [ com.ruwii.es.EsApplication ] Starting EsApplication using Java 1.8.0_241 on DESKTOP-0V38B9H with PID 38284 (D:\workspace-eclipse-2020-06\es\target\classes started by Lewis in D:\workspace-eclipse-2020-06\es)
2022-01-10 09:20:53 [traceId:] [ INFO ] [ com.ruwii.es.EsApplication ] No active profile set, falling back to default profiles: default
2022-01-10 09:20:54 [traceId:] [ INFO ] [ org.springframework.data.repository.config.RepositoryConfigurationDelegate ] Multiple Spring Data modules found, entering strict repository configuration mode!
2022-01-10 09:20:54 [traceId:] [ INFO ] [ org.springframework.data.repository.config.RepositoryConfigurationDelegate ] Bootstrapping Spring Data Redis repositories in DEFAULT mode.
2022-01-10 09:20:54 [traceId:] [ INFO ] [ org.springframework.data.repository.config.RepositoryConfigurationDelegate ] Finished Spring Data repository scanning in 12 ms. Found 0 Redis repository interfaces.
2022-01-10 09:20:54 [traceId:] [ INFO ] [ org.springframework.boot.web.embedded.tomcat.TomcatWebServer ] Tomcat initialized with port(s): 8110 (http)
2022-01-10 09:20:54 [traceId:] [ INFO ] [ org.apache.coyote.http11.Http11NioProtocol ] Initializing ProtocolHandler ["http-nio-8110"]
2022-01-10 09:20:54 [traceId:] [ INFO ] [ org.apache.catalina.core.StandardService ] Starting service [Tomcat]
2022-01-10 09:20:54 [traceId:] [ INFO ] [ org.apache.catalina.core.StandardEngine ] Starting Servlet engine: [Apache Tomcat/9.0.43]
2022-01-10 09:20:54 [traceId:] [ INFO ] [ org.apache.catalina.core.AprLifecycleListener ] Loaded Apache Tomcat Native library [1.2.23] using APR version [1.7.0].
2022-01-10 09:20:54 [traceId:] [ INFO ] [ org.apache.catalina.core.AprLifecycleListener ] APR capabilities: IPv6 [true], sendfile [true], accept filters [false], random [true].
2022-01-10 09:20:54 [traceId:] [ INFO ] [ org.apache.catalina.core.AprLifecycleListener ] APR/OpenSSL configuration: useAprConnector [false], useOpenSSL [true]
2022-01-10 09:20:54 [traceId:] [ INFO ] [ org.apache.catalina.core.AprLifecycleListener ] OpenSSL successfully initialized [OpenSSL 1.1.1c 28 May 2019]
2022-01-10 09:20:55 [traceId:] [ INFO ] [ org.apache.catalina.core.ContainerBase.[Tomcat].[localhost].[/] ] Initializing Spring embedded WebApplicationContext
2022-01-10 09:20:55 [traceId:] [ INFO ] [ org.springframework.boot.web.servlet.context.ServletWebServerApplicationContext ] Root WebApplicationContext: initialization completed in 1519 ms
2022-01-10 09:20:56 [traceId:] [ INFO ] [ org.springframework.scheduling.concurrent.ThreadPoolTaskExecutor ] Initializing ExecutorService 'applicationTaskExecutor'
2022-01-10 09:20:57 [traceId:] [ INFO ] [ org.springframework.scheduling.concurrent.ThreadPoolTaskScheduler ] Initializing ExecutorService 'taskScheduler'
2022-01-10 09:20:57 [traceId:] [ INFO ] [ org.apache.coyote.http11.Http11NioProtocol ] Starting ProtocolHandler ["http-nio-8110"]
2022-01-10 09:20:57 [traceId:] [ INFO ] [ org.springframework.boot.web.embedded.tomcat.TomcatWebServer ] Tomcat started on port(s): 8110 (http) with context path ''
2022-01-10 09:20:57 [traceId:] [ INFO ] [ org.springframework.amqp.rabbit.connection.CachingConnectionFactory ] Attempting to connect to: [192.168.1.180:5672]
2022-01-10 09:20:57 [traceId:] [ INFO ] [ org.springframework.amqp.rabbit.connection.CachingConnectionFactory ] Created new connection: rabbitConnectionFactory#45eab322:0/SimpleConnection@740c4868 [delegate=amqp://admin@192.168.1.180:5672/, localPort= 1389]
2022-01-10 09:20:57 [traceId:] [ INFO ] [ com.ruwii.es.EsApplication ] Started EsApplication in 4.852 seconds (JVM running for 6.269)
2022-01-10 09:21:09 [traceId:] [ INFO ] [ org.apache.catalina.core.ContainerBase.[Tomcat].[localhost].[/] ] Initializing Spring DispatcherServlet 'dispatcherServlet'
2022-01-10 09:21:09 [traceId:] [ INFO ] [ org.springframework.web.servlet.DispatcherServlet ] Initializing Servlet 'dispatcherServlet'
2022-01-10 09:21:09 [traceId:] [ INFO ] [ org.springframework.web.servlet.DispatcherServlet ] Completed initialization in 1 ms
2022-01-10 09:21:41 [traceId:] [ INFO ] [ org.springframework.boot.admin.SpringApplicationAdminMXBeanRegistrar$SpringApplicationAdmin ] Application shutdown requested.
2022-01-10 09:21:41 [traceId:] [ INFO ] [ org.springframework.amqp.rabbit.listener.SimpleMessageListenerContainer ] Waiting for workers to finish.
2022-01-10 09:21:41 [traceId:] [ INFO ] [ org.springframework.boot.admin.SpringApplicationAdminMXBeanRegistrar$SpringApplicationAdmin ] Application shutdown requested.
2022-01-10 09:21:42 [traceId:] [ INFO ] [ org.springframework.amqp.rabbit.listener.SimpleMessageListenerContainer ] Successfully waited for workers to finish.
2022-01-10 09:21:42 [traceId:] [ INFO ] [ org.springframework.scheduling.concurrent.ThreadPoolTaskScheduler ] Shutting down ExecutorService 'taskScheduler'
2022-01-10 09:21:42 [traceId:] [ INFO ] [ org.springframework.amqp.rabbit.listener.SimpleMessageListenerContainer ] Shutdown ignored - container is not active already
2022-01-10 09:21:42 [traceId:] [ INFO ] [ org.springframework.scheduling.concurrent.ThreadPoolTaskExecutor ] Shutting down ExecutorService 'applicationTaskExecutor'
2022-01-10 09:21:47 [traceId:] [ INFO ] [ org.hibernate.validator.internal.util.Version ] HV000001: Hibernate Validator 6.1.5.Final
2022-01-10 09:21:47 [traceId:] [ INFO ] [ com.ruwii.es.EsApplication ] Starting EsApplication using Java 1.8.0_241 on DESKTOP-0V38B9H with PID 65984 (D:\workspace-eclipse-2020-06\es\target\classes started by Lewis in D:\workspace-eclipse-2020-06\es)
2022-01-10 09:21:47 [traceId:] [ INFO ] [ com.ruwii.es.EsApplication ] No active profile set, falling back to default profiles: default
2022-01-10 09:21:48 [traceId:] [ INFO ] [ org.springframework.data.repository.config.RepositoryConfigurationDelegate ] Multiple Spring Data modules found, entering strict repository configuration mode!
2022-01-10 09:21:48 [traceId:] [ INFO ] [ org.springframework.data.repository.config.RepositoryConfigurationDelegate ] Bootstrapping Spring Data Redis repositories in DEFAULT mode.
2022-01-10 09:21:48 [traceId:] [ INFO ] [ org.springframework.data.repository.config.RepositoryConfigurationDelegate ] Finished Spring Data repository scanning in 12 ms. Found 0 Redis repository interfaces.
2022-01-10 09:21:49 [traceId:] [ INFO ] [ org.springframework.boot.web.embedded.tomcat.TomcatWebServer ] Tomcat initialized with port(s): 8110 (http)
2022-01-10 09:21:49 [traceId:] [ INFO ] [ org.apache.coyote.http11.Http11NioProtocol ] Initializing ProtocolHandler ["http-nio-8110"]
2022-01-10 09:21:49 [traceId:] [ INFO ] [ org.apache.catalina.core.StandardService ] Starting service [Tomcat]
2022-01-10 09:21:49 [traceId:] [ INFO ] [ org.apache.catalina.core.StandardEngine ] Starting Servlet engine: [Apache Tomcat/9.0.43]
2022-01-10 09:21:49 [traceId:] [ INFO ] [ org.apache.catalina.core.AprLifecycleListener ] Loaded Apache Tomcat Native library [1.2.23] using APR version [1.7.0].
2022-01-10 09:21:49 [traceId:] [ INFO ] [ org.apache.catalina.core.AprLifecycleListener ] APR capabilities: IPv6 [true], sendfile [true], accept filters [false], random [true].
2022-01-10 09:21:49 [traceId:] [ INFO ] [ org.apache.catalina.core.AprLifecycleListener ] APR/OpenSSL configuration: useAprConnector [false], useOpenSSL [true]
2022-01-10 09:21:49 [traceId:] [ INFO ] [ org.apache.catalina.core.AprLifecycleListener ] OpenSSL successfully initialized [OpenSSL 1.1.1c 28 May 2019]
2022-01-10 09:21:49 [traceId:] [ INFO ] [ org.apache.catalina.core.ContainerBase.[Tomcat].[localhost].[/] ] Initializing Spring embedded WebApplicationContext
2022-01-10 09:21:49 [traceId:] [ INFO ] [ org.springframework.boot.web.servlet.context.ServletWebServerApplicationContext ] Root WebApplicationContext: initialization completed in 1519 ms
2022-01-10 09:21:51 [traceId:] [ INFO ] [ org.springframework.scheduling.concurrent.ThreadPoolTaskExecutor ] Initializing ExecutorService 'applicationTaskExecutor'
2022-01-10 09:21:51 [traceId:] [ INFO ] [ org.springframework.scheduling.concurrent.ThreadPoolTaskScheduler ] Initializing ExecutorService 'taskScheduler'
2022-01-10 09:21:52 [traceId:] [ INFO ] [ org.apache.coyote.http11.Http11NioProtocol ] Starting ProtocolHandler ["http-nio-8110"]
2022-01-10 09:21:52 [traceId:] [ INFO ] [ org.springframework.boot.web.embedded.tomcat.TomcatWebServer ] Tomcat started on port(s): 8110 (http) with context path ''
2022-01-10 09:21:52 [traceId:] [ INFO ] [ org.springframework.amqp.rabbit.connection.CachingConnectionFactory ] Attempting to connect to: [192.168.1.180:5672]
2022-01-10 09:21:52 [traceId:] [ INFO ] [ org.springframework.amqp.rabbit.connection.CachingConnectionFactory ] Created new connection: rabbitConnectionFactory#6fb22ae3:0/SimpleConnection@1a6dc5ea [delegate=amqp://admin@192.168.1.180:5672/, localPort= 1687]
2022-01-10 09:21:52 [traceId:] [ INFO ] [ com.ruwii.es.EsApplication ] Started EsApplication in 4.846 seconds (JVM running for 6.448)
2022-01-10 09:21:54 [traceId:] [ INFO ] [ org.apache.catalina.core.ContainerBase.[Tomcat].[localhost].[/] ] Initializing Spring DispatcherServlet 'dispatcherServlet'
2022-01-10 09:21:54 [traceId:] [ INFO ] [ org.springframework.web.servlet.DispatcherServlet ] Initializing Servlet 'dispatcherServlet'
2022-01-10 09:21:54 [traceId:] [ INFO ] [ org.springframework.web.servlet.DispatcherServlet ] Completed initialization in 2 ms
2022-01-10 09:22:09 [traceId:] [ INFO ] [ org.springframework.boot.admin.SpringApplicationAdminMXBeanRegistrar$SpringApplicationAdmin ] Application shutdown requested.
2022-01-10 09:22:09 [traceId:] [ INFO ] [ org.springframework.amqp.rabbit.listener.SimpleMessageListenerContainer ] Waiting for workers to finish.
2022-01-10 09:22:09 [traceId:] [ INFO ] [ org.springframework.boot.admin.SpringApplicationAdminMXBeanRegistrar$SpringApplicationAdmin ] Application shutdown requested.
2022-01-10 09:22:09 [traceId:] [ INFO ] [ org.springframework.amqp.rabbit.listener.SimpleMessageListenerContainer ] Successfully waited for workers to finish.
2022-01-10 09:22:09 [traceId:] [ INFO ] [ org.springframework.scheduling.concurrent.ThreadPoolTaskScheduler ] Shutting down ExecutorService 'taskScheduler'
2022-01-10 09:22:09 [traceId:] [ INFO ] [ org.springframework.amqp.rabbit.listener.SimpleMessageListenerContainer ] Shutdown ignored - container is not active already
2022-01-10 09:22:09 [traceId:] [ INFO ] [ org.springframework.scheduling.concurrent.ThreadPoolTaskExecutor ] Shutting down ExecutorService 'applicationTaskExecutor'
2022-01-10 09:22:14 [traceId:] [ INFO ] [ org.hibernate.validator.internal.util.Version ] HV000001: Hibernate Validator 6.1.5.Final
2022-01-10 09:22:14 [traceId:] [ INFO ] [ com.ruwii.es.EsApplication ] Starting EsApplication using Java 1.8.0_241 on DESKTOP-0V38B9H with PID 32688 (D:\workspace-eclipse-2020-06\es\target\classes started by Lewis in D:\workspace-eclipse-2020-06\es)
2022-01-10 09:22:14 [traceId:] [ INFO ] [ com.ruwii.es.EsApplication ] No active profile set, falling back to default profiles: default
2022-01-10 09:22:15 [traceId:] [ INFO ] [ org.springframework.data.repository.config.RepositoryConfigurationDelegate ] Multiple Spring Data modules found, entering strict repository configuration mode!
2022-01-10 09:22:15 [traceId:] [ INFO ] [ org.springframework.data.repository.config.RepositoryConfigurationDelegate ] Bootstrapping Spring Data Redis repositories in DEFAULT mode.
2022-01-10 09:22:15 [traceId:] [ INFO ] [ org.springframework.data.repository.config.RepositoryConfigurationDelegate ] Finished Spring Data repository scanning in 13 ms. Found 0 Redis repository interfaces.
2022-01-10 09:22:15 [traceId:] [ INFO ] [ org.springframework.boot.web.embedded.tomcat.TomcatWebServer ] Tomcat initialized with port(s): 8110 (http)
2022-01-10 09:22:16 [traceId:] [ INFO ] [ org.apache.coyote.http11.Http11NioProtocol ] Initializing ProtocolHandler ["http-nio-8110"]
2022-01-10 09:22:16 [traceId:] [ INFO ] [ org.apache.catalina.core.StandardService ] Starting service [Tomcat]
2022-01-10 09:22:16 [traceId:] [ INFO ] [ org.apache.catalina.core.StandardEngine ] Starting Servlet engine: [Apache Tomcat/9.0.43]
2022-01-10 09:22:16 [traceId:] [ INFO ] [ org.apache.catalina.core.AprLifecycleListener ] Loaded Apache Tomcat Native library [1.2.23] using APR version [1.7.0].
2022-01-10 09:22:16 [traceId:] [ INFO ] [ org.apache.catalina.core.AprLifecycleListener ] APR capabilities: IPv6 [true], sendfile [true], accept filters [false], random [true].
2022-01-10 09:22:16 [traceId:] [ INFO ] [ org.apache.catalina.core.AprLifecycleListener ] APR/OpenSSL configuration: useAprConnector [false], useOpenSSL [true]
2022-01-10 09:22:16 [traceId:] [ INFO ] [ org.apache.catalina.core.AprLifecycleListener ] OpenSSL successfully initialized [OpenSSL 1.1.1c 28 May 2019]
2022-01-10 09:22:16 [traceId:] [ INFO ] [ org.apache.catalina.core.ContainerBase.[Tomcat].[localhost].[/] ] Initializing Spring embedded WebApplicationContext
2022-01-10 09:22:16 [traceId:] [ INFO ] [ org.springframework.boot.web.servlet.context.ServletWebServerApplicationContext ] Root WebApplicationContext: initialization completed in 1465 ms
2022-01-10 09:22:18 [traceId:] [ INFO ] [ org.springframework.scheduling.concurrent.ThreadPoolTaskExecutor ] Initializing ExecutorService 'applicationTaskExecutor'
2022-01-10 09:22:18 [traceId:] [ INFO ] [ org.springframework.scheduling.concurrent.ThreadPoolTaskScheduler ] Initializing ExecutorService 'taskScheduler'
2022-01-10 09:22:18 [traceId:] [ INFO ] [ org.apache.coyote.http11.Http11NioProtocol ] Starting ProtocolHandler ["http-nio-8110"]
2022-01-10 09:22:18 [traceId:] [ INFO ] [ org.springframework.boot.web.embedded.tomcat.TomcatWebServer ] Tomcat started on port(s): 8110 (http) with context path ''
2022-01-10 09:22:18 [traceId:] [ INFO ] [ org.springframework.amqp.rabbit.connection.CachingConnectionFactory ] Attempting to connect to: [192.168.1.180:5672]
2022-01-10 09:22:18 [traceId:] [ INFO ] [ org.springframework.amqp.rabbit.connection.CachingConnectionFactory ] Created new connection: rabbitConnectionFactory#f18b738:0/SimpleConnection@70f85235 [delegate=amqp://admin@192.168.1.180:5672/, localPort= 1858]
2022-01-10 09:22:18 [traceId:] [ INFO ] [ com.ruwii.es.EsApplication ] Started EsApplication in 4.826 seconds (JVM running for 6.538)
2022-01-10 09:22:20 [traceId:] [ INFO ] [ org.apache.catalina.core.ContainerBase.[Tomcat].[localhost].[/] ] Initializing Spring DispatcherServlet 'dispatcherServlet'
2022-01-10 09:22:20 [traceId:] [ INFO ] [ org.springframework.web.servlet.DispatcherServlet ] Initializing Servlet 'dispatcherServlet'
2022-01-10 09:22:20 [traceId:] [ INFO ] [ org.springframework.web.servlet.DispatcherServlet ] Completed initialization in 1 ms
2022-01-10 09:23:41 [traceId:] [ INFO ] [ org.springframework.boot.admin.SpringApplicationAdminMXBeanRegistrar$SpringApplicationAdmin ] Application shutdown requested.
2022-01-10 09:23:41 [traceId:] [ INFO ] [ org.springframework.amqp.rabbit.listener.SimpleMessageListenerContainer ] Waiting for workers to finish.
2022-01-10 09:23:42 [traceId:] [ INFO ] [ org.springframework.amqp.rabbit.listener.SimpleMessageListenerContainer ] Successfully waited for workers to finish.
2022-01-10 09:23:42 [traceId:] [ INFO ] [ org.springframework.boot.admin.SpringApplicationAdminMXBeanRegistrar$SpringApplicationAdmin ] Application shutdown requested.
2022-01-10 09:23:42 [traceId:] [ INFO ] [ org.springframework.scheduling.concurrent.ThreadPoolTaskScheduler ] Shutting down ExecutorService 'taskScheduler'
2022-01-10 09:23:42 [traceId:] [ INFO ] [ org.springframework.amqp.rabbit.listener.SimpleMessageListenerContainer ] Shutdown ignored - container is not active already
2022-01-10 09:23:42 [traceId:] [ INFO ] [ org.springframework.scheduling.concurrent.ThreadPoolTaskExecutor ] Shutting down ExecutorService 'applicationTaskExecutor'
2022-01-10 09:24:02 [traceId:] [ INFO ] [ org.hibernate.validator.internal.util.Version ] HV000001: Hibernate Validator 6.1.5.Final
2022-01-10 09:24:02 [traceId:] [ INFO ] [ com.ruwii.es.EsApplication ] Starting EsApplication using Java 1.8.0_241 on DESKTOP-0V38B9H with PID 1124 (D:\workspace-eclipse-2020-06\es\target\classes started by Lewis in D:\workspace-eclipse-2020-06\es)
2022-01-10 09:24:02 [traceId:] [ INFO ] [ com.ruwii.es.EsApplication ] No active profile set, falling back to default profiles: default
2022-01-10 09:24:03 [traceId:] [ INFO ] [ org.springframework.data.repository.config.RepositoryConfigurationDelegate ] Multiple Spring Data modules found, entering strict repository configuration mode!
2022-01-10 09:24:03 [traceId:] [ INFO ] [ org.springframework.data.repository.config.RepositoryConfigurationDelegate ] Bootstrapping Spring Data Redis repositories in DEFAULT mode.
2022-01-10 09:24:03 [traceId:] [ INFO ] [ org.springframework.data.repository.config.RepositoryConfigurationDelegate ] Finished Spring Data repository scanning in 16 ms. Found 0 Redis repository interfaces.
2022-01-10 09:24:04 [traceId:] [ INFO ] [ org.springframework.boot.web.embedded.tomcat.TomcatWebServer ] Tomcat initialized with port(s): 8110 (http)
2022-01-10 09:24:04 [traceId:] [ INFO ] [ org.apache.coyote.http11.Http11NioProtocol ] Initializing ProtocolHandler ["http-nio-8110"]
2022-01-10 09:24:04 [traceId:] [ INFO ] [ org.apache.catalina.core.StandardService ] Starting service [Tomcat]
2022-01-10 09:24:04 [traceId:] [ INFO ] [ org.apache.catalina.core.StandardEngine ] Starting Servlet engine: [Apache Tomcat/9.0.43]
2022-01-10 09:24:04 [traceId:] [ INFO ] [ org.apache.catalina.core.AprLifecycleListener ] Loaded Apache Tomcat Native library [1.2.23] using APR version [1.7.0].
2022-01-10 09:24:04 [traceId:] [ INFO ] [ org.apache.catalina.core.AprLifecycleListener ] APR capabilities: IPv6 [true], sendfile [true], accept filters [false], random [true].
2022-01-10 09:24:04 [traceId:] [ INFO ] [ org.apache.catalina.core.AprLifecycleListener ] APR/OpenSSL configuration: useAprConnector [false], useOpenSSL [true]
2022-01-10 09:24:04 [traceId:] [ INFO ] [ org.apache.catalina.core.AprLifecycleListener ] OpenSSL successfully initialized [OpenSSL 1.1.1c 28 May 2019]
2022-01-10 09:24:04 [traceId:] [ INFO ] [ org.apache.catalina.core.ContainerBase.[Tomcat].[localhost].[/] ] Initializing Spring embedded WebApplicationContext
2022-01-10 09:24:04 [traceId:] [ INFO ] [ org.springframework.boot.web.servlet.context.ServletWebServerApplicationContext ] Root WebApplicationContext: initialization completed in 2104 ms
2022-01-10 09:24:08 [traceId:] [ INFO ] [ org.springframework.scheduling.concurrent.ThreadPoolTaskExecutor ] Initializing ExecutorService 'applicationTaskExecutor'
2022-01-10 09:24:09 [traceId:] [ INFO ] [ org.springframework.scheduling.concurrent.ThreadPoolTaskScheduler ] Initializing ExecutorService 'taskScheduler'
2022-01-10 09:24:09 [traceId:] [ INFO ] [ org.apache.coyote.http11.Http11NioProtocol ] Starting ProtocolHandler ["http-nio-8110"]
2022-01-10 09:24:09 [traceId:] [ INFO ] [ org.springframework.boot.web.embedded.tomcat.TomcatWebServer ] Tomcat started on port(s): 8110 (http) with context path ''
2022-01-10 09:24:09 [traceId:] [ INFO ] [ org.springframework.amqp.rabbit.connection.CachingConnectionFactory ] Attempting to connect to: [192.168.1.180:5672]
2022-01-10 09:24:10 [traceId:] [ INFO ] [ org.springframework.amqp.rabbit.connection.CachingConnectionFactory ] Created new connection: rabbitConnectionFactory#5fd4e67f:0/SimpleConnection@29eaf100 [delegate=amqp://admin@192.168.1.180:5672/, localPort= 2547]
2022-01-10 09:24:10 [traceId:] [ INFO ] [ com.ruwii.es.EsApplication ] Started EsApplication in 8.357 seconds (JVM running for 11.632)
2022-01-10 09:24:15 [traceId:] [ INFO ] [ org.apache.catalina.core.ContainerBase.[Tomcat].[localhost].[/] ] Initializing Spring DispatcherServlet 'dispatcherServlet'
2022-01-10 09:24:15 [traceId:] [ INFO ] [ org.springframework.web.servlet.DispatcherServlet ] Initializing Servlet 'dispatcherServlet'
2022-01-10 09:24:15 [traceId:] [ INFO ] [ org.springframework.web.servlet.DispatcherServlet ] Completed initialization in 2 ms
2022-01-10 09:28:00 [traceId:] [ INFO ] [ org.springframework.boot.admin.SpringApplicationAdminMXBeanRegistrar$SpringApplicationAdmin ] Application shutdown requested.
2022-01-10 09:28:00 [traceId:] [ INFO ] [ org.springframework.amqp.rabbit.listener.SimpleMessageListenerContainer ] Waiting for workers to finish.
2022-01-10 09:28:00 [traceId:] [ INFO ] [ org.springframework.boot.admin.SpringApplicationAdminMXBeanRegistrar$SpringApplicationAdmin ] Application shutdown requested.
2022-01-10 09:28:01 [traceId:] [ INFO ] [ org.springframework.amqp.rabbit.listener.SimpleMessageListenerContainer ] Successfully waited for workers to finish.
2022-01-10 09:28:02 [traceId:] [ INFO ] [ org.springframework.boot.admin.SpringApplicationAdminMXBeanRegistrar$SpringApplicationAdmin ] Application shutdown requested.
2022-01-10 09:28:03 [traceId:] [ INFO ] [ org.springframework.boot.admin.SpringApplicationAdminMXBeanRegistrar$SpringApplicationAdmin ] Application shutdown requested.
2022-01-10 09:28:04 [traceId:] [ INFO ] [ org.springframework.boot.admin.SpringApplicationAdminMXBeanRegistrar$SpringApplicationAdmin ] Application shutdown requested.
2022-01-10 09:28:05 [traceId:] [ INFO ] [ org.springframework.boot.admin.SpringApplicationAdminMXBeanRegistrar$SpringApplicationAdmin ] Application shutdown requested.
2022-01-10 09:28:07 [traceId:] [ INFO ] [ org.springframework.boot.admin.SpringApplicationAdminMXBeanRegistrar$SpringApplicationAdmin ] Application shutdown requested.
2022-01-10 09:28:08 [traceId:] [ INFO ] [ org.springframework.boot.admin.SpringApplicationAdminMXBeanRegistrar$SpringApplicationAdmin ] Application shutdown requested.
2022-01-10 09:28:08 [traceId:] [ INFO ] [ org.springframework.scheduling.concurrent.ThreadPoolTaskScheduler ] Shutting down ExecutorService 'taskScheduler'
2022-01-10 09:28:08 [traceId:] [ INFO ] [ org.springframework.amqp.rabbit.listener.SimpleMessageListenerContainer ] Shutdown ignored - container is not active already
2022-01-10 09:28:08 [traceId:] [ INFO ] [ org.springframework.scheduling.concurrent.ThreadPoolTaskExecutor ] Shutting down ExecutorService 'applicationTaskExecutor'
2022-01-10 09:28:17 [traceId:] [ INFO ] [ org.hibernate.validator.internal.util.Version ] HV000001: Hibernate Validator 6.1.5.Final
2022-01-10 09:28:17 [traceId:] [ INFO ] [ com.ruwii.es.EsApplication ] Starting EsApplication using Java 1.8.0_241 on DESKTOP-0V38B9H with PID 44264 (D:\workspace-eclipse-2020-06\es\target\classes started by Lewis in D:\workspace-eclipse-2020-06\es)
2022-01-10 09:28:17 [traceId:] [ INFO ] [ com.ruwii.es.EsApplication ] No active profile set, falling back to default profiles: default
2022-01-10 09:28:18 [traceId:] [ INFO ] [ org.springframework.data.repository.config.RepositoryConfigurationDelegate ] Multiple Spring Data modules found, entering strict repository configuration mode!
2022-01-10 09:28:18 [traceId:] [ INFO ] [ org.springframework.data.repository.config.RepositoryConfigurationDelegate ] Bootstrapping Spring Data Redis repositories in DEFAULT mode.
2022-01-10 09:28:18 [traceId:] [ INFO ] [ org.springframework.data.repository.config.RepositoryConfigurationDelegate ] Finished Spring Data repository scanning in 12 ms. Found 0 Redis repository interfaces.
2022-01-10 09:28:19 [traceId:] [ INFO ] [ org.springframework.boot.web.embedded.tomcat.TomcatWebServer ] Tomcat initialized with port(s): 8110 (http)
2022-01-10 09:28:19 [traceId:] [ INFO ] [ org.apache.coyote.http11.Http11NioProtocol ] Initializing ProtocolHandler ["http-nio-8110"]
2022-01-10 09:28:19 [traceId:] [ INFO ] [ org.apache.catalina.core.StandardService ] Starting service [Tomcat]
2022-01-10 09:28:19 [traceId:] [ INFO ] [ org.apache.catalina.core.StandardEngine ] Starting Servlet engine: [Apache Tomcat/9.0.43]
2022-01-10 09:28:19 [traceId:] [ INFO ] [ org.apache.catalina.core.AprLifecycleListener ] Loaded Apache Tomcat Native library [1.2.23] using APR version [1.7.0].
2022-01-10 09:28:19 [traceId:] [ INFO ] [ org.apache.catalina.core.AprLifecycleListener ] APR capabilities: IPv6 [true], sendfile [true], accept filters [false], random [true].
2022-01-10 09:28:19 [traceId:] [ INFO ] [ org.apache.catalina.core.AprLifecycleListener ] APR/OpenSSL configuration: useAprConnector [false], useOpenSSL [true]
2022-01-10 09:28:19 [traceId:] [ INFO ] [ org.apache.catalina.core.AprLifecycleListener ] OpenSSL successfully initialized [OpenSSL 1.1.1c 28 May 2019]
2022-01-10 09:28:19 [traceId:] [ INFO ] [ org.apache.catalina.core.ContainerBase.[Tomcat].[localhost].[/] ] Initializing Spring embedded WebApplicationContext
2022-01-10 09:28:19 [traceId:] [ INFO ] [ org.springframework.boot.web.servlet.context.ServletWebServerApplicationContext ] Root WebApplicationContext: initialization completed in 1441 ms
2022-01-10 09:28:21 [traceId:] [ INFO ] [ org.springframework.scheduling.concurrent.ThreadPoolTaskExecutor ] Initializing ExecutorService 'applicationTaskExecutor'
2022-01-10 09:28:21 [traceId:] [ INFO ] [ org.springframework.scheduling.concurrent.ThreadPoolTaskScheduler ] Initializing ExecutorService 'taskScheduler'
2022-01-10 09:28:21 [traceId:] [ INFO ] [ org.apache.coyote.http11.Http11NioProtocol ] Starting ProtocolHandler ["http-nio-8110"]
2022-01-10 09:28:21 [traceId:] [ INFO ] [ org.springframework.boot.web.embedded.tomcat.TomcatWebServer ] Tomcat started on port(s): 8110 (http) with context path ''
2022-01-10 09:28:21 [traceId:] [ INFO ] [ org.springframework.amqp.rabbit.connection.CachingConnectionFactory ] Attempting to connect to: [192.168.1.180:5672]
2022-01-10 09:28:22 [traceId:] [ INFO ] [ org.springframework.amqp.rabbit.connection.CachingConnectionFactory ] Created new connection: rabbitConnectionFactory#f18b738:0/SimpleConnection@722b2728 [delegate=amqp://admin@192.168.1.180:5672/, localPort= 3872]
2022-01-10 09:28:22 [traceId:] [ INFO ] [ com.ruwii.es.EsApplication ] Started EsApplication in 4.882 seconds (JVM running for 6.526)
2022-01-10 09:28:26 [traceId:] [ INFO ] [ org.apache.catalina.core.ContainerBase.[Tomcat].[localhost].[/] ] Initializing Spring DispatcherServlet 'dispatcherServlet'
2022-01-10 09:28:26 [traceId:] [ INFO ] [ org.springframework.web.servlet.DispatcherServlet ] Initializing Servlet 'dispatcherServlet'
2022-01-10 09:28:26 [traceId:] [ INFO ] [ org.springframework.web.servlet.DispatcherServlet ] Completed initialization in 2 ms
2022-01-10 09:29:59 [traceId:] [ INFO ] [ org.springframework.boot.admin.SpringApplicationAdminMXBeanRegistrar$SpringApplicationAdmin ] Application shutdown requested.
2022-01-10 09:29:59 [traceId:] [ INFO ] [ org.springframework.amqp.rabbit.listener.SimpleMessageListenerContainer ] Waiting for workers to finish.
2022-01-10 09:29:59 [traceId:] [ INFO ] [ org.springframework.boot.admin.SpringApplicationAdminMXBeanRegistrar$SpringApplicationAdmin ] Application shutdown requested.
2022-01-10 09:30:00 [traceId:] [ INFO ] [ org.springframework.amqp.rabbit.listener.SimpleMessageListenerContainer ] Successfully waited for workers to finish.
2022-01-10 09:30:00 [traceId:] [ INFO ] [ org.springframework.boot.admin.SpringApplicationAdminMXBeanRegistrar$SpringApplicationAdmin ] Application shutdown requested.
2022-01-10 09:30:00 [traceId:] [ INFO ] [ org.springframework.scheduling.concurrent.ThreadPoolTaskScheduler ] Shutting down ExecutorService 'taskScheduler'
2022-01-10 09:30:00 [traceId:] [ INFO ] [ org.springframework.amqp.rabbit.listener.SimpleMessageListenerContainer ] Shutdown ignored - container is not active already
2022-01-10 09:30:00 [traceId:] [ INFO ] [ org.springframework.scheduling.concurrent.ThreadPoolTaskExecutor ] Shutting down ExecutorService 'applicationTaskExecutor'
2022-01-10 09:30:05 [traceId:] [ INFO ] [ org.hibernate.validator.internal.util.Version ] HV000001: Hibernate Validator 6.1.5.Final
2022-01-10 09:30:05 [traceId:] [ INFO ] [ com.ruwii.es.EsApplication ] Starting EsApplication using Java 1.8.0_241 on DESKTOP-0V38B9H with PID 71180 (D:\workspace-eclipse-2020-06\es\target\classes started by Lewis in D:\workspace-eclipse-2020-06\es)
2022-01-10 09:30:05 [traceId:] [ INFO ] [ com.ruwii.es.EsApplication ] No active profile set, falling back to default profiles: default
2022-01-10 09:30:05 [traceId:] [ INFO ] [ org.springframework.data.repository.config.RepositoryConfigurationDelegate ] Multiple Spring Data modules found, entering strict repository configuration mode!
2022-01-10 09:30:05 [traceId:] [ INFO ] [ org.springframework.data.repository.config.RepositoryConfigurationDelegate ] Bootstrapping Spring Data Redis repositories in DEFAULT mode.
2022-01-10 09:30:05 [traceId:] [ INFO ] [ org.springframework.data.repository.config.RepositoryConfigurationDelegate ] Finished Spring Data repository scanning in 14 ms. Found 0 Redis repository interfaces.
2022-01-10 09:30:06 [traceId:] [ INFO ] [ org.springframework.boot.web.embedded.tomcat.TomcatWebServer ] Tomcat initialized with port(s): 8110 (http)
2022-01-10 09:30:06 [traceId:] [ INFO ] [ org.apache.coyote.http11.Http11NioProtocol ] Initializing ProtocolHandler ["http-nio-8110"]
2022-01-10 09:30:06 [traceId:] [ INFO ] [ org.apache.catalina.core.StandardService ] Starting service [Tomcat]
2022-01-10 09:30:06 [traceId:] [ INFO ] [ org.apache.catalina.core.StandardEngine ] Starting Servlet engine: [Apache Tomcat/9.0.43]
2022-01-10 09:30:06 [traceId:] [ INFO ] [ org.apache.catalina.core.AprLifecycleListener ] Loaded Apache Tomcat Native library [1.2.23] using APR version [1.7.0].
2022-01-10 09:30:06 [traceId:] [ INFO ] [ org.apache.catalina.core.AprLifecycleListener ] APR capabilities: IPv6 [true], sendfile [true], accept filters [false], random [true].
2022-01-10 09:30:06 [traceId:] [ INFO ] [ org.apache.catalina.core.AprLifecycleListener ] APR/OpenSSL configuration: useAprConnector [false], useOpenSSL [true]
2022-01-10 09:30:06 [traceId:] [ INFO ] [ org.apache.catalina.core.AprLifecycleListener ] OpenSSL successfully initialized [OpenSSL 1.1.1c 28 May 2019]
2022-01-10 09:30:06 [traceId:] [ INFO ] [ org.apache.catalina.core.ContainerBase.[Tomcat].[localhost].[/] ] Initializing Spring embedded WebApplicationContext
2022-01-10 09:30:06 [traceId:] [ INFO ] [ org.springframework.boot.web.servlet.context.ServletWebServerApplicationContext ] Root WebApplicationContext: initialization completed in 1523 ms
2022-01-10 09:30:08 [traceId:] [ INFO ] [ org.springframework.scheduling.concurrent.ThreadPoolTaskExecutor ] Initializing ExecutorService 'applicationTaskExecutor'
2022-01-10 09:30:09 [traceId:] [ INFO ] [ org.springframework.scheduling.concurrent.ThreadPoolTaskScheduler ] Initializing ExecutorService 'taskScheduler'
2022-01-10 09:30:09 [traceId:] [ INFO ] [ org.apache.coyote.http11.Http11NioProtocol ] Starting ProtocolHandler ["http-nio-8110"]
2022-01-10 09:30:09 [traceId:] [ INFO ] [ org.springframework.boot.web.embedded.tomcat.TomcatWebServer ] Tomcat started on port(s): 8110 (http) with context path ''
2022-01-10 09:30:09 [traceId:] [ INFO ] [ org.springframework.amqp.rabbit.connection.CachingConnectionFactory ] Attempting to connect to: [192.168.1.180:5672]
2022-01-10 09:30:09 [traceId:] [ INFO ] [ org.springframework.amqp.rabbit.connection.CachingConnectionFactory ] Created new connection: rabbitConnectionFactory#aca3c85:0/SimpleConnection@a84338a [delegate=amqp://admin@192.168.1.180:5672/, localPort= 4492]
2022-01-10 09:30:09 [traceId:] [ INFO ] [ com.ruwii.es.EsApplication ] Started EsApplication in 4.844 seconds (JVM running for 6.267)
2022-01-10 09:30:13 [traceId:] [ INFO ] [ org.apache.catalina.core.ContainerBase.[Tomcat].[localhost].[/] ] Initializing Spring DispatcherServlet 'dispatcherServlet'
2022-01-10 09:30:13 [traceId:] [ INFO ] [ org.springframework.web.servlet.DispatcherServlet ] Initializing Servlet 'dispatcherServlet'
2022-01-10 09:30:13 [traceId:] [ INFO ] [ org.springframework.web.servlet.DispatcherServlet ] Completed initialization in 1 ms
2022-01-10 09:32:15 [traceId:] [ INFO ] [ org.springframework.boot.admin.SpringApplicationAdminMXBeanRegistrar$SpringApplicationAdmin ] Application shutdown requested.
2022-01-10 09:32:15 [traceId:] [ INFO ] [ org.springframework.amqp.rabbit.listener.SimpleMessageListenerContainer ] Waiting for workers to finish.
2022-01-10 09:32:16 [traceId:] [ INFO ] [ org.springframework.amqp.rabbit.listener.SimpleMessageListenerContainer ] Successfully waited for workers to finish.
2022-01-10 09:32:16 [traceId:] [ INFO ] [ org.springframework.boot.admin.SpringApplicationAdminMXBeanRegistrar$SpringApplicationAdmin ] Application shutdown requested.
2022-01-10 09:32:16 [traceId:] [ INFO ] [ org.springframework.scheduling.concurrent.ThreadPoolTaskScheduler ] Shutting down ExecutorService 'taskScheduler'
2022-01-10 09:32:16 [traceId:] [ INFO ] [ org.springframework.amqp.rabbit.listener.SimpleMessageListenerContainer ] Shutdown ignored - container is not active already
2022-01-10 09:32:16 [traceId:] [ INFO ] [ org.springframework.scheduling.concurrent.ThreadPoolTaskExecutor ] Shutting down ExecutorService 'applicationTaskExecutor'
2022-01-10 09:32:36 [traceId:] [ INFO ] [ org.hibernate.validator.internal.util.Version ] HV000001: Hibernate Validator 6.1.5.Final
2022-01-10 09:32:36 [traceId:] [ INFO ] [ com.ruwii.es.EsApplication ] Starting EsApplication using Java 1.8.0_241 on DESKTOP-0V38B9H with PID 23928 (D:\workspace-eclipse-2020-06\es\target\classes started by Lewis in D:\workspace-eclipse-2020-06\es)
2022-01-10 09:32:36 [traceId:] [ INFO ] [ com.ruwii.es.EsApplication ] No active profile set, falling back to default profiles: default
2022-01-10 09:32:37 [traceId:] [ INFO ] [ org.springframework.data.repository.config.RepositoryConfigurationDelegate ] Multiple Spring Data modules found, entering strict repository configuration mode!
2022-01-10 09:32:37 [traceId:] [ INFO ] [ org.springframework.data.repository.config.RepositoryConfigurationDelegate ] Bootstrapping Spring Data Redis repositories in DEFAULT mode.
2022-01-10 09:32:37 [traceId:] [ INFO ] [ org.springframework.data.repository.config.RepositoryConfigurationDelegate ] Finished Spring Data repository scanning in 14 ms. Found 0 Redis repository interfaces.
2022-01-10 09:32:38 [traceId:] [ INFO ] [ org.springframework.boot.web.embedded.tomcat.TomcatWebServer ] Tomcat initialized with port(s): 8110 (http)
2022-01-10 09:32:38 [traceId:] [ INFO ] [ org.apache.coyote.http11.Http11NioProtocol ] Initializing ProtocolHandler ["http-nio-8110"]
2022-01-10 09:32:38 [traceId:] [ INFO ] [ org.apache.catalina.core.StandardService ] Starting service [Tomcat]
2022-01-10 09:32:38 [traceId:] [ INFO ] [ org.apache.catalina.core.StandardEngine ] Starting Servlet engine: [Apache Tomcat/9.0.43]
2022-01-10 09:32:38 [traceId:] [ INFO ] [ org.apache.catalina.core.AprLifecycleListener ] Loaded Apache Tomcat Native library [1.2.23] using APR version [1.7.0].
2022-01-10 09:32:38 [traceId:] [ INFO ] [ org.apache.catalina.core.AprLifecycleListener ] APR capabilities: IPv6 [true], sendfile [true], accept filters [false], random [true].
2022-01-10 09:32:38 [traceId:] [ INFO ] [ org.apache.catalina.core.AprLifecycleListener ] APR/OpenSSL configuration: useAprConnector [false], useOpenSSL [true]
2022-01-10 09:32:38 [traceId:] [ INFO ] [ org.apache.catalina.core.AprLifecycleListener ] OpenSSL successfully initialized [OpenSSL 1.1.1c 28 May 2019]
2022-01-10 09:32:38 [traceId:] [ INFO ] [ org.apache.catalina.core.ContainerBase.[Tomcat].[localhost].[/] ] Initializing Spring embedded WebApplicationContext
2022-01-10 09:32:38 [traceId:] [ INFO ] [ org.springframework.boot.web.servlet.context.ServletWebServerApplicationContext ] Root WebApplicationContext: initialization completed in 1827 ms
2022-01-10 09:32:41 [traceId:] [ INFO ] [ org.springframework.scheduling.concurrent.ThreadPoolTaskExecutor ] Initializing ExecutorService 'applicationTaskExecutor'
2022-01-10 09:32:41 [traceId:] [ INFO ] [ org.springframework.scheduling.concurrent.ThreadPoolTaskScheduler ] Initializing ExecutorService 'taskScheduler'
2022-01-10 09:32:42 [traceId:] [ INFO ] [ org.apache.coyote.http11.Http11NioProtocol ] Starting ProtocolHandler ["http-nio-8110"]
2022-01-10 09:32:42 [traceId:] [ INFO ] [ org.springframework.boot.web.embedded.tomcat.TomcatWebServer ] Tomcat started on port(s): 8110 (http) with context path ''
2022-01-10 09:32:42 [traceId:] [ INFO ] [ org.springframework.amqp.rabbit.connection.CachingConnectionFactory ] Attempting to connect to: [192.168.1.180:5672]
2022-01-10 09:32:42 [traceId:] [ INFO ] [ org.springframework.amqp.rabbit.connection.CachingConnectionFactory ] Created new connection: rabbitConnectionFactory#d5e3f55:0/SimpleConnection@32a074ed [delegate=amqp://admin@192.168.1.180:5672/, localPort= 5418]
2022-01-10 09:32:42 [traceId:] [ INFO ] [ com.ruwii.es.EsApplication ] Started EsApplication in 6.177 seconds (JVM running for 8.056)
2022-01-10 09:32:49 [traceId:] [ INFO ] [ org.apache.catalina.core.ContainerBase.[Tomcat].[localhost].[/] ] Initializing Spring DispatcherServlet 'dispatcherServlet'
2022-01-10 09:32:49 [traceId:] [ INFO ] [ org.springframework.web.servlet.DispatcherServlet ] Initializing Servlet 'dispatcherServlet'
2022-01-10 09:32:49 [traceId:] [ INFO ] [ org.springframework.web.servlet.DispatcherServlet ] Completed initialization in 1 ms
2022-01-10 09:35:01 [traceId:] [ INFO ] [ org.springframework.boot.admin.SpringApplicationAdminMXBeanRegistrar$SpringApplicationAdmin ] Application shutdown requested.
2022-01-10 09:35:01 [traceId:] [ INFO ] [ org.springframework.amqp.rabbit.listener.SimpleMessageListenerContainer ] Waiting for workers to finish.
2022-01-10 09:35:02 [traceId:] [ INFO ] [ org.springframework.amqp.rabbit.listener.SimpleMessageListenerContainer ] Successfully waited for workers to finish.
2022-01-10 09:35:09 [traceId:] [ INFO ] [ org.springframework.scheduling.concurrent.ThreadPoolTaskScheduler ] Shutting down ExecutorService 'taskScheduler'
2022-01-10 09:35:09 [traceId:] [ INFO ] [ org.springframework.amqp.rabbit.listener.SimpleMessageListenerContainer ] Shutdown ignored - container is not active already
2022-01-10 09:35:09 [traceId:] [ INFO ] [ org.springframework.scheduling.concurrent.ThreadPoolTaskExecutor ] Shutting down ExecutorService 'applicationTaskExecutor'
2022-01-10 09:35:32 [traceId:] [ INFO ] [ org.hibernate.validator.internal.util.Version ] HV000001: Hibernate Validator 6.1.5.Final
2022-01-10 09:35:32 [traceId:] [ INFO ] [ com.ruwii.es.EsApplication ] Starting EsApplication using Java 1.8.0_241 on DESKTOP-0V38B9H with PID 31084 (D:\workspace-eclipse-2020-06\es\target\classes started by Lewis in D:\workspace-eclipse-2020-06\es)
2022-01-10 09:35:32 [traceId:] [ INFO ] [ com.ruwii.es.EsApplication ] No active profile set, falling back to default profiles: default
2022-01-10 09:35:33 [traceId:] [ INFO ] [ org.springframework.data.repository.config.RepositoryConfigurationDelegate ] Multiple Spring Data modules found, entering strict repository configuration mode!
2022-01-10 09:35:33 [traceId:] [ INFO ] [ org.springframework.data.repository.config.RepositoryConfigurationDelegate ] Bootstrapping Spring Data Redis repositories in DEFAULT mode.
2022-01-10 09:35:33 [traceId:] [ INFO ] [ org.springframework.data.repository.config.RepositoryConfigurationDelegate ] Finished Spring Data repository scanning in 12 ms. Found 0 Redis repository interfaces.
2022-01-10 09:35:34 [traceId:] [ INFO ] [ org.springframework.boot.web.embedded.tomcat.TomcatWebServer ] Tomcat initialized with port(s): 8110 (http)
2022-01-10 09:35:34 [traceId:] [ INFO ] [ org.apache.coyote.http11.Http11NioProtocol ] Initializing ProtocolHandler ["http-nio-8110"]
2022-01-10 09:35:34 [traceId:] [ INFO ] [ org.apache.catalina.core.StandardService ] Starting service [Tomcat]
2022-01-10 09:35:34 [traceId:] [ INFO ] [ org.apache.catalina.core.StandardEngine ] Starting Servlet engine: [Apache Tomcat/9.0.43]
2022-01-10 09:35:34 [traceId:] [ INFO ] [ org.apache.catalina.core.AprLifecycleListener ] Loaded Apache Tomcat Native library [1.2.23] using APR version [1.7.0].
2022-01-10 09:35:34 [traceId:] [ INFO ] [ org.apache.catalina.core.AprLifecycleListener ] APR capabilities: IPv6 [true], sendfile [true], accept filters [false], random [true].
2022-01-10 09:35:34 [traceId:] [ INFO ] [ org.apache.catalina.core.AprLifecycleListener ] APR/OpenSSL configuration: useAprConnector [false], useOpenSSL [true]
2022-01-10 09:35:34 [traceId:] [ INFO ] [ org.apache.catalina.core.AprLifecycleListener ] OpenSSL successfully initialized [OpenSSL 1.1.1c 28 May 2019]
2022-01-10 09:35:34 [traceId:] [ INFO ] [ org.apache.catalina.core.ContainerBase.[Tomcat].[localhost].[/] ] Initializing Spring embedded WebApplicationContext
2022-01-10 09:35:34 [traceId:] [ INFO ] [ org.springframework.boot.web.servlet.context.ServletWebServerApplicationContext ] Root WebApplicationContext: initialization completed in 1602 ms
2022-01-10 09:35:36 [traceId:] [ INFO ] [ org.springframework.scheduling.concurrent.ThreadPoolTaskExecutor ] Initializing ExecutorService 'applicationTaskExecutor'
2022-01-10 09:35:36 [traceId:] [ INFO ] [ org.springframework.scheduling.concurrent.ThreadPoolTaskScheduler ] Initializing ExecutorService 'taskScheduler'
2022-01-10 09:35:37 [traceId:] [ INFO ] [ org.apache.coyote.http11.Http11NioProtocol ] Starting ProtocolHandler ["http-nio-8110"]
2022-01-10 09:35:37 [traceId:] [ INFO ] [ org.springframework.boot.web.embedded.tomcat.TomcatWebServer ] Tomcat started on port(s): 8110 (http) with context path ''
2022-01-10 09:35:37 [traceId:] [ INFO ] [ org.springframework.amqp.rabbit.connection.CachingConnectionFactory ] Attempting to connect to: [192.168.1.180:5672]
2022-01-10 09:35:37 [traceId:] [ INFO ] [ org.springframework.amqp.rabbit.connection.CachingConnectionFactory ] Created new connection: rabbitConnectionFactory#aca3c85:0/SimpleConnection@a84338a [delegate=amqp://admin@192.168.1.180:5672/, localPort= 6333]
2022-01-10 09:35:37 [traceId:] [ INFO ] [ com.ruwii.es.EsApplication ] Started EsApplication in 4.921 seconds (JVM running for 6.53)
2022-01-10 09:35:54 [traceId:] [ INFO ] [ org.apache.catalina.core.ContainerBase.[Tomcat].[localhost].[/] ] Initializing Spring DispatcherServlet 'dispatcherServlet'
2022-01-10 09:35:54 [traceId:] [ INFO ] [ org.springframework.web.servlet.DispatcherServlet ] Initializing Servlet 'dispatcherServlet'
2022-01-10 09:35:54 [traceId:] [ INFO ] [ org.springframework.web.servlet.DispatcherServlet ] Completed initialization in 1 ms
2022-01-10 09:36:26 [traceId:] [ INFO ] [ org.springframework.boot.admin.SpringApplicationAdminMXBeanRegistrar$SpringApplicationAdmin ] Application shutdown requested.
2022-01-10 09:36:26 [traceId:] [ INFO ] [ org.springframework.amqp.rabbit.listener.SimpleMessageListenerContainer ] Waiting for workers to finish.
2022-01-10 09:36:26 [traceId:] [ INFO ] [ org.springframework.amqp.rabbit.listener.SimpleMessageListenerContainer ] Successfully waited for workers to finish.
2022-01-10 09:36:27 [traceId:] [ INFO ] [ org.springframework.scheduling.concurrent.ThreadPoolTaskScheduler ] Shutting down ExecutorService 'taskScheduler'
2022-01-10 09:36:27 [traceId:] [ INFO ] [ org.springframework.amqp.rabbit.listener.SimpleMessageListenerContainer ] Shutdown ignored - container is not active already
2022-01-10 09:36:27 [traceId:] [ INFO ] [ org.springframework.scheduling.concurrent.ThreadPoolTaskExecutor ] Shutting down ExecutorService 'applicationTaskExecutor'
2022-01-10 09:37:46 [traceId:] [ INFO ] [ org.hibernate.validator.internal.util.Version ] HV000001: Hibernate Validator 6.1.5.Final
2022-01-10 09:37:46 [traceId:] [ INFO ] [ com.ruwii.es.EsApplication ] Starting EsApplication using Java 1.8.0_241 on DESKTOP-0V38B9H with PID 35236 (D:\workspace-eclipse-2020-06\es\target\classes started by Lewis in D:\workspace-eclipse-2020-06\es)
2022-01-10 09:37:46 [traceId:] [ INFO ] [ com.ruwii.es.EsApplication ] No active profile set, falling back to default profiles: default
2022-01-10 09:37:46 [traceId:] [ INFO ] [ org.springframework.data.repository.config.RepositoryConfigurationDelegate ] Multiple Spring Data modules found, entering strict repository configuration mode!
2022-01-10 09:37:46 [traceId:] [ INFO ] [ org.springframework.data.repository.config.RepositoryConfigurationDelegate ] Bootstrapping Spring Data Redis repositories in DEFAULT mode.
2022-01-10 09:37:46 [traceId:] [ INFO ] [ org.springframework.data.repository.config.RepositoryConfigurationDelegate ] Finished Spring Data repository scanning in 12 ms. Found 0 Redis repository interfaces.
2022-01-10 09:37:47 [traceId:] [ INFO ] [ org.springframework.boot.web.embedded.tomcat.TomcatWebServer ] Tomcat initialized with port(s): 8110 (http)
2022-01-10 09:37:47 [traceId:] [ INFO ] [ org.apache.coyote.http11.Http11NioProtocol ] Initializing ProtocolHandler ["http-nio-8110"]
2022-01-10 09:37:47 [traceId:] [ INFO ] [ org.apache.catalina.core.StandardService ] Starting service [Tomcat]
2022-01-10 09:37:47 [traceId:] [ INFO ] [ org.apache.catalina.core.StandardEngine ] Starting Servlet engine: [Apache Tomcat/9.0.43]
2022-01-10 09:37:47 [traceId:] [ INFO ] [ org.apache.catalina.core.AprLifecycleListener ] Loaded Apache Tomcat Native library [1.2.23] using APR version [1.7.0].
2022-01-10 09:37:47 [traceId:] [ INFO ] [ org.apache.catalina.core.AprLifecycleListener ] APR capabilities: IPv6 [true], sendfile [true], accept filters [false], random [true].
2022-01-10 09:37:47 [traceId:] [ INFO ] [ org.apache.catalina.core.AprLifecycleListener ] APR/OpenSSL configuration: useAprConnector [false], useOpenSSL [true]
2022-01-10 09:37:47 [traceId:] [ INFO ] [ org.apache.catalina.core.AprLifecycleListener ] OpenSSL successfully initialized [OpenSSL 1.1.1c 28 May 2019]
2022-01-10 09:37:47 [traceId:] [ INFO ] [ org.apache.catalina.core.ContainerBase.[Tomcat].[localhost].[/] ] Initializing Spring embedded WebApplicationContext
2022-01-10 09:37:47 [traceId:] [ INFO ] [ org.springframework.boot.web.servlet.context.ServletWebServerApplicationContext ] Root WebApplicationContext: initialization completed in 1626 ms
2022-01-10 09:37:49 [traceId:] [ INFO ] [ org.springframework.scheduling.concurrent.ThreadPoolTaskExecutor ] Initializing ExecutorService 'applicationTaskExecutor'
2022-01-10 09:37:50 [traceId:] [ INFO ] [ org.springframework.scheduling.concurrent.ThreadPoolTaskScheduler ] Initializing ExecutorService 'taskScheduler'
2022-01-10 09:37:50 [traceId:] [ INFO ] [ org.apache.coyote.http11.Http11NioProtocol ] Starting ProtocolHandler ["http-nio-8110"]
2022-01-10 09:37:50 [traceId:] [ INFO ] [ org.springframework.boot.web.embedded.tomcat.TomcatWebServer ] Tomcat started on port(s): 8110 (http) with context path ''
2022-01-10 09:37:50 [traceId:] [ INFO ] [ org.springframework.amqp.rabbit.connection.CachingConnectionFactory ] Attempting to connect to: [192.168.1.180:5672]
2022-01-10 09:37:50 [traceId:] [ INFO ] [ org.springframework.amqp.rabbit.connection.CachingConnectionFactory ] Created new connection: rabbitConnectionFactory#f18b738:0/SimpleConnection@70f85235 [delegate=amqp://admin@192.168.1.180:5672/, localPort= 7030]
2022-01-10 09:37:50 [traceId:] [ INFO ] [ com.ruwii.es.EsApplication ] Started EsApplication in 5.051 seconds (JVM running for 6.47)
2022-01-10 09:38:46 [traceId:] [ INFO ] [ org.apache.catalina.core.ContainerBase.[Tomcat].[localhost].[/] ] Initializing Spring DispatcherServlet 'dispatcherServlet'
2022-01-10 09:38:46 [traceId:] [ INFO ] [ org.springframework.web.servlet.DispatcherServlet ] Initializing Servlet 'dispatcherServlet'
2022-01-10 09:38:46 [traceId:] [ INFO ] [ org.springframework.web.servlet.DispatcherServlet ] Completed initialization in 1 ms
2022-01-10 09:43:29 [traceId:] [ INFO ] [ org.springframework.boot.admin.SpringApplicationAdminMXBeanRegistrar$SpringApplicationAdmin ] Application shutdown requested.
2022-01-10 09:43:41 [traceId:] [ INFO ] [ org.springframework.amqp.rabbit.connection.CachingConnectionFactory ] Attempting to connect to: [192.168.1.180:5672]
2022-01-10 09:43:42 [traceId:] [ INFO ] [ org.springframework.amqp.rabbit.listener.SimpleMessageListenerContainer ] Waiting for workers to finish.
2022-01-10 09:43:42 [traceId:] [ INFO ] [ org.springframework.amqp.rabbit.listener.SimpleMessageListenerContainer ] Successfully waited for workers to finish.
2022-01-10 09:43:43 [traceId:] [ INFO ] [ org.springframework.scheduling.concurrent.ThreadPoolTaskScheduler ] Shutting down ExecutorService 'taskScheduler'
2022-01-10 09:43:43 [traceId:] [ INFO ] [ org.springframework.amqp.rabbit.listener.SimpleMessageListenerContainer ] Shutdown ignored - container is not active already
2022-01-10 09:43:43 [traceId:] [ INFO ] [ org.springframework.scheduling.concurrent.ThreadPoolTaskExecutor ] Shutting down ExecutorService 'applicationTaskExecutor'
2022-01-10 09:44:02 [traceId:] [ INFO ] [ org.hibernate.validator.internal.util.Version ] HV000001: Hibernate Validator 6.1.5.Final
2022-01-10 09:44:02 [traceId:] [ INFO ] [ com.ruwii.es.EsApplication ] Starting EsApplication using Java 1.8.0_241 on DESKTOP-0V38B9H with PID 40208 (D:\workspace-eclipse-2020-06\es\target\classes started by Lewis in D:\workspace-eclipse-2020-06\es)
2022-01-10 09:44:02 [traceId:] [ INFO ] [ com.ruwii.es.EsApplication ] No active profile set, falling back to default profiles: default
2022-01-10 09:44:03 [traceId:] [ INFO ] [ org.springframework.data.repository.config.RepositoryConfigurationDelegate ] Multiple Spring Data modules found, entering strict repository configuration mode!
2022-01-10 09:44:03 [traceId:] [ INFO ] [ org.springframework.data.repository.config.RepositoryConfigurationDelegate ] Bootstrapping Spring Data Redis repositories in DEFAULT mode.
2022-01-10 09:44:03 [traceId:] [ INFO ] [ org.springframework.data.repository.config.RepositoryConfigurationDelegate ] Finished Spring Data repository scanning in 13 ms. Found 0 Redis repository interfaces.
2022-01-10 09:44:04 [traceId:] [ INFO ] [ org.springframework.boot.web.embedded.tomcat.TomcatWebServer ] Tomcat initialized with port(s): 8110 (http)
2022-01-10 09:44:04 [traceId:] [ INFO ] [ org.apache.coyote.http11.Http11NioProtocol ] Initializing ProtocolHandler ["http-nio-8110"]
2022-01-10 09:44:04 [traceId:] [ INFO ] [ org.apache.catalina.core.StandardService ] Starting service [Tomcat]
2022-01-10 09:44:04 [traceId:] [ INFO ] [ org.apache.catalina.core.StandardEngine ] Starting Servlet engine: [Apache Tomcat/9.0.43]
2022-01-10 09:44:04 [traceId:] [ INFO ] [ org.apache.catalina.core.AprLifecycleListener ] Loaded Apache Tomcat Native library [1.2.23] using APR version [1.7.0].
2022-01-10 09:44:04 [traceId:] [ INFO ] [ org.apache.catalina.core.AprLifecycleListener ] APR capabilities: IPv6 [true], sendfile [true], accept filters [false], random [true].
2022-01-10 09:44:04 [traceId:] [ INFO ] [ org.apache.catalina.core.AprLifecycleListener ] APR/OpenSSL configuration: useAprConnector [false], useOpenSSL [true]
2022-01-10 09:44:04 [traceId:] [ INFO ] [ org.apache.catalina.core.AprLifecycleListener ] OpenSSL successfully initialized [OpenSSL 1.1.1c 28 May 2019]
2022-01-10 09:44:04 [traceId:] [ INFO ] [ org.apache.catalina.core.ContainerBase.[Tomcat].[localhost].[/] ] Initializing Spring embedded WebApplicationContext
2022-01-10 09:44:04 [traceId:] [ INFO ] [ org.springframework.boot.web.servlet.context.ServletWebServerApplicationContext ] Root WebApplicationContext: initialization completed in 1603 ms
2022-01-10 09:44:06 [traceId:] [ INFO ] [ org.springframework.scheduling.concurrent.ThreadPoolTaskExecutor ] Initializing ExecutorService 'applicationTaskExecutor'
2022-01-10 09:44:06 [traceId:] [ INFO ] [ org.springframework.scheduling.concurrent.ThreadPoolTaskScheduler ] Initializing ExecutorService 'taskScheduler'
2022-01-10 09:44:06 [traceId:] [ INFO ] [ org.apache.coyote.http11.Http11NioProtocol ] Starting ProtocolHandler ["http-nio-8110"]
2022-01-10 09:44:06 [traceId:] [ INFO ] [ org.springframework.boot.web.embedded.tomcat.TomcatWebServer ] Tomcat started on port(s): 8110 (http) with context path ''
2022-01-10 09:44:06 [traceId:] [ INFO ] [ org.springframework.amqp.rabbit.connection.CachingConnectionFactory ] Attempting to connect to: [192.168.1.180:5672]
2022-01-10 09:44:07 [traceId:] [ INFO ] [ org.springframework.amqp.rabbit.listener.SimpleMessageListenerContainer ] Broker not available; cannot force queue declarations during start: java.net.SocketTimeoutException: connect timed out
2022-01-10 09:44:07 [traceId:] [ INFO ] [ org.springframework.amqp.rabbit.connection.CachingConnectionFactory ] Attempting to connect to: [192.168.1.180:5672]
2022-01-10 09:44:08 [traceId:] [ INFO ] [ org.springframework.amqp.rabbit.connection.CachingConnectionFactory ] Attempting to connect to: [192.168.1.180:5672]
2022-01-10 09:44:09 [traceId:] [ INFO ] [ com.ruwii.es.EsApplication ] Started EsApplication in 7.807 seconds (JVM running for 9.309)
2022-01-10 09:44:15 [traceId:] [ INFO ] [ org.springframework.amqp.rabbit.listener.SimpleMessageListenerContainer ] Restarting Consumer@46e388ec: tags=[[]], channel=null, acknowledgeMode=MANUAL local queue size=0
2022-01-10 09:44:15 [traceId:] [ INFO ] [ org.springframework.amqp.rabbit.connection.CachingConnectionFactory ] Attempting to connect to: [192.168.1.180:5672]
2022-01-10 09:44:16 [traceId:] [ INFO ] [ org.springframework.amqp.rabbit.connection.CachingConnectionFactory ] Attempting to connect to: [192.168.1.180:5672]
2022-01-10 09:44:17 [traceId:] [ INFO ] [ org.apache.catalina.core.ContainerBase.[Tomcat].[localhost].[/] ] Initializing Spring DispatcherServlet 'dispatcherServlet'
2022-01-10 09:44:17 [traceId:] [ INFO ] [ org.springframework.web.servlet.DispatcherServlet ] Initializing Servlet 'dispatcherServlet'
2022-01-10 09:44:17 [traceId:] [ INFO ] [ org.springframework.web.servlet.DispatcherServlet ] Completed initialization in 0 ms
2022-01-10 09:44:22 [traceId:] [ INFO ] [ org.springframework.amqp.rabbit.listener.SimpleMessageListenerContainer ] Restarting Consumer@762da924: tags=[[]], channel=null, acknowledgeMode=MANUAL local queue size=0
2022-01-10 09:44:22 [traceId:] [ INFO ] [ org.springframework.amqp.rabbit.connection.CachingConnectionFactory ] Attempting to connect to: [192.168.1.180:5672]
2022-01-10 09:44:23 [traceId:] [ INFO ] [ org.springframework.amqp.rabbit.connection.CachingConnectionFactory ] Attempting to connect to: [192.168.1.180:5672]
2022-01-10 09:44:26 [traceId:] [ INFO ] [ org.springframework.boot.admin.SpringApplicationAdminMXBeanRegistrar$SpringApplicationAdmin ] Application shutdown requested.
2022-01-10 09:44:26 [traceId:] [ INFO ] [ org.springframework.amqp.rabbit.listener.SimpleMessageListenerContainer ] Waiting for workers to finish.
2022-01-10 09:44:26 [traceId:] [ INFO ] [ org.springframework.amqp.rabbit.listener.SimpleMessageListenerContainer ] Successfully waited for workers to finish.
2022-01-10 09:44:26 [traceId:] [ INFO ] [ org.springframework.scheduling.concurrent.ThreadPoolTaskScheduler ] Shutting down ExecutorService 'taskScheduler'
2022-01-10 09:44:26 [traceId:] [ INFO ] [ org.springframework.amqp.rabbit.listener.SimpleMessageListenerContainer ] Shutdown ignored - container is not active already
2022-01-10 09:44:26 [traceId:] [ INFO ] [ org.springframework.scheduling.concurrent.ThreadPoolTaskExecutor ] Shutting down ExecutorService 'applicationTaskExecutor'

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

View File

@ -0,0 +1,18 @@
2022-01-28 10:33:18 [traceId:edfee17405074d91b668e7553613a251] [ INFO ] [ com.ruwii.es.service.rabbitmq.MQConsumerService ] 【RabbitMQ接收消息】,(Body:'[B@3c902c3d(byte[118])' MessageProperties [headers={}, contentLength=0, redelivered=false, receivedExchange=, receivedRoutingKey=goodsQueue, deliveryTag=1, consumerTag=amq.ctag-Sf_jhpBpFLx5UoBfI8nPtw, consumerQueue=goodsQueue])
2022-01-28 10:33:18 [traceId:edfee17405074d91b668e7553613a251] [ INFO ] [ com.ruwii.es.service.rabbitmq.MQConsumerService ] 【RabbitMQ接收消息】,消息体内容:{"operationType":2,"goodsCode":["G202201241610429620"],"timestamp":1643337198,"id":"f8119a6f83166531131467ff8ee20eb6"}
2022-01-28 10:33:18 [traceId:edfee17405074d91b668e7553613a251] [ INFO ] [ com.ruwii.es.service.es.EsGoodsMixMessageService ] 【商品删除】入参:{"operationType":2,"goodsCode":["G202201241610429620"],"timestamp":1643337198,"id":"f8119a6f83166531131467ff8ee20eb6"}
2022-01-28 10:33:18 [traceId:edfee17405074d91b668e7553613a251] [ INFO ] [ com.ruwii.es.service.es.EsGoodsMixMessageService ] 【商品删除】成功
2022-01-28 10:33:18 [traceId:edfee17405074d91b668e7553613a251] [ INFO ] [ com.ruwii.es.service.rabbitmq.MQConsumerService ] 【RabbitMQ处理消息】消息消费成功:id:1
2022-01-28 11:27:04 [traceId:a90adfd05b9445a7a8c0e0b032eecaae] [ INFO ] [ com.ruwii.es.service.rabbitmq.MQConsumerService ] 【RabbitMQ接收消息】,(Body:'[B@7db65d01(byte[118])' MessageProperties [headers={}, contentLength=0, redelivered=false, receivedExchange=, receivedRoutingKey=goodsQueue, deliveryTag=2, consumerTag=amq.ctag-Sf_jhpBpFLx5UoBfI8nPtw, consumerQueue=goodsQueue])
2022-01-28 11:27:04 [traceId:a90adfd05b9445a7a8c0e0b032eecaae] [ INFO ] [ com.ruwii.es.service.rabbitmq.MQConsumerService ] 【RabbitMQ接收消息】,消息体内容:{"operationType":2,"goodsCode":["G202201241550529618"],"timestamp":1643340424,"id":"998beec5d41b5f606e9359e8d14d5f7b"}
2022-01-28 11:27:04 [traceId:a90adfd05b9445a7a8c0e0b032eecaae] [ INFO ] [ com.ruwii.es.service.es.EsGoodsMixMessageService ] 【商品删除】入参:{"operationType":2,"goodsCode":["G202201241550529618"],"timestamp":1643340424,"id":"998beec5d41b5f606e9359e8d14d5f7b"}
2022-01-28 11:27:04 [traceId:a90adfd05b9445a7a8c0e0b032eecaae] [ INFO ] [ com.ruwii.es.service.es.EsGoodsMixMessageService ] 【商品删除】成功
2022-01-28 11:27:04 [traceId:a90adfd05b9445a7a8c0e0b032eecaae] [ INFO ] [ com.ruwii.es.service.rabbitmq.MQConsumerService ] 【RabbitMQ处理消息】消息消费成功:id:2
2022-01-28 14:23:08 [traceId:1689f95c54a54a8686cd6fe873f7489f] [ INFO ] [ com.ruwii.es.controller.GoodsController ] 【批量更新商品专区】入参:UpdateGoodsTerminalBatchDto(goodsCode=[G201912212049424521, G2020111916150011623], terminalCode=123)
2022-01-28 14:23:09 [traceId:1689f95c54a54a8686cd6fe873f7489f] [ INFO ] [ com.ruwii.es.service.es.EsGoodsMixMessageService ] 【批量更新商品专区】成功
2022-01-28 14:30:50 [traceId:9276289a228441e4a5e6dfe4dc5e37e4] [ INFO ] [ com.ruwii.es.controller.GoodsController ] 【批量更新商品专区】入参:UpdateGoodsTerminalBatchDto(goodsCode=[G201912212049424521, G2020111916150011623], terminalCode=123)
2022-01-28 14:30:50 [traceId:9276289a228441e4a5e6dfe4dc5e37e4] [ INFO ] [ com.ruwii.es.service.es.EsGoodsMixMessageService ] 【批量更新商品专区】成功
2022-01-28 14:30:51 [traceId:ebe910756839404388df8ecc47889062] [ INFO ] [ com.ruwii.es.controller.GoodsController ] 【批量更新商品专区】入参:UpdateGoodsTerminalBatchDto(goodsCode=[G201912212049424521, G2020111916150011623], terminalCode=123)
2022-01-28 14:30:51 [traceId:ebe910756839404388df8ecc47889062] [ INFO ] [ com.ruwii.es.service.es.EsGoodsMixMessageService ] 【批量更新商品专区】成功
2022-01-28 15:02:59 [traceId:7d3a13626e944fdfb2ea38a4cea65a70] [ INFO ] [ com.ruwii.es.controller.GoodsController ] 【批量更新商品专区】入参:UpdateGoodsTerminalBatchDto(goodsCode=[G201912212049424521, G2020111916150011623], terminalCode=123)
2022-01-28 15:02:59 [traceId:7d3a13626e944fdfb2ea38a4cea65a70] [ INFO ] [ com.ruwii.es.service.es.EsGoodsMixMessageService ] 【批量更新商品专区】成功

View File

@ -0,0 +1,13 @@
2022-01-29 00:38:44 [traceId:b3f586d308d54ed0bb19e009d20fb32e] [ INFO ] [ org.apache.coyote.http11.Http11Processor ] Error parsing HTTP request header
Note: further occurrences of HTTP request parsing errors will be logged at DEBUG level.
java.lang.IllegalArgumentException: Invalid character found in method name [0x160x030x010x00u0x010x000x00q0x030x03s0x99r0x120xa90x0dh0xae0x1a0xc8I0xa60xa0p0xd90xde]. HTTP method names must be tokens
at org.apache.coyote.http11.Http11InputBuffer.parseRequestLine(Http11InputBuffer.java:417) ~[tomcat-embed-core-9.0.43.jar:9.0.43]
at org.apache.coyote.http11.Http11Processor.service(Http11Processor.java:261) [tomcat-embed-core-9.0.43.jar:9.0.43]
at org.apache.coyote.AbstractProcessorLight.process(AbstractProcessorLight.java:65) [tomcat-embed-core-9.0.43.jar:9.0.43]
at org.apache.coyote.AbstractProtocol$ConnectionHandler.process(AbstractProtocol.java:887) [tomcat-embed-core-9.0.43.jar:9.0.43]
at org.apache.tomcat.util.net.NioEndpoint$SocketProcessor.doRun(NioEndpoint.java:1684) [tomcat-embed-core-9.0.43.jar:9.0.43]
at org.apache.tomcat.util.net.SocketProcessorBase.run(SocketProcessorBase.java:49) [tomcat-embed-core-9.0.43.jar:9.0.43]
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149) [?:1.8.0_241]
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624) [?:1.8.0_241]
at org.apache.tomcat.util.threads.TaskThread$WrappingRunnable.run(TaskThread.java:61) [tomcat-embed-core-9.0.43.jar:9.0.43]
at java.lang.Thread.run(Thread.java:748) [?:1.8.0_241]

View File

@ -0,0 +1,26 @@
2022-01-30 03:48:14 [traceId:] [ INFO ] [ org.apache.coyote.http11.Http11Processor ] Error parsing HTTP request header
Note: further occurrences of HTTP request parsing errors will be logged at DEBUG level.
java.lang.IllegalArgumentException: Invalid character found in method name [0x040x010x000x19h/:0xa1...]. HTTP method names must be tokens
at org.apache.coyote.http11.Http11InputBuffer.parseRequestLine(Http11InputBuffer.java:417) ~[tomcat-embed-core-9.0.43.jar:9.0.43]
at org.apache.coyote.http11.Http11Processor.service(Http11Processor.java:261) [tomcat-embed-core-9.0.43.jar:9.0.43]
at org.apache.coyote.AbstractProcessorLight.process(AbstractProcessorLight.java:65) [tomcat-embed-core-9.0.43.jar:9.0.43]
at org.apache.coyote.AbstractProtocol$ConnectionHandler.process(AbstractProtocol.java:887) [tomcat-embed-core-9.0.43.jar:9.0.43]
at org.apache.tomcat.util.net.NioEndpoint$SocketProcessor.doRun(NioEndpoint.java:1684) [tomcat-embed-core-9.0.43.jar:9.0.43]
at org.apache.tomcat.util.net.SocketProcessorBase.run(SocketProcessorBase.java:49) [tomcat-embed-core-9.0.43.jar:9.0.43]
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149) [?:1.8.0_241]
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624) [?:1.8.0_241]
at org.apache.tomcat.util.threads.TaskThread$WrappingRunnable.run(TaskThread.java:61) [tomcat-embed-core-9.0.43.jar:9.0.43]
at java.lang.Thread.run(Thread.java:748) [?:1.8.0_241]
2022-01-30 04:51:23 [traceId:] [ INFO ] [ org.apache.coyote.http11.Http11Processor ] Error parsing HTTP request header
Note: further occurrences of HTTP request parsing errors will be logged at DEBUG level.
java.lang.IllegalArgumentException: Invalid character found in method name [0x040x010x00PU0xce0xa0s...]. HTTP method names must be tokens
at org.apache.coyote.http11.Http11InputBuffer.parseRequestLine(Http11InputBuffer.java:417) ~[tomcat-embed-core-9.0.43.jar:9.0.43]
at org.apache.coyote.http11.Http11Processor.service(Http11Processor.java:261) [tomcat-embed-core-9.0.43.jar:9.0.43]
at org.apache.coyote.AbstractProcessorLight.process(AbstractProcessorLight.java:65) [tomcat-embed-core-9.0.43.jar:9.0.43]
at org.apache.coyote.AbstractProtocol$ConnectionHandler.process(AbstractProtocol.java:887) [tomcat-embed-core-9.0.43.jar:9.0.43]
at org.apache.tomcat.util.net.NioEndpoint$SocketProcessor.doRun(NioEndpoint.java:1684) [tomcat-embed-core-9.0.43.jar:9.0.43]
at org.apache.tomcat.util.net.SocketProcessorBase.run(SocketProcessorBase.java:49) [tomcat-embed-core-9.0.43.jar:9.0.43]
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149) [?:1.8.0_241]
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624) [?:1.8.0_241]
at org.apache.tomcat.util.threads.TaskThread$WrappingRunnable.run(TaskThread.java:61) [tomcat-embed-core-9.0.43.jar:9.0.43]
at java.lang.Thread.run(Thread.java:748) [?:1.8.0_241]

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff

310
mvnw vendored Normal file
View File

@ -0,0 +1,310 @@
#!/bin/sh
# ----------------------------------------------------------------------------
# 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
#
# https://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.
# ----------------------------------------------------------------------------
# ----------------------------------------------------------------------------
# Maven Start Up Batch script
#
# Required ENV vars:
# ------------------
# JAVA_HOME - location of a JDK home dir
#
# Optional ENV vars
# -----------------
# M2_HOME - location of maven2's installed home dir
# MAVEN_OPTS - parameters passed to the Java VM when running Maven
# e.g. to debug Maven itself, use
# set MAVEN_OPTS=-Xdebug -Xrunjdwp:transport=dt_socket,server=y,suspend=y,address=8000
# MAVEN_SKIP_RC - flag to disable loading of mavenrc files
# ----------------------------------------------------------------------------
if [ -z "$MAVEN_SKIP_RC" ] ; then
if [ -f /etc/mavenrc ] ; then
. /etc/mavenrc
fi
if [ -f "$HOME/.mavenrc" ] ; then
. "$HOME/.mavenrc"
fi
fi
# OS specific support. $var _must_ be set to either true or false.
cygwin=false;
darwin=false;
mingw=false
case "`uname`" in
CYGWIN*) cygwin=true ;;
MINGW*) mingw=true;;
Darwin*) darwin=true
# Use /usr/libexec/java_home if available, otherwise fall back to /Library/Java/Home
# See https://developer.apple.com/library/mac/qa/qa1170/_index.html
if [ -z "$JAVA_HOME" ]; then
if [ -x "/usr/libexec/java_home" ]; then
export JAVA_HOME="`/usr/libexec/java_home`"
else
export JAVA_HOME="/Library/Java/Home"
fi
fi
;;
esac
if [ -z "$JAVA_HOME" ] ; then
if [ -r /etc/gentoo-release ] ; then
JAVA_HOME=`java-config --jre-home`
fi
fi
if [ -z "$M2_HOME" ] ; then
## resolve links - $0 may be a link to maven's home
PRG="$0"
# need this for relative symlinks
while [ -h "$PRG" ] ; do
ls=`ls -ld "$PRG"`
link=`expr "$ls" : '.*-> \(.*\)$'`
if expr "$link" : '/.*' > /dev/null; then
PRG="$link"
else
PRG="`dirname "$PRG"`/$link"
fi
done
saveddir=`pwd`
M2_HOME=`dirname "$PRG"`/..
# make it fully qualified
M2_HOME=`cd "$M2_HOME" && pwd`
cd "$saveddir"
# echo Using m2 at $M2_HOME
fi
# For Cygwin, ensure paths are in UNIX format before anything is touched
if $cygwin ; then
[ -n "$M2_HOME" ] &&
M2_HOME=`cygpath --unix "$M2_HOME"`
[ -n "$JAVA_HOME" ] &&
JAVA_HOME=`cygpath --unix "$JAVA_HOME"`
[ -n "$CLASSPATH" ] &&
CLASSPATH=`cygpath --path --unix "$CLASSPATH"`
fi
# For Mingw, ensure paths are in UNIX format before anything is touched
if $mingw ; then
[ -n "$M2_HOME" ] &&
M2_HOME="`(cd "$M2_HOME"; pwd)`"
[ -n "$JAVA_HOME" ] &&
JAVA_HOME="`(cd "$JAVA_HOME"; pwd)`"
fi
if [ -z "$JAVA_HOME" ]; then
javaExecutable="`which javac`"
if [ -n "$javaExecutable" ] && ! [ "`expr \"$javaExecutable\" : '\([^ ]*\)'`" = "no" ]; then
# readlink(1) is not available as standard on Solaris 10.
readLink=`which readlink`
if [ ! `expr "$readLink" : '\([^ ]*\)'` = "no" ]; then
if $darwin ; then
javaHome="`dirname \"$javaExecutable\"`"
javaExecutable="`cd \"$javaHome\" && pwd -P`/javac"
else
javaExecutable="`readlink -f \"$javaExecutable\"`"
fi
javaHome="`dirname \"$javaExecutable\"`"
javaHome=`expr "$javaHome" : '\(.*\)/bin'`
JAVA_HOME="$javaHome"
export JAVA_HOME
fi
fi
fi
if [ -z "$JAVACMD" ] ; then
if [ -n "$JAVA_HOME" ] ; then
if [ -x "$JAVA_HOME/jre/sh/java" ] ; then
# IBM's JDK on AIX uses strange locations for the executables
JAVACMD="$JAVA_HOME/jre/sh/java"
else
JAVACMD="$JAVA_HOME/bin/java"
fi
else
JAVACMD="`which java`"
fi
fi
if [ ! -x "$JAVACMD" ] ; then
echo "Error: JAVA_HOME is not defined correctly." >&2
echo " We cannot execute $JAVACMD" >&2
exit 1
fi
if [ -z "$JAVA_HOME" ] ; then
echo "Warning: JAVA_HOME environment variable is not set."
fi
CLASSWORLDS_LAUNCHER=org.codehaus.plexus.classworlds.launcher.Launcher
# traverses directory structure from process work directory to filesystem root
# first directory with .mvn subdirectory is considered project base directory
find_maven_basedir() {
if [ -z "$1" ]
then
echo "Path not specified to find_maven_basedir"
return 1
fi
basedir="$1"
wdir="$1"
while [ "$wdir" != '/' ] ; do
if [ -d "$wdir"/.mvn ] ; then
basedir=$wdir
break
fi
# workaround for JBEAP-8937 (on Solaris 10/Sparc)
if [ -d "${wdir}" ]; then
wdir=`cd "$wdir/.."; pwd`
fi
# end of workaround
done
echo "${basedir}"
}
# concatenates all lines of a file
concat_lines() {
if [ -f "$1" ]; then
echo "$(tr -s '\n' ' ' < "$1")"
fi
}
BASE_DIR=`find_maven_basedir "$(pwd)"`
if [ -z "$BASE_DIR" ]; then
exit 1;
fi
##########################################################################################
# Extension to allow automatically downloading the maven-wrapper.jar from Maven-central
# This allows using the maven wrapper in projects that prohibit checking in binary data.
##########################################################################################
if [ -r "$BASE_DIR/.mvn/wrapper/maven-wrapper.jar" ]; then
if [ "$MVNW_VERBOSE" = true ]; then
echo "Found .mvn/wrapper/maven-wrapper.jar"
fi
else
if [ "$MVNW_VERBOSE" = true ]; then
echo "Couldn't find .mvn/wrapper/maven-wrapper.jar, downloading it ..."
fi
if [ -n "$MVNW_REPOURL" ]; then
jarUrl="$MVNW_REPOURL/io/takari/maven-wrapper/0.5.6/maven-wrapper-0.5.6.jar"
else
jarUrl="https://repo.maven.apache.org/maven2/io/takari/maven-wrapper/0.5.6/maven-wrapper-0.5.6.jar"
fi
while IFS="=" read key value; do
case "$key" in (wrapperUrl) jarUrl="$value"; break ;;
esac
done < "$BASE_DIR/.mvn/wrapper/maven-wrapper.properties"
if [ "$MVNW_VERBOSE" = true ]; then
echo "Downloading from: $jarUrl"
fi
wrapperJarPath="$BASE_DIR/.mvn/wrapper/maven-wrapper.jar"
if $cygwin; then
wrapperJarPath=`cygpath --path --windows "$wrapperJarPath"`
fi
if command -v wget > /dev/null; then
if [ "$MVNW_VERBOSE" = true ]; then
echo "Found wget ... using wget"
fi
if [ -z "$MVNW_USERNAME" ] || [ -z "$MVNW_PASSWORD" ]; then
wget "$jarUrl" -O "$wrapperJarPath"
else
wget --http-user=$MVNW_USERNAME --http-password=$MVNW_PASSWORD "$jarUrl" -O "$wrapperJarPath"
fi
elif command -v curl > /dev/null; then
if [ "$MVNW_VERBOSE" = true ]; then
echo "Found curl ... using curl"
fi
if [ -z "$MVNW_USERNAME" ] || [ -z "$MVNW_PASSWORD" ]; then
curl -o "$wrapperJarPath" "$jarUrl" -f
else
curl --user $MVNW_USERNAME:$MVNW_PASSWORD -o "$wrapperJarPath" "$jarUrl" -f
fi
else
if [ "$MVNW_VERBOSE" = true ]; then
echo "Falling back to using Java to download"
fi
javaClass="$BASE_DIR/.mvn/wrapper/MavenWrapperDownloader.java"
# For Cygwin, switch paths to Windows format before running javac
if $cygwin; then
javaClass=`cygpath --path --windows "$javaClass"`
fi
if [ -e "$javaClass" ]; then
if [ ! -e "$BASE_DIR/.mvn/wrapper/MavenWrapperDownloader.class" ]; then
if [ "$MVNW_VERBOSE" = true ]; then
echo " - Compiling MavenWrapperDownloader.java ..."
fi
# Compiling the Java class
("$JAVA_HOME/bin/javac" "$javaClass")
fi
if [ -e "$BASE_DIR/.mvn/wrapper/MavenWrapperDownloader.class" ]; then
# Running the downloader
if [ "$MVNW_VERBOSE" = true ]; then
echo " - Running MavenWrapperDownloader.java ..."
fi
("$JAVA_HOME/bin/java" -cp .mvn/wrapper MavenWrapperDownloader "$MAVEN_PROJECTBASEDIR")
fi
fi
fi
fi
##########################################################################################
# End of extension
##########################################################################################
export MAVEN_PROJECTBASEDIR=${MAVEN_BASEDIR:-"$BASE_DIR"}
if [ "$MVNW_VERBOSE" = true ]; then
echo $MAVEN_PROJECTBASEDIR
fi
MAVEN_OPTS="$(concat_lines "$MAVEN_PROJECTBASEDIR/.mvn/jvm.config") $MAVEN_OPTS"
# For Cygwin, switch paths to Windows format before running java
if $cygwin; then
[ -n "$M2_HOME" ] &&
M2_HOME=`cygpath --path --windows "$M2_HOME"`
[ -n "$JAVA_HOME" ] &&
JAVA_HOME=`cygpath --path --windows "$JAVA_HOME"`
[ -n "$CLASSPATH" ] &&
CLASSPATH=`cygpath --path --windows "$CLASSPATH"`
[ -n "$MAVEN_PROJECTBASEDIR" ] &&
MAVEN_PROJECTBASEDIR=`cygpath --path --windows "$MAVEN_PROJECTBASEDIR"`
fi
# Provide a "standardized" way to retrieve the CLI args that will
# work with both Windows and non-Windows executions.
MAVEN_CMD_LINE_ARGS="$MAVEN_CONFIG $@"
export MAVEN_CMD_LINE_ARGS
WRAPPER_LAUNCHER=org.apache.maven.wrapper.MavenWrapperMain
exec "$JAVACMD" \
$MAVEN_OPTS \
-classpath "$MAVEN_PROJECTBASEDIR/.mvn/wrapper/maven-wrapper.jar" \
"-Dmaven.home=${M2_HOME}" "-Dmaven.multiModuleProjectDirectory=${MAVEN_PROJECTBASEDIR}" \
${WRAPPER_LAUNCHER} $MAVEN_CONFIG "$@"

182
mvnw.cmd vendored Normal file
View File

@ -0,0 +1,182 @@
@REM ----------------------------------------------------------------------------
@REM Licensed to the Apache Software Foundation (ASF) under one
@REM or more contributor license agreements. See the NOTICE file
@REM distributed with this work for additional information
@REM regarding copyright ownership. The ASF licenses this file
@REM to you under the Apache License, Version 2.0 (the
@REM "License"); you may not use this file except in compliance
@REM with the License. You may obtain a copy of the License at
@REM
@REM https://www.apache.org/licenses/LICENSE-2.0
@REM
@REM Unless required by applicable law or agreed to in writing,
@REM software distributed under the License is distributed on an
@REM "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
@REM KIND, either express or implied. See the License for the
@REM specific language governing permissions and limitations
@REM under the License.
@REM ----------------------------------------------------------------------------
@REM ----------------------------------------------------------------------------
@REM Maven Start Up Batch script
@REM
@REM Required ENV vars:
@REM JAVA_HOME - location of a JDK home dir
@REM
@REM Optional ENV vars
@REM M2_HOME - location of maven2's installed home dir
@REM MAVEN_BATCH_ECHO - set to 'on' to enable the echoing of the batch commands
@REM MAVEN_BATCH_PAUSE - set to 'on' to wait for a keystroke before ending
@REM MAVEN_OPTS - parameters passed to the Java VM when running Maven
@REM e.g. to debug Maven itself, use
@REM set MAVEN_OPTS=-Xdebug -Xrunjdwp:transport=dt_socket,server=y,suspend=y,address=8000
@REM MAVEN_SKIP_RC - flag to disable loading of mavenrc files
@REM ----------------------------------------------------------------------------
@REM Begin all REM lines with '@' in case MAVEN_BATCH_ECHO is 'on'
@echo off
@REM set title of command window
title %0
@REM enable echoing by setting MAVEN_BATCH_ECHO to 'on'
@if "%MAVEN_BATCH_ECHO%" == "on" echo %MAVEN_BATCH_ECHO%
@REM set %HOME% to equivalent of $HOME
if "%HOME%" == "" (set "HOME=%HOMEDRIVE%%HOMEPATH%")
@REM Execute a user defined script before this one
if not "%MAVEN_SKIP_RC%" == "" goto skipRcPre
@REM check for pre script, once with legacy .bat ending and once with .cmd ending
if exist "%HOME%\mavenrc_pre.bat" call "%HOME%\mavenrc_pre.bat"
if exist "%HOME%\mavenrc_pre.cmd" call "%HOME%\mavenrc_pre.cmd"
:skipRcPre
@setlocal
set ERROR_CODE=0
@REM To isolate internal variables from possible post scripts, we use another setlocal
@setlocal
@REM ==== START VALIDATION ====
if not "%JAVA_HOME%" == "" goto OkJHome
echo.
echo Error: JAVA_HOME not found in your environment. >&2
echo Please set the JAVA_HOME variable in your environment to match the >&2
echo location of your Java installation. >&2
echo.
goto error
:OkJHome
if exist "%JAVA_HOME%\bin\java.exe" goto init
echo.
echo Error: JAVA_HOME is set to an invalid directory. >&2
echo JAVA_HOME = "%JAVA_HOME%" >&2
echo Please set the JAVA_HOME variable in your environment to match the >&2
echo location of your Java installation. >&2
echo.
goto error
@REM ==== END VALIDATION ====
:init
@REM Find the project base dir, i.e. the directory that contains the folder ".mvn".
@REM Fallback to current working directory if not found.
set MAVEN_PROJECTBASEDIR=%MAVEN_BASEDIR%
IF NOT "%MAVEN_PROJECTBASEDIR%"=="" goto endDetectBaseDir
set EXEC_DIR=%CD%
set WDIR=%EXEC_DIR%
:findBaseDir
IF EXIST "%WDIR%"\.mvn goto baseDirFound
cd ..
IF "%WDIR%"=="%CD%" goto baseDirNotFound
set WDIR=%CD%
goto findBaseDir
:baseDirFound
set MAVEN_PROJECTBASEDIR=%WDIR%
cd "%EXEC_DIR%"
goto endDetectBaseDir
:baseDirNotFound
set MAVEN_PROJECTBASEDIR=%EXEC_DIR%
cd "%EXEC_DIR%"
:endDetectBaseDir
IF NOT EXIST "%MAVEN_PROJECTBASEDIR%\.mvn\jvm.config" goto endReadAdditionalConfig
@setlocal EnableExtensions EnableDelayedExpansion
for /F "usebackq delims=" %%a in ("%MAVEN_PROJECTBASEDIR%\.mvn\jvm.config") do set JVM_CONFIG_MAVEN_PROPS=!JVM_CONFIG_MAVEN_PROPS! %%a
@endlocal & set JVM_CONFIG_MAVEN_PROPS=%JVM_CONFIG_MAVEN_PROPS%
:endReadAdditionalConfig
SET MAVEN_JAVA_EXE="%JAVA_HOME%\bin\java.exe"
set WRAPPER_JAR="%MAVEN_PROJECTBASEDIR%\.mvn\wrapper\maven-wrapper.jar"
set WRAPPER_LAUNCHER=org.apache.maven.wrapper.MavenWrapperMain
set DOWNLOAD_URL="https://repo.maven.apache.org/maven2/io/takari/maven-wrapper/0.5.6/maven-wrapper-0.5.6.jar"
FOR /F "tokens=1,2 delims==" %%A IN ("%MAVEN_PROJECTBASEDIR%\.mvn\wrapper\maven-wrapper.properties") DO (
IF "%%A"=="wrapperUrl" SET DOWNLOAD_URL=%%B
)
@REM Extension to allow automatically downloading the maven-wrapper.jar from Maven-central
@REM This allows using the maven wrapper in projects that prohibit checking in binary data.
if exist %WRAPPER_JAR% (
if "%MVNW_VERBOSE%" == "true" (
echo Found %WRAPPER_JAR%
)
) else (
if not "%MVNW_REPOURL%" == "" (
SET DOWNLOAD_URL="%MVNW_REPOURL%/io/takari/maven-wrapper/0.5.6/maven-wrapper-0.5.6.jar"
)
if "%MVNW_VERBOSE%" == "true" (
echo Couldn't find %WRAPPER_JAR%, downloading it ...
echo Downloading from: %DOWNLOAD_URL%
)
powershell -Command "&{"^
"$webclient = new-object System.Net.WebClient;"^
"if (-not ([string]::IsNullOrEmpty('%MVNW_USERNAME%') -and [string]::IsNullOrEmpty('%MVNW_PASSWORD%'))) {"^
"$webclient.Credentials = new-object System.Net.NetworkCredential('%MVNW_USERNAME%', '%MVNW_PASSWORD%');"^
"}"^
"[Net.ServicePointManager]::SecurityProtocol = [Net.SecurityProtocolType]::Tls12; $webclient.DownloadFile('%DOWNLOAD_URL%', '%WRAPPER_JAR%')"^
"}"
if "%MVNW_VERBOSE%" == "true" (
echo Finished downloading %WRAPPER_JAR%
)
)
@REM End of extension
@REM Provide a "standardized" way to retrieve the CLI args that will
@REM work with both Windows and non-Windows executions.
set MAVEN_CMD_LINE_ARGS=%*
%MAVEN_JAVA_EXE% %JVM_CONFIG_MAVEN_PROPS% %MAVEN_OPTS% %MAVEN_DEBUG_OPTS% -classpath %WRAPPER_JAR% "-Dmaven.multiModuleProjectDirectory=%MAVEN_PROJECTBASEDIR%" %WRAPPER_LAUNCHER% %MAVEN_CONFIG% %*
if ERRORLEVEL 1 goto error
goto end
:error
set ERROR_CODE=1
:end
@endlocal & set ERROR_CODE=%ERROR_CODE%
if not "%MAVEN_SKIP_RC%" == "" goto skipRcPost
@REM check for post script, once with legacy .bat ending and once with .cmd ending
if exist "%HOME%\mavenrc_post.bat" call "%HOME%\mavenrc_post.bat"
if exist "%HOME%\mavenrc_post.cmd" call "%HOME%\mavenrc_post.cmd"
:skipRcPost
@REM pause the script if MAVEN_BATCH_PAUSE is set to 'on'
if "%MAVEN_BATCH_PAUSE%" == "on" pause
if "%MAVEN_TERMINATE_CMD%" == "on" exit %ERROR_CODE%
exit /B %ERROR_CODE%

181
pom.xml Normal file
View File

@ -0,0 +1,181 @@
<?xml version="1.0" encoding="UTF-8"?>
<project xmlns="http://maven.apache.org/POM/4.0.0"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 https://maven.apache.org/xsd/maven-4.0.0.xsd">
<modelVersion>4.0.0</modelVersion>
<parent>
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-starter-parent</artifactId>
<version>2.4.3</version>
<relativePath /> <!-- lookup parent from repository -->
</parent>
<groupId>com.ruwii.es</groupId>
<artifactId>es</artifactId>
<version>0.0.17-RELEASE</version>
<name>es</name>
<description>ElasticSearch Project</description>
<properties>
<java.version>1.8</java.version>
</properties>
<dependencies>
<dependency>
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-starter</artifactId>
</dependency>
<dependency>
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-starter</artifactId>
<exclusions>
<exclusion>
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-starter-logging</artifactId>
</exclusion>
</exclusions>
</dependency>
<dependency>
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-starter-web</artifactId>
</dependency>
<dependency>
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-starter-test</artifactId>
<scope>test</scope>
</dependency>
<!-- https://mvnrepository.com/artifact/org.projectlombok/lombok -->
<dependency>
<groupId>org.projectlombok</groupId>
<artifactId>lombok</artifactId>
</dependency>
<!-- 2021-12-09 Apache log4j2暴露的漏洞spring-boot-starter-log4j2需要更新log4j-core
所以移除spring-boot-starter-log4j2内的log4j单独引入最新版本的log4j 。 同时需要更新log4j-api到同一版本否则运行时报错。
漏洞https://view.inews.qq.com/a/20211210A05KTY00 -->
<dependency>
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-starter-log4j2</artifactId>
<exclusions>
<exclusion>
<groupId>org.apache.logging.log4j</groupId>
<artifactId>log4j-core</artifactId>
</exclusion>
<exclusion>
<groupId>org.apache.logging.log4j</groupId>
<artifactId>log4j-api</artifactId>
</exclusion>
</exclusions>
</dependency>
<!-- https://mvnrepository.com/artifact/org.apache.logging.log4j/log4j-core -->
<dependency>
<groupId>org.apache.logging.log4j</groupId>
<artifactId>log4j-core</artifactId>
<version>2.17.1</version>
</dependency>
<dependency>
<groupId>org.apache.logging.log4j</groupId>
<artifactId>log4j-api</artifactId>
<version>2.17.1</version>
</dependency>
<dependency>
<groupId>com.google.code.gson</groupId>
<artifactId>gson</artifactId>
</dependency>
<!-- elasticsearch -->
<dependency>
<groupId>org.elasticsearch</groupId>
<artifactId>elasticsearch</artifactId>
<version>7.9.1</version>
</dependency>
<dependency>
<groupId>org.elasticsearch.client</groupId>
<artifactId>elasticsearch-rest-high-level-client</artifactId>
<version>7.9.1</version>
</dependency>
<dependency>
<groupId>com.alibaba</groupId>
<artifactId>fastjson</artifactId>
<version>1.2.56</version>
</dependency>
<!-- https://mvnrepository.com/artifact/org.codehaus.jackson/jackson-mapper-asl -->
<dependency>
<groupId>org.codehaus.jackson</groupId>
<artifactId>jackson-mapper-asl</artifactId>
<version>1.9.13</version>
</dependency>
<!-- https://mvnrepository.com/artifact/org.hibernate/hibernate-validator -->
<dependency>
<groupId>org.hibernate</groupId>
<artifactId>hibernate-validator</artifactId>
<version>6.1.5.Final</version>
</dependency>
<dependency>
<groupId>javax.validation</groupId>
<artifactId>validation-api</artifactId>
</dependency>
<!-- https://mvnrepository.com/artifact/org.springframework.boot/spring-boot-starter-amqp -->
<dependency>
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-starter-amqp</artifactId>
</dependency>
<dependency>
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-starter-test</artifactId>
<scope>test</scope>
</dependency>
<dependency>
<groupId>org.apache.httpcomponents</groupId>
<artifactId>httpclient</artifactId>
</dependency>
<dependency>
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-starter-data-redis</artifactId>
</dependency>
<!-- redis依赖commons-pool 这个依赖一定要添加 -->
<dependency>
<groupId>org.apache.commons</groupId>
<artifactId>commons-pool2</artifactId>
</dependency>
<!-- https://mvnrepository.com/artifact/org.springframework.boot/spring-boot-starter-aop -->
<dependency>
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-starter-aop</artifactId>
</dependency>
</dependencies>
<build>
<plugins>
<plugin>
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-maven-plugin</artifactId>
<!-- configuration配置跳过Test -->
<configuration>
<skipTests>true</skipTests>
</configuration>
<executions>
<execution>
<goals>
<goal>repackage</goal>
</goals>
</execution>
</executions>
</plugin>
</plugins>
</build>
<!-- maven库打包自动同步到公司仓库 -->
<distributionManagement>
<repository>
<id>releases</id>
<url>http://192.168.1.173:10001/nexus/content/repositories/releases</url>
</repository>
</distributionManagement>
</project>

View File

@ -0,0 +1,44 @@
package com.ruwii.es;
import javax.annotation.PostConstruct;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.context.annotation.Bean;
import org.springframework.context.support.PropertySourcesPlaceholderConfigurer;
import org.springframework.scheduling.annotation.EnableScheduling;
@SpringBootApplication
@EnableScheduling
public class EsApplication {
// 该注解用于管理Bean的生命周期主要是管理Bean的初始化方法由该注解所修饰的方法会在构造器调用完以后被执行
@PostConstruct
public void init() {
// 解决Netty启动冲突的问题,因为Redis与ElasticSearch都是基于Netty
// 设置为false底层在用的时候会进行转型
// see Netty4Utils.setAvailableProcessors
// System.setProperty("es.set.netty.runtime.available.processors", "false");
}
public static void main(String[] args) {
SpringApplication.run(EsApplication.class, args);
}
/**
* @Description: 防止读取不到配置文件
* @Title: placeholderConfigurer
* @author Lewis
* @return PropertySourcesPlaceholderConfigurer
*/
@Bean
public static PropertySourcesPlaceholderConfigurer placeholderConfigurer() {
PropertySourcesPlaceholderConfigurer c = new PropertySourcesPlaceholderConfigurer();
c.setIgnoreUnresolvablePlaceholders(true);
return c;
}
}

View File

@ -0,0 +1,69 @@
package com.ruwii.es.aspect;
import org.aspectj.lang.JoinPoint;
import org.aspectj.lang.annotation.AfterReturning;
import org.aspectj.lang.annotation.Aspect;
import org.aspectj.lang.annotation.Before;
import org.aspectj.lang.annotation.Pointcut;
import org.slf4j.MDC;
import org.springframework.stereotype.Component;
import com.ruwii.es.util.UUIDUtil;
/**
* @Description: 对RedisRabbitMQcontroller层使用traceId追踪请求
* @ClassName: LogAspect
* @author Lewis
* @date 2021-3-17 18:21:35
*
*/
@Component
@Aspect
public class LogAspect {
/**
* 限额限日志次的 trace id
*/
private static final String TRACE_ID = "traceId";
/**
* 拦截入口下所有的 public方法
*/
@Pointcut("execution(public * com.ruwii.es.service.rabbitmq..*(..)) || " +
"execution(public * com.ruwii.es.controller..*(..)) || " +
"execution(public * com.ruwii.es.service.redis..*(..)) ")
public void pointCut() {
}
@Before("pointCut()")
public void before(JoinPoint point) throws Throwable {
//添加 MDC
MDC.put(TRACE_ID, UUIDUtil.getIdByUUId());
}
/**
* 拦截处理
*
* @param point point 信息
* @return result
* @throws Throwable if any
*/
// @Around("pointCut()")
// public Object around(ProceedingJoinPoint point) throws Throwable {
// //添加 MDC
// MDC.put(TRACE_ID, UUIDUtil.getIdByUUId());
// Object result = point.proceed();
// //移除 MDC
// MDC.remove(TRACE_ID);
// return result;
// }
@AfterReturning("pointCut()")
public void after() throws Throwable {
//移除 MDC
MDC.remove(TRACE_ID);
}
}

View File

@ -0,0 +1,225 @@
package com.ruwii.es.config;
import java.util.ArrayList;
import java.util.Collection;
import java.util.List;
import java.util.Map;
import javax.annotation.PostConstruct;
import org.apache.http.HttpHost;
import org.elasticsearch.action.admin.indices.delete.DeleteIndexRequest;
import org.elasticsearch.action.bulk.BulkRequest;
import org.elasticsearch.action.bulk.BulkResponse;
import org.elasticsearch.action.delete.DeleteRequest;
import org.elasticsearch.action.index.IndexRequest;
import org.elasticsearch.action.index.IndexResponse;
import org.elasticsearch.action.search.SearchRequest;
import org.elasticsearch.action.search.SearchResponse;
import org.elasticsearch.action.support.master.AcknowledgedResponse;
import org.elasticsearch.client.IndicesClient;
import org.elasticsearch.client.RequestOptions;
import org.elasticsearch.client.RestClient;
import org.elasticsearch.client.RestHighLevelClient;
import org.elasticsearch.client.indices.CreateIndexRequest;
import org.elasticsearch.client.indices.CreateIndexResponse;
import org.elasticsearch.client.indices.GetIndexRequest;
import org.elasticsearch.common.xcontent.XContentType;
import org.elasticsearch.index.query.QueryBuilder;
import org.elasticsearch.index.reindex.BulkByScrollResponse;
import org.elasticsearch.index.reindex.DeleteByQueryRequest;
import org.elasticsearch.index.reindex.UpdateByQueryRequest;
import org.elasticsearch.search.SearchHit;
import org.elasticsearch.search.SearchHits;
import org.elasticsearch.search.builder.SearchSourceBuilder;
import org.springframework.beans.factory.annotation.Value;
import org.springframework.stereotype.Component;
import com.alibaba.fastjson.JSON;
import com.ruwii.es.model.JsonPackage;
@Component
public class EsTemplate {
@Value("${elasticsearch.ip}")
public String host;
@Value("${elasticsearch.port}")
public int port;
@Value("http")
public String scheme;
public static RestHighLevelClient restClient = null;
@PostConstruct
public void init() {
try {
if (restClient != null) {
restClient.close();
}
restClient = new RestHighLevelClient(RestClient.builder(new HttpHost(host,port, scheme)));
} catch (Exception e) {
e.printStackTrace();
System.exit(0);
}
}
public boolean indexExist(String index) throws Exception {
GetIndexRequest request = new GetIndexRequest(index);
request.local(false);
request.humanReadable(true);
request.includeDefaults(false);
return restClient.indices().exists(request, RequestOptions.DEFAULT);
}
public <T> IndexResponse insertOrUpdateOne(String index, Map<String,T> esEntityMap) {
IndexRequest request = new IndexRequest(index);
//里面只有一个键值对的数据
esEntityMap.forEach((k,v)->{
request.id(k);
return;//不管是否有多个数据只去了第一个就跳出
});
try {
return restClient.index(request, RequestOptions.DEFAULT);
} catch (Exception e) {
throw new RuntimeException(e);
}
}
public <T> BulkResponse insertBatch(String index, Map<String,T> esEntityMap) {
BulkRequest request = new BulkRequest();
esEntityMap.forEach((code,esEntity)->{
String _json = JSON.toJSONString(esEntity);
String _id = code;
IndexRequest indexRequest = new IndexRequest(index).id(_id).source(_json, XContentType.JSON);
request.add(indexRequest);
});
try {
return restClient.bulk(request, RequestOptions.DEFAULT);
} catch (Exception e) {
throw new RuntimeException(e);
}
}
/*使用lambda遍历
public BulkResponse insertBatch( String index,Map<String,EsEntity<?>> map) {
BulkRequest request = new BulkRequest();
map.forEach((k,v)->{
String _json = JSON.toJSONString(v);
IndexRequest indexRequest = new IndexRequest(index).id(k).source(_json, XContentType.JSON);
request.add(indexRequest);
});
try {
return restClient.bulk(request, RequestOptions.DEFAULT);
} catch (Exception e) {
throw new RuntimeException(e);
}
}
*/
/**
* @Description: 批量同步操作如果不存在则写入如果存在则更新
* @Title: bulkUpdate
* @author Lewis
* @param index
* @param id
* @param request
* @return
* @throws Exception
*/
public BulkResponse bulkDelete(BulkRequest request) throws Exception {
return restClient.bulk(request, RequestOptions.DEFAULT);
}
/**
* @Description: 根据查询结果更新
* @Title: updateByQuety
* @author Lewis
* @param request
* @return BulkByScrollResponse
* @throws Exception
*/
public BulkByScrollResponse updateByQuety(UpdateByQueryRequest request) throws Exception {
return restClient.updateByQuery(request, RequestOptions.DEFAULT);
}
/**
* @Description: 批量操作如果不存在则写入如果存在则更新
* @Title: bulkUpdate
* @author Lewis
* @param index
* @param id
* @param request
* @return
* @throws Exception
*/
public BulkResponse bulkUpdate(BulkRequest request) throws Exception {
return restClient.bulk(request, RequestOptions.DEFAULT);
}
public <T> JsonPackage<List<T>> search(String index, SearchSourceBuilder searchSourceBuilder, Class<T> resultClass) {
SearchRequest request = new SearchRequest(index);
request.source(searchSourceBuilder);
try {
SearchResponse response = restClient.search(request, RequestOptions.DEFAULT);
SearchHits hits1 = response.getHits();
SearchHit[] hits2 = hits1.getHits();
List<T> retList = new ArrayList<T>(hits2.length);
for (SearchHit hit : hits2) {
String strJson = hit.getSourceAsString();
retList.add(JSON.parseObject(strJson, resultClass));
}
JsonPackage<List<T>> jsonPackage = new JsonPackage<List<T>>();
jsonPackage.setRecords(retList);
jsonPackage.setTotalRec(hits1.getTotalHits().value);
return jsonPackage;
} catch (Exception e) {
e.printStackTrace();
throw new RuntimeException(e);
}
}
public CreateIndexResponse createIndex(String index,String mapping) {
try {
CreateIndexRequest request = new CreateIndexRequest(index);
request.mapping(mapping,XContentType.JSON);
CreateIndexResponse createIndexResponse = restClient.indices().create(request, RequestOptions.DEFAULT);
return createIndexResponse;
} catch (Exception e) {
throw new RuntimeException(e);
}
}
public AcknowledgedResponse deleteIndex(String index) {
try {
IndicesClient indicesClient = restClient.indices();
DeleteIndexRequest request = new DeleteIndexRequest(index);
AcknowledgedResponse response = indicesClient.delete(request, RequestOptions.DEFAULT);
return response;
} catch (Exception e) {
throw new RuntimeException(e);
}
}
public BulkByScrollResponse deleteByQuery(String index, QueryBuilder builder) {
DeleteByQueryRequest request = new DeleteByQueryRequest(index);
request.setQuery(builder);
request.setBatchSize(10000);
request.setConflicts("proceed");
try {
BulkByScrollResponse response = restClient.deleteByQuery(request, RequestOptions.DEFAULT);
return response;
} catch (Exception e) {
throw new RuntimeException(e);
}
}
public <T> BulkResponse deleteBatch(String index, Collection<T> idList) {
BulkRequest request = new BulkRequest();
for (T t : idList) {
request.add(new DeleteRequest(index, t.toString()));
}
try {
BulkResponse response = restClient.bulk(request, RequestOptions.DEFAULT);
return response;
} catch (Exception e) {
throw new RuntimeException(e);
}
}
}

View File

@ -0,0 +1,118 @@
package com.ruwii.es.config;
import org.springframework.context.annotation.Bean;
import org.springframework.context.annotation.Configuration;
import org.springframework.data.redis.connection.lettuce.LettuceConnectionFactory;
import org.springframework.data.redis.core.RedisTemplate;
import org.springframework.data.redis.serializer.Jackson2JsonRedisSerializer;
import org.springframework.data.redis.serializer.StringRedisSerializer;
import com.fasterxml.jackson.annotation.JsonAutoDetect;
import com.fasterxml.jackson.annotation.PropertyAccessor;
import com.fasterxml.jackson.databind.ObjectMapper;
/**
* @Description: redis配置类
* @ClassName: RedisConfig
* @author Lewis
* @date 2020年5月9日 上午9:18:33
*
*/
@Configuration
public class RedisConfig {
@Bean
public RedisTemplate<String, Object> redisTemplate(LettuceConnectionFactory lettuceConnectionFactory) {
RedisTemplate<String, Object> template = new RedisTemplate<>();
template.setConnectionFactory(lettuceConnectionFactory);
// 使用Jackson2JsonRedisSerialize 替换默认序列化
Jackson2JsonRedisSerializer<Object> jackson2JsonRedisSerializer = new Jackson2JsonRedisSerializer<Object>(Object.class);
ObjectMapper objectMapper = new ObjectMapper();
objectMapper.setVisibility(PropertyAccessor.ALL, JsonAutoDetect.Visibility.ANY);
/**
* 注释掉下面一句数据的value将是纯json数据而不能是对象
*/
// objectMapper.activateDefaultTyping(LaissezFaireSubTypeValidator.instance,ObjectMapper.DefaultTyping.NON_FINAL);
jackson2JsonRedisSerializer.setObjectMapper(objectMapper);
/**
* 序列化及反序列化原则:
* key使用StringRedisSerializer序列化和反序列化
* value使用Jackson2JsonRedisSerializer序列化和反序列化
*/
/** 设置key的序列化规则和 value的序列化规则 */
template.setKeySerializer(new StringRedisSerializer());
template.setValueSerializer(jackson2JsonRedisSerializer);
/** 设置哈希key的序列化规则和 value的序列化规则 */
template.setHashKeySerializer(new StringRedisSerializer());
template.setHashValueSerializer(jackson2JsonRedisSerializer);
template.afterPropertiesSet();
return template;
}
/**
* 自定义配置,暂时用不到
*/
/*
@Value("${spring.redis.cache.nodes}")
private String nodes;
@Value("${spring.redis.host}")
private String host;
@Value("${spring.redis.password}")
private String password;
@Value("${spring.redis.lettuce.pool.max-idle}")
private Integer maxIdle;
@Value("${spring.redis.lettuce.pool.min-idle}")
private Integer minIdle;
@Value("${spring.redis.lettuce.pool.max-active}")
private Integer maxTotal;
@Value("${spring.redis.lettuce.pool.max-wait}")
private Long maxWaitMillis;
@Bean
LettuceConnectionFactory lettuceConnectionFactory() {
// 连接池配置
GenericObjectPoolConfig poolConfig = new GenericObjectPoolConfig();
poolConfig.setMaxIdle(maxIdle == null ? 8 : maxIdle);
poolConfig.setMinIdle(minIdle == null ? 1 : minIdle);
poolConfig.setMaxTotal(maxTotal == null ? 8 : maxTotal);
poolConfig.setMaxWaitMillis(maxWaitMillis == null ? 5000L : maxWaitMillis);
LettucePoolingClientConfiguration lettucePoolingClientConfiguration = LettucePoolingClientConfiguration.builder()
.poolConfig(poolConfig)
.build();
// 单机redis
RedisStandaloneConfiguration redisConfig = new RedisStandaloneConfiguration();
redisConfig.setHostName(host==null||"".equals(host)?"localhost":host.split(":")[0]);
redisConfig.setPort(Integer.valueOf(host==null||"".equals(host)?"6379":host.split(":")[1]));
if (password != null && !"".equals(password)) {
redisConfig.setPassword(password);
}
// 哨兵redis
// RedisSentinelConfiguration redisConfig = new RedisSentinelConfiguration();
// 集群redis
RedisClusterConfiguration redisConfig = new RedisClusterConfiguration();
Set<RedisNode> nodeses = new HashSet<>();
String[] hostses = nodes.split("-");
for (String h : hostses) {
h = h.replaceAll("\\s", "").replaceAll("\n", "");
if (!"".equals(h)) {
String host = h.split(":")[0];
int port = Integer.valueOf(h.split(":")[1]);
nodeses.add(new RedisNode(host, port));
}
}
redisConfig.setClusterNodes(nodeses);
// 跨集群执行命令时要遵循的最大重定向数量
redisConfig.setMaxRedirects(3);
redisConfig.setPassword(password);
return new LettuceConnectionFactory(redisConfig, lettucePoolingClientConfiguration);
}
*/
}

View File

@ -0,0 +1,56 @@
package com.ruwii.es.config;
import org.apache.http.client.HttpClient;
import org.apache.http.client.config.RequestConfig;
import org.apache.http.config.Registry;
import org.apache.http.config.RegistryBuilder;
import org.apache.http.conn.socket.ConnectionSocketFactory;
import org.apache.http.conn.socket.PlainConnectionSocketFactory;
import org.apache.http.conn.ssl.SSLConnectionSocketFactory;
import org.apache.http.impl.client.HttpClientBuilder;
import org.apache.http.impl.conn.PoolingHttpClientConnectionManager;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.context.annotation.Bean;
import org.springframework.context.annotation.Configuration;
import org.springframework.http.client.ClientHttpRequestFactory;
import org.springframework.http.client.HttpComponentsClientHttpRequestFactory;
import org.springframework.web.client.RestTemplate;
import com.ruwii.es.model.HttpPoolValues;
@Configuration
public class RestTemplateConfig {
@Autowired
private HttpPoolValues httpPoolValues;
@Bean
public RestTemplate restTemplate() {
return new RestTemplate(httpRequestFactory());
}
@Bean
public ClientHttpRequestFactory httpRequestFactory() {
return new HttpComponentsClientHttpRequestFactory(httpClient());
}
@Bean
public HttpClient httpClient() {
Registry<ConnectionSocketFactory> registry = RegistryBuilder.<ConnectionSocketFactory>create()
.register("http", PlainConnectionSocketFactory.getSocketFactory())
.register("https", SSLConnectionSocketFactory.getSocketFactory()).build();
PoolingHttpClientConnectionManager connectionManager = new PoolingHttpClientConnectionManager(registry);
connectionManager.setMaxTotal(httpPoolValues.getMaxTotal());
connectionManager.setDefaultMaxPerRoute(httpPoolValues.getMaxPerRoute());
connectionManager.setValidateAfterInactivity(httpPoolValues.getInactivity());
RequestConfig requestConfig = RequestConfig.custom()
// 服务器返回数据(response)的时间超过抛出read timeout
.setSocketTimeout(httpPoolValues.getSocketTimeout())
// 连接上服务器(握手成功)的时间超出抛出connect timeout
.setConnectTimeout(httpPoolValues.getConnTimeOut())
// 从连接池中获取连接的超时时间超时间未拿到可用连接会抛出org.apache.http.conn.ConnectionPoolTimeoutException:
// Timeout waiting for connection from pool
.setConnectionRequestTimeout(httpPoolValues.getConnReqTimeOut()).build();
return HttpClientBuilder.create().setDefaultRequestConfig(requestConfig).setConnectionManager(connectionManager)
.build();
}
}

View File

@ -0,0 +1,14 @@
package com.ruwii.es.constants;
public class ESConstants {
public static final String GOODS_INDEX_NAME = "goods_list";
// 新建商品索引的文件放置在resources下
public static final String GOOD_INDEX_FILE_PATH = "createGoodsListIndex.txt";
public static final String INSERT_ALL_GOODS = "【商品整体写入】";
public static final String SEARCH_GOODS = "【商品查询】";
public static final String SYNC_GOODS = "【商品批量同步】";
public static final String DELETE_GOODS = "【商品删除】";
public static final String UPDATE_GOODS_TERMINAL_BATCH = "【批量更新商品专区】";
}

View File

@ -0,0 +1,6 @@
package com.ruwii.es.constants;
public class RedisConstants {
/**集合名称*/
public final static String GOODS_REDIS_LIST_NAME="redisGoodsOperation";
}

View File

@ -0,0 +1,80 @@
package com.ruwii.es.controller;
import javax.validation.Valid;
import org.apache.logging.log4j.LogManager;
import org.apache.logging.log4j.core.Logger;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.validation.BindingResult;
import org.springframework.validation.FieldError;
import org.springframework.validation.annotation.Validated;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RequestBody;
import org.springframework.web.bind.annotation.RestController;
import com.google.gson.GsonBuilder;
import com.ruwii.es.constants.ESConstants;
import com.ruwii.es.dto.SearchDto;
import com.ruwii.es.dto.UpdateGoodsTerminalBatchDto;
import com.ruwii.es.model.exception.ParamsException;
import com.ruwii.es.response.ResponseCode;
import com.ruwii.es.service.es.EsGoodsMixMessageService;
import com.ruwii.es.util.LogUtil;
@RestController
public class GoodsController {
private static final Logger logger = (Logger) LogManager.getLogger(GoodsController.class);
@Autowired
EsGoodsMixMessageService goodsMixMessageService;
/**
* 将数据库中所有满足条件的商品信息写入es
*/
@GetMapping("/goods/dbAll2Es")
public String fromDbAll2EsExecutor() throws Exception {
logger.info(ESConstants.INSERT_ALL_GOODS);
String result = goodsMixMessageService.insertAll2Es();
return result;
}
/**
* 条件查询
*/
@GetMapping("/goods/searchByContent")
public String searchGoodsExecutor(@Valid SearchDto searchDto, BindingResult bindingResult) throws Exception {
logger.info("{}入参:{}", ESConstants.SEARCH_GOODS, new GsonBuilder().disableHtmlEscaping().create().toJson(searchDto));
if (bindingResult.hasErrors()) {
FieldError fieldError = bindingResult.getFieldError();
StringBuilder sb = new StringBuilder();
sb.append(fieldError.getField()).append("=[").append(fieldError.getRejectedValue()).append("]")
.append(fieldError.getDefaultMessage());
logger.info("{}接口参数校验异常:{}", ESConstants.SEARCH_GOODS, sb.toString());
throw new ParamsException(ResponseCode.EXCEPTION_PARAMS, fieldError.getDefaultMessage());
}
return goodsMixMessageService.searchByKey(searchDto);
}
/**
* 条件查询
*/
@PostMapping(value="/goods/updateTerminalBatch", produces = "application/json; charset=utf-8")
public String updateTerminalBatchExecutor(@Validated @RequestBody UpdateGoodsTerminalBatchDto updateGoodsTerminalBatchDto, BindingResult bindingResult) throws Exception {
if (updateGoodsTerminalBatchDto.toString().length() <= 30000) {
logger.info("{}入参:{}", ESConstants.UPDATE_GOODS_TERMINAL_BATCH, updateGoodsTerminalBatchDto.toString());
} else {
logger.info("{}入参:", ESConstants.UPDATE_GOODS_TERMINAL_BATCH, new GsonBuilder().disableHtmlEscaping().create().toJson(updateGoodsTerminalBatchDto));
LogUtil.read2Log(updateGoodsTerminalBatchDto.toString());
}
if (bindingResult.hasErrors()) {
FieldError fieldError = bindingResult.getFieldError();
StringBuilder sb = new StringBuilder();
sb.append(fieldError.getField()).append("=[").append(fieldError.getRejectedValue()).append("]")
.append(fieldError.getDefaultMessage());
logger.info("{}接口参数校验异常:{}", ESConstants.SEARCH_GOODS, sb.toString());
throw new ParamsException(ResponseCode.EXCEPTION_PARAMS, fieldError.getDefaultMessage());
}
return goodsMixMessageService.updateGoodsTerminalBatch(updateGoodsTerminalBatchDto);
}
}

View File

@ -0,0 +1,35 @@
package com.ruwii.es.controller;
import org.apache.logging.log4j.LogManager;
import org.apache.logging.log4j.core.Logger;
import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestParam;
import org.springframework.web.bind.annotation.ResponseBody;
/**
*
* @Description: 测试预留接口
* @ClassName: TestController
* @author Lewis
* @date 2020年4月13日 下午5:32:57
*
*/
@Controller
@ResponseBody
public class TestController {
private static final Logger logger = (Logger) LogManager.getLogger(TestController.class);
@RequestMapping("imapi/test")
public String testControllerExecute() throws Exception {
return "succeed";
}
@GetMapping("imapi/miheLog")
public String testControllerExecute(@RequestParam(value = "log_info") String log_info) throws Exception {
logger.error(log_info);
return "{\"message\":\"success\"}";
}
}

View File

@ -0,0 +1,55 @@
package com.ruwii.es.controller.exception;
import javax.servlet.http.HttpServletRequest;
import org.springframework.boot.web.servlet.error.ErrorController;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;
import com.ruwii.es.model.JsonPackage;
import com.ruwii.es.response.ErrorResponsePackage;
import com.ruwii.es.response.ResponseCode;
/**
* 容器异常处理类globalerror处理不了的异常到这边处理
* @author Lewis
*2018年10月12日
*ErrorHandlerController
*/
@RestController
public class ErrorHandlerController implements ErrorController {
@Override
public String getErrorPath() {
return "/error";
}
@RequestMapping("/error")
public String error(HttpServletRequest request) {
Integer statusCode = (Integer) request.getAttribute("javax.servlet.error.status_code");
JsonPackage<String> jsonPackage = new JsonPackage<String>();
ErrorResponsePackage errorResponsePackage = new ErrorResponsePackage();
if (404 == statusCode) {
jsonPackage.setCode(ResponseCode.INTERFACE_NOT_EXIST);
jsonPackage.setMessage(ResponseCode.RESP_INFO.get(ResponseCode.INTERFACE_NOT_EXIST));
errorResponsePackage.setErrorResponse(jsonPackage);
} else {
jsonPackage.setCode(ResponseCode.APPLICATION_ERROR);
jsonPackage.setMessage(ResponseCode.RESP_INFO.get(ResponseCode.APPLICATION_ERROR));
errorResponsePackage.setErrorResponse(jsonPackage);
}
/*
* 容器异常需要设置responsestatuscode否则像404,500等错误在程序模拟post请求时不会返回封装的json结果而是http
* 的错误信息
* 升级springboot2.0以后加上如下代码会报空指针错误
*/
// RequestContext ctx = RequestContext.getCurrentContext();
// if (ctx != null) {
// ctx.setResponseStatusCode(200);
// }
return errorResponsePackage.toJSONString();
}
}

View File

@ -0,0 +1,35 @@
package com.ruwii.es.dto;
import java.io.Serializable;
import java.util.List;
import lombok.AllArgsConstructor;
import lombok.Getter;
import lombok.NoArgsConstructor;
import lombok.Setter;
import lombok.ToString;
@Getter
@Setter
@NoArgsConstructor
@AllArgsConstructor
@ToString
public class EsGoodsMessageDto implements Serializable{
/**
* @Fields serialVersionUID :
*/
private static final long serialVersionUID = -6922363223561201580L;
/**操作类型同步1删除2*/
private Integer operationType;
/**商品编码*/
private List<String> goodsCode;
/**店铺编码*/
private String shopCode;
/**品牌编码*/
private String brandCode;
/**时间戳*/
private Long timestamp;
/**根据UUID生成的16位唯一码*/
private String id;
}

View File

@ -0,0 +1,31 @@
package com.ruwii.es.dto;
import java.io.Serializable;
import java.util.List;
import lombok.AllArgsConstructor;
import lombok.Getter;
import lombok.NoArgsConstructor;
import lombok.Setter;
import lombok.ToString;
@Getter
@Setter
@NoArgsConstructor
@AllArgsConstructor
@ToString
public class EsTerminalMessageDto implements Serializable{
/**
* @Fields serialVersionUID :
*/
private static final long serialVersionUID = 8945451907379375064L;
/**操作类型增加1删除2*/
private Integer operationType;
/**专区编码*/
private Integer terminalCode;
/**时间戳*/
private Long timestamp;
/**根据UUID生成的16位唯一码*/
private String id;
}

View File

@ -0,0 +1,108 @@
package com.ruwii.es.dto;
import java.io.Serializable;
import java.util.List;
import lombok.AllArgsConstructor;
import lombok.Getter;
import lombok.NoArgsConstructor;
import lombok.Setter;
@Setter
@Getter
@NoArgsConstructor
@AllArgsConstructor
public class GoodsDto implements Serializable{
/**
* @Fields serialVersionUID :
*/
private static final long serialVersionUID = -5744413837256745183L;
/**商品编码*/
private String code;
/**商品描述*/
private String goodsDescription;
/**商品标题*/
private String title;
/**商品短标题*/
private String shortTitle;
/**类目编码*/
private Integer classCode;
/**类目名称*/
private String className;
/**店铺编码*/
private String shopCode;
/**默认排序*/
private Integer seq;
/**上架时间*/
private String saleTime;
/**限时活动开始时间*/
private String beginTime;
/**限时活动结束时间*/
private String endTime;
/**专区编码1微信公众号、2手机H5、3米合良品APP、4航天五院APP5航天五院网易6etc*/
private List<Integer> terminalCode;
/**活动价的专区编码1微信公众号、2手机H5、3米合良品APP、4航天五院APP5航天五院网易6etc*/
private List<Integer> activityTerminalCode;
/**月销量,包括手动更新的部分和每日自动更新的部分*/
private Integer monthSales;
/**品牌中文名*/
private String nameCh;
/**品牌英文名*/
private String nameEn;
/**商品品牌编码*/
private String brandCode;
/**商品当前价*/
private Double goodsPriceNow;
/**活动当前价*/
private Double goodsPriceActivity;
/**标签*/
private String label;
/**更新时间,每次都去当前时间*/
private String updateTime;
/**积分*/
private Integer points;
/**积分价*/
private Double pointsPriceNow;
/**是否是新用户*/
// private Integer is_new_customer;
/**划线价格*/
// private Double price_origin;
/**分红类型1.指定金额 2.价格比例*/
// private Integer bonus_type;
/**分红金额*/
// private Double bonus;
/**坑位图片*/
// private String position_pic_url;
/**头图*/
// private String head_pic_video_url;
/**分佣类型1.指定金额 2.价格比例*/
// private Integer commission_type;
/**佣金4级*/
// private String commission;
/**税率*/
// private String tax_rate;
/**是否包税*/
// private Integer is_package_tax;
/**后台标签*/
// private String admin_label;
/**积分价*/
// private Double points_price;
/**积分*/
// private Integer points;
/**限时活动编码*/
// private String time_limited_activity_code;
/**销量*/
// private Integer time_limited_activity_sales;
/**活动商品限制数量*/
// private Integer time_limited_activity_num;
/**是否海外购商品*/
// private Integer is_overseas;
/**国家名称*/
// private String country_name;
/**国旗地址*/
// private String national_flag;
}

View File

@ -0,0 +1,71 @@
package com.ruwii.es.dto;
import java.io.Serializable;
import java.util.List;
import javax.validation.constraints.NotBlank;
import javax.validation.constraints.NotNull;
import javax.validation.constraints.Pattern;
import org.hibernate.validator.constraints.Range;
import com.ruwii.es.response.CheckInputParametersResponseCode;
import lombok.AllArgsConstructor;
import lombok.Getter;
import lombok.NoArgsConstructor;
import lombok.Setter;
import lombok.ToString;
@Setter
@Getter
@AllArgsConstructor
@NoArgsConstructor
@ToString
public class SearchDto implements Serializable{
/**
* @Fields serialVersionUID :
*/
private static final long serialVersionUID = 1033675792804135456L;
/** 分页起始条目 */
@NotNull(message = CheckInputParametersResponseCode.START_NULL)
@NotBlank(message = CheckInputParametersResponseCode.START_BLANK)
@Pattern(regexp="^\\d+$",message="start" + CheckInputParametersResponseCode.NOT_INTEGER_EXCEPTION)
private String start;
/** 分页大小 */
@NotNull(message = CheckInputParametersResponseCode.LIMIT_NULL)
@NotBlank(message = CheckInputParametersResponseCode.LIMIT_BLANK)
@Pattern(regexp="^\\d+$",message="limit" + CheckInputParametersResponseCode.NOT_INTEGER_EXCEPTION)
private String limit;
/** 排序方式 */
@Range(min = 1, max = 6, message =CheckInputParametersResponseCode.SORT_TYPE_ERROR)
@NotNull(message = CheckInputParametersResponseCode.SORT_TYPE_NULL)
@NotBlank(message = CheckInputParametersResponseCode.SORT_TYPE_BLANK)
@Pattern(regexp="^\\d+$",message="page_rows" + CheckInputParametersResponseCode.NOT_INTEGER_EXCEPTION)
private String sortType;
/** 分区编码 */
@NotNull(message = CheckInputParametersResponseCode.TERMINAL_CODE_NULL)
@NotBlank(message = CheckInputParametersResponseCode.TERMINAL_CODE_BLANK)
@Pattern(regexp="^\\d+$",message="terminalCode" + CheckInputParametersResponseCode.NOT_INTEGER_EXCEPTION)
private String terminalCode;
/** 搜索内容 */
@NotNull(message = CheckInputParametersResponseCode.SEARCH_CONTENT_NULL)
@NotBlank(message = CheckInputParametersResponseCode.SEARCH_CONTENT_BLANK)
private String searchContent;
/** 是否使用积分价排序 */
@NotNull(message = CheckInputParametersResponseCode.USE_PP_FLAG_NULL)
private Boolean usePPFlag;
/** 品牌编码列表 */
private List<String> brandCodeList;
/** 商品分类编码 */
private List<Integer> goodsClassCodeList;
/** 最低价 */
private Double priceLow;
/** 最高价 */
private Double priceHigh;
/** 最低价 */
private Integer pointsLow;
/** 最高价 */
private Integer pointsHigh;
}

View File

@ -0,0 +1,36 @@
package com.ruwii.es.dto;
import java.util.List;
import javax.validation.Valid;
import javax.validation.constraints.Min;
import javax.validation.constraints.NotBlank;
import javax.validation.constraints.NotEmpty;
import javax.validation.constraints.NotNull;
import javax.validation.constraints.Size;
import com.ruwii.es.response.CheckInputParametersResponseCode;
import lombok.AllArgsConstructor;
import lombok.Getter;
import lombok.NoArgsConstructor;
import lombok.Setter;
import lombok.ToString;
@Getter
@Setter
@NoArgsConstructor
@AllArgsConstructor
@ToString
public class UpdateGoodsTerminalBatchDto {
/**商品编码集合*/
@Valid
@NotEmpty(message=CheckInputParametersResponseCode.GOODSCODE_NULL)
private List<@Size(max=50000,message=CheckInputParametersResponseCode.LIST_SIZE_TOO_LARGE) String> goodsCode;
/**专区编码*/
// @NotBlank(message=CheckInputParametersResponseCode.TERMINAL_CODE_BLANK)
@NotNull(message=CheckInputParametersResponseCode.TERMINAL_CODE_NULL)
// @Pattern(regexp="^\\d+$",message="terminalCode" + CheckInputParametersResponseCode.NOT_INTEGER_EXCEPTION)
@Min(value = 0, message = "terminalCode" + CheckInputParametersResponseCode.NOT_INTEGER_EXCEPTION)
private Integer terminalCode;
}

View File

@ -0,0 +1,35 @@
package com.ruwii.es.entity;
import java.io.Serializable;
import java.util.List;
import lombok.AllArgsConstructor;
import lombok.Getter;
import lombok.NoArgsConstructor;
import lombok.Setter;
import lombok.ToString;
@Getter
@Setter
@NoArgsConstructor
@AllArgsConstructor
@ToString
public class EsGoodsMessageEntity implements Serializable{
/**
* @Fields serialVersionUID :
*/
private static final long serialVersionUID = -6922363223561201580L;
/**操作类型同步1删除2*/
private Integer operationType;
/**商品编码*/
private List<String> goodsCode;
/**店铺编码*/
private String shopCode;
/**品牌编码*/
private String brandCode;
/**时间戳*/
private Long timestamp = System.currentTimeMillis()/1000;
/**根据UUID生成的16位唯一码*/
private String id;
}

View File

@ -0,0 +1,104 @@
package com.ruwii.es.entity;
import java.util.List;
import lombok.AllArgsConstructor;
import lombok.Getter;
import lombok.NoArgsConstructor;
import lombok.Setter;
@Setter
@Getter
@NoArgsConstructor
@AllArgsConstructor
public class GoodsEntity {
/** 商品编码 */
private String code;
/** 商品描述 */
private String goodsDescription;
/** 商品标题 */
private String title;
/** 商品短标题 */
private String shortTitle;
/** 类目编码 */
private Integer classCode;
/** 类目名称 */
private String className;
/** 店铺编码 */
private String shopCode;
/** 默认排序 */
private Integer seq;
/** 更新时间 */
private String saleTime;
/** 限时活动开始时间 */
private String beginTime;
/** 限时活动结束时间 */
private String endTime;
/** 专区编码1微信公众号、2手机H5、3米合良品APP、4航天五院APP5航天五院网易6etc */
private List<Integer> terminalCode;
/**活动价的专区编码1微信公众号、2手机H5、3米合良品APP、4航天五院APP5航天五院网易6etc*/
private List<Integer> activityTerminalCode;
/** 月销量,包括手动更新的部分和每日自动更新的部分 */
private Integer monthSales;
/** 品牌中文名 */
private String nameCh;
/** 品牌英文名 */
private String nameEn;
/** 商品品牌编码 */
private String brandCode;
/** 商品当前价 */
private Double goodsPriceNow;
/** 活动当前价 */
private Double goodsPriceActivity;
/** 标签 */
private String label;
/** 更新时间,每次都去当前时间 */
private String updateTime;
/**商品描述拼接商品类名中文名*/
// private String goodsDescriptionConcatClassName;
/**商品标题,短标题,描述,类目中文名拼接在一起的字段*/
private String allTitle;
/**积分*/
private Integer points;
/**积分价*/
private Double pointsPriceNow;
/** 是否是新用户 */
// private Integer is_new_customer;
/** 划线价格 */
// private Double price_origin;
/** 分红类型1.指定金额 2.价格比例 */
// private Integer bonus_type;
/** 分红金额 */
// private Double bonus;
/** 坑位图片 */
// private String position_pic_url;
/** 头图 */
// private String head_pic_video_url;
/** 分佣类型1.指定金额 2.价格比例 */
// private Integer commission_type;
/** 佣金4级 */
// private String commission;
/** 税率 */
// private String tax_rate;
/** 是否包税 */
// private Integer is_package_tax;
/** 后台标签 */
// private String admin_label;
/** 积分价 */
// private Double points_price;
/** 积分 */
// private Integer points;
/** 限时活动编码 */
// private String time_limited_activity_code;
/** 销量 */
// private Integer time_limited_activity_sales;
/** 活动商品限制数量 */
// private Integer time_limited_activity_num;
/** 是否海外购商品 */
// private Integer is_overseas;
/** 国家名称 */
// private String country_name;
/** 国旗地址 */
// private String national_flag;
}

View File

@ -0,0 +1,126 @@
package com.ruwii.es.exception;
import javax.servlet.http.HttpServletRequest;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import org.springframework.web.bind.annotation.ControllerAdvice;
import org.springframework.web.bind.annotation.ExceptionHandler;
import org.springframework.web.bind.annotation.ResponseBody;
import org.springframework.web.bind.annotation.RestController;
import com.ruwii.es.model.JsonPackage;
import com.ruwii.es.model.exception.BizException;
import com.ruwii.es.model.exception.ParamsException;
import com.ruwii.es.response.ErrorResponsePackage;
import com.ruwii.es.response.ResponseCode;
/**
* 全局异常处理类不能处理容器异常,如果修改此类有多个包需要同时更改
* @description
* @author Lewis
* @file_name GlobalErrorException.java
* @date 2021年03月12日
*/
@RestController
@ControllerAdvice
public class GlobalErrorException{
private static final Logger logger = LoggerFactory.getLogger(GlobalErrorException.class);
@ExceptionHandler(value = Exception.class)
@ResponseBody
public String error(HttpServletRequest request, Exception ex) {
logger.error("", "", ex);
if (ex instanceof ParamsException) {
int error_code = ((ParamsException) ex).getErrorCode();
String error_message = ((ParamsException) ex).getErrorMessage();
JsonPackage<String> jsonPackage = new JsonPackage<String>();
jsonPackage.setCode(error_code);
jsonPackage.setMessage(error_message);
ErrorResponsePackage errorResponsePackage = new ErrorResponsePackage();
errorResponsePackage.setErrorResponse(jsonPackage);
return errorResponsePackage.toJSONString();
}
if (ex instanceof BizException) {
int error_code = ((BizException) ex).getErrorCode();
String error_message = ((BizException) ex).getErrorMessage();
JsonPackage<String> jsonPackage = new JsonPackage<String>();
jsonPackage.setCode(error_code);
jsonPackage.setMessage(error_message);
ErrorResponsePackage errorResponsePackage = new ErrorResponsePackage();
errorResponsePackage.setErrorResponse(jsonPackage);
return errorResponsePackage.toJSONString();
}
/**
* content-type设置不正确
*/
if (ex instanceof org.springframework.web.HttpMediaTypeNotSupportedException) {
int error_code = ResponseCode.UNSUPPORT_CONTENT_TYPE;
String error_message = ResponseCode.RESP_INFO.get(ResponseCode.UNSUPPORT_CONTENT_TYPE);
JsonPackage<String> jsonPackage = new JsonPackage<String>();
jsonPackage.setCode(error_code);
jsonPackage.setMessage(error_message);
ErrorResponsePackage errorResponsePackage = new ErrorResponsePackage();
errorResponsePackage.setErrorResponse(jsonPackage);
return errorResponsePackage.toJSONString();
}
/**
* 不支持的http请求方式
*/
if (ex instanceof org.springframework.web.HttpRequestMethodNotSupportedException) {
String[] supportedMethods = ((org.springframework.web.HttpRequestMethodNotSupportedException) ex).getSupportedMethods();
StringBuffer method = new StringBuffer("");
for (int i = 0; i < supportedMethods.length; i++) {
if ( i == 0) {
method.append(supportedMethods[i]);
} else {
method.append(",");
method.append(supportedMethods[i]);
}
}
int error_code = ResponseCode.INVALID_HTTP_REQUEST_TYPE;
String error_message = ResponseCode.RESP_INFO.get(ResponseCode.INVALID_HTTP_REQUEST_TYPE) + method.toString();
JsonPackage<String> jsonPackage = new JsonPackage<String>();
jsonPackage.setCode(error_code);
jsonPackage.setMessage(error_message);
ErrorResponsePackage errorResponsePackage = new ErrorResponsePackage();
errorResponsePackage.setErrorResponse(jsonPackage);
return errorResponsePackage.toJSONString();
}
/**
* 请求中提交的参数异常
*/
if (ex instanceof org.springframework.http.converter.HttpMessageNotReadableException) {
int error_code = ResponseCode.ILLEGAL_PARAMETERS;
String error_message = ResponseCode.RESP_INFO.get(ResponseCode.ILLEGAL_PARAMETERS);
JsonPackage<String> jsonPackage = new JsonPackage<String>();
jsonPackage.setCode(error_code);
jsonPackage.setMessage(error_message);
ErrorResponsePackage errorResponsePackage = new ErrorResponsePackage();
errorResponsePackage.setErrorResponse(jsonPackage);
return errorResponsePackage.toJSONString();
}
/**
* 第三方请求超时
*/
if(ex instanceof java.net.SocketTimeoutException) {
int error_code = ResponseCode.REQUEST_TIME_OUT;
String error_message = ResponseCode.RESP_INFO.get(ResponseCode.REQUEST_TIME_OUT);
JsonPackage<String> jsonPackage = new JsonPackage<String>();
jsonPackage.setCode(error_code);
jsonPackage.setMessage(error_message);
ErrorResponsePackage errorResponsePackage = new ErrorResponsePackage();
errorResponsePackage.setErrorResponse(jsonPackage);
return errorResponsePackage.toJSONString();
}
// 对于未处理的异常统一回复系统异常信息
JsonPackage<String> jsonPackage = new JsonPackage<String>();
jsonPackage.setCode(ResponseCode.EXCEPTION_HEAD);
jsonPackage.setMessage(ResponseCode.RESP_INFO.get(ResponseCode.EXCEPTION_HEAD));
ErrorResponsePackage errorResponsePackage = new ErrorResponsePackage();
errorResponsePackage.setErrorResponse(jsonPackage);
return errorResponsePackage.toJSONString();
}
}

View File

@ -0,0 +1,32 @@
package com.ruwii.es.model;
import org.springframework.stereotype.Component;
import org.springframework.beans.factory.annotation.Value;
import lombok.Getter;
@Getter
@Component
public class HttpPoolValues {
@Value("${httpPool.max_total}")
private int maxTotal;
@Value("${httpPool.default_max_per_route}")
private int maxPerRoute;
@Value("${httpPool.connect_timeout}")
private int connTimeOut;
@Value("${httpPool.connection_request_timeout}")
private int connReqTimeOut;
@Value("${httpPool.socket_timeout}")
private int socketTimeout;
@Value("${httpPool.validate_after_inactivity}")
private int inactivity;
@Value("${mihe.uri}")
private String uri;
}

View File

@ -0,0 +1,26 @@
package com.ruwii.es.model;
import java.io.Serializable;
import lombok.Getter;
import lombok.Setter;
/**
* @Description: 自定义接口数据返回结果参数类
* @ClassName: JsonPackage
* @author Lewis
* @date 2021-3-12 10:43:07
* @param <T>
*/
@Getter
@Setter
public class JsonPackage<T> implements Serializable {
/**
* @Fields serialVersionUID :
*/
private static final long serialVersionUID = -8082407984586865193L;
private int code;// 接口状态码
private String message;// 接口返回描述信息
private T records;// 自定义类型的数据
private Long totalRec;// 该批查询到的总数量
}

View File

@ -0,0 +1,46 @@
package com.ruwii.es.model;
import org.springframework.amqp.core.Queue;
import org.springframework.beans.factory.annotation.Value;
import org.springframework.context.annotation.Bean;
import org.springframework.context.annotation.Configuration;
import org.springframework.stereotype.Component;
/**
* @Description: 队列名字只能是常量使用了spring spel表达式获取配置文件的队列名
* @ClassName: GoodsConfig
* @author Lewis
* @date 2021-3-26 17:01:16
*
*/
@Configuration
@Component
public class MQConfig {
/*
* 商品队列名称
*/
private static String GOODS_QUEUE_NAME;
@Value("${goods.mq.name}")
public void setGOODS_QUEUE_NAME(String GOODS_QUEUE_NAME) {
MQConfig.GOODS_QUEUE_NAME = GOODS_QUEUE_NAME;
}
@Bean
public Queue goodsQueue(){
return new Queue(GOODS_QUEUE_NAME,true);
}
/*
* 专区队列名称
*/
private static String TERMINAL_QUEUE_NAME;
@Value("${terminal.mq.name}")
public void setTERMINAL_QUEUE_NAME(String TERMINAL_QUEUE_NAME) {
MQConfig.TERMINAL_QUEUE_NAME = TERMINAL_QUEUE_NAME;
}
@Bean
public Queue terminalQueue(){
return new Queue(TERMINAL_QUEUE_NAME,true);
}
}

View File

@ -0,0 +1,24 @@
package com.ruwii.es.model.exception;
import java.io.Serializable;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.Getter;
import lombok.NoArgsConstructor;
import lombok.Setter;
/**
* 通过接口校验没问题的参数数据提交到平台平台反馈有参数有问题的抛出此错误
* @author Lewis
*
*/
@Getter
@Setter
@AllArgsConstructor
@NoArgsConstructor
public class BizException extends CustomException implements Serializable {
private static final long serialVersionUID = -5519743897907627214L;
private int errorCode;
private String errorMessage;
}

View File

@ -0,0 +1,14 @@
package com.ruwii.es.model.exception;
import java.io.Serializable;
/**
* 自定义的异常总父类所有的自定义异常都继承该类
* @author Lewis
*2018年12月6日
*CustomException
*/
public abstract class CustomException extends Exception implements Serializable{
private static final long serialVersionUID = 5519743897907627214L;
}

View File

@ -0,0 +1,23 @@
package com.ruwii.es.model.exception;
import java.io.Serializable;
import lombok.AllArgsConstructor;
import lombok.Getter;
import lombok.NoArgsConstructor;
import lombok.Setter;
/**
* 参数校验异常类通过接口传递的参数有异常抛此错误
* @author Lewis
*
*/
@Getter
@Setter
@AllArgsConstructor
@NoArgsConstructor
public class ParamsException extends CustomException implements Serializable {
private static final long serialVersionUID = -5519743897907627214L;
private int errorCode;
private String errorMessage;
}

View File

@ -0,0 +1,57 @@
package com.ruwii.es.response;
import java.io.Serializable;
/**
* @description 对于入参的参数校验的结果描述
* @author Lewis
* @file_name CheckInputParametersResponseCode.java
* @date 2018年12月24日
*/
public class CheckInputParametersResponseCode implements Serializable{
/**
* @Fields serialVersionUID :
*/
private static final long serialVersionUID = 2588746438470078312L;
/** 参数必须为正整数 */
public static final String NOT_INTEGER_EXCEPTION = "参数应为(正)整数类型";
/** 入参不包含page_rows */
public static final String LIMIT_NULL = "limit是必传项";
/** page_rows值为空 */
public static final String LIMIT_BLANK = "limit不能为空";
/** 入参不包含page_now */
public static final String START_NULL = "start是必传项";
/** page_now值为空 */
public static final String START_BLANK = "start不能为空";
/** 入参不包含date_type */
public static final String SORT_TYPE_NULL = "sortType是必传项";
/** date_type值为空 */
public static final String SORT_TYPE_BLANK = "sortType是必传项";
/** date_type值取值范围有误 */
public static final String SORT_TYPE_ERROR = "sortType不符合接口文档的取值范围";
/** 入参不包含page_now */
public static final String TERMINAL_CODE_NULL = "terminalCode是必传项";
/** page_now值为空 */
public static final String TERMINAL_CODE_BLANK = "terminalCode不能为空";
/** 入参不包含page_now */
public static final String SEARCH_CONTENT_NULL = "searchContent是必传项";
/** page_now值为空 */
public static final String SEARCH_CONTENT_BLANK = "searchContent不能为空";
/** 入参不包含page_now */
public static final String USE_PP_FLAG_NULL = "usePPFlag是必传项";
/** page_now值为空 */
public static final String USE_PP_FLAG_BLANK = "usePPFlag不能为空";
/**商品编码不能为空*/
public static final String GOODSCODE_NULL = "goodsCode不能为空";
/**数组长度过大*/
public static final String LIST_SIZE_TOO_LARGE = "列表元素不能超过10000个";
}

View File

@ -0,0 +1,36 @@
package com.ruwii.es.response;
import com.alibaba.fastjson.JSONObject;
import com.ruwii.es.model.exception.BizException;
/**
* @Description: 统一抛出米合平台的错误
* @ClassName: CheckMihePlatformError
* @author Lewis
* @date 2021-3-11 16:12:22
*
*/
public class CheckMihePlatformError {
public static void checkMiheErrorCode(JSONObject json) throws Exception {
int statusCode = json.getIntValue("statusCode");
String message = json.getString("message");
switch (statusCode) {
case 200:
return;
case 100000:
/**
* 100000缺少必要参数
*/
throw new BizException(ResponseCode.LACK_NECESSARY_PARAMS,
ResponseCode.RESP_INFO.get(ResponseCode.LACK_NECESSARY_PARAMS));
default:
/*
* 未处理类型的异常
*/
throw new BizException(ResponseCode.PLATFORM_UNKOWN_ERROR,
ResponseCode.RESP_INFO.get(ResponseCode.PLATFORM_UNKOWN_ERROR));
}
}
}

View File

@ -0,0 +1,39 @@
package com.ruwii.es.response;
import java.io.Serializable;
import com.google.gson.Gson;
import com.google.gson.GsonBuilder;
import com.ruwii.es.model.JsonPackage;
import lombok.AllArgsConstructor;
import lombok.Getter;
import lombok.NoArgsConstructor;
import lombok.Setter;
/**
* @Description: 异常返回结果封装
* @ClassName: ErrorResponsePackage
* @author Lewis
* @date 2021-3-12 13:03:45
*
*/
@Getter
@Setter
@AllArgsConstructor
@NoArgsConstructor
public class ErrorResponsePackage implements Serializable{
/**
* @Fields serialVersionUID :
*/
private static final long serialVersionUID = -228923983698654156L;
public JsonPackage<String> errorResponse;
/*
* 将对象转换为json格式
*/
public String toJSONString () {
Gson gson=new GsonBuilder().disableHtmlEscaping().create();
String jsonStr=null;
jsonStr=gson.toJson(this);
return jsonStr;
}
}

View File

@ -0,0 +1,39 @@
package com.ruwii.es.response;
import java.io.Serializable;
import com.google.gson.Gson;
import com.google.gson.GsonBuilder;
import com.ruwii.es.model.JsonPackage;
import lombok.Getter;
import lombok.Setter;
/**
* @Description:
* @ClassName: EsAddTerminalResponsePackage
* @author Lewis
* @date 2021-3-12 10:45:25
*
* @param GoodsSearchResponsePackage<T>
*/
@Getter
@Setter
public class EsAddTerminalResponsePackage<T> implements Serializable{
/**
* @Fields serialVersionUID :
*/
private static final long serialVersionUID = 7616424123048049853L;
private JsonPackage<T> ruwiiEsUpdateGoodsTerminalBatchResponse;
/*
* 将对象转换为json格式
*/
public String toJSONString () {
Gson gson=new GsonBuilder().disableHtmlEscaping().create();
String jsonStr=null;
jsonStr=gson.toJson(this);
return jsonStr;
}
}

View File

@ -0,0 +1,39 @@
package com.ruwii.es.response;
import java.io.Serializable;
import com.google.gson.Gson;
import com.google.gson.GsonBuilder;
import com.ruwii.es.model.JsonPackage;
import lombok.Getter;
import lombok.Setter;
/**
* @Description:
* @ClassName: EsInitGoodsResponsePackage
* @author Lewis
* @param <T>
* @date 2021-3-17 13:38:12
*
* @param <T>
*/
@Getter
@Setter
public class EsInitGoodsResponsePackage implements Serializable{
/**
* 自动生成的serialVersionUID
*/
private static final long serialVersionUID = -5805586875196264955L;
private JsonPackage<String> ruwiiEsGoodsInitResponse;
/*
* 将对象转换为json格式
*/
public String toJSONString () {
Gson gson=new GsonBuilder().disableHtmlEscaping().create();
String jsonStr=null;
jsonStr=gson.toJson(this);
return jsonStr;
}
}

View File

@ -0,0 +1,39 @@
package com.ruwii.es.response;
import java.io.Serializable;
import java.util.List;
import com.google.gson.Gson;
import com.google.gson.GsonBuilder;
import com.ruwii.es.model.JsonPackage;
import lombok.Getter;
import lombok.Setter;
/**
* @Description:
* @ClassName: GoodsSearchResponsePackage
* @author Lewis
* @date 2021-3-12 10:45:25
*
* @param GoodsSearchResponsePackage<T>
*/
@Getter
@Setter
public class EsSearchGoodsResponsePackage<T> implements Serializable{
/**
* 自动生成的serialVersionUID
*/
private static final long serialVersionUID = -5805586875196264955L;
private JsonPackage<List<T>> ruwiiEsGoodsSearchResponse;
/*
* 将对象转换为json格式
*/
public String toJSONString () {
Gson gson=new GsonBuilder().disableHtmlEscaping().create();
String jsonStr=null;
jsonStr=gson.toJson(this);
return jsonStr;
}
}

View File

@ -0,0 +1,40 @@
package com.ruwii.es.response;
import java.io.Serializable;
import java.util.List;
import com.google.gson.Gson;
import com.google.gson.GsonBuilder;
import com.ruwii.es.model.JsonPackage;
import lombok.Getter;
import lombok.Setter;
/**
* @Description:
* @ClassName: GoodsSearchResponsePackage
* @author Lewis
* @date 2021-3-12 10:45:25
*
* @param GoodsSearchResponsePackage<T>
*/
@Getter
@Setter
public class EsUpdateGoodsTerminalBatchResponsePackage<T> implements Serializable{
/**
* @Fields serialVersionUID :
*/
private static final long serialVersionUID = 7616424123048049853L;
private JsonPackage<T> ruwiiEsUpdateGoodsTerminalBatchResponse;
/*
* 将对象转换为json格式
*/
public String toJSONString () {
Gson gson=new GsonBuilder().disableHtmlEscaping().create();
String jsonStr=null;
jsonStr=gson.toJson(this);
return jsonStr;
}
}

View File

@ -0,0 +1,267 @@
package com.ruwii.es.response;
import java.io.Serializable;
import java.util.HashMap;
import java.util.Map;
/**
* 接口调用返回信息码及中文信息描述
* @author Lewis
*2018年10月12日
*ResponseCode
*/
public class ResponseCode implements Serializable{
/**
* @Fields serialVersionUID :
*/
private static final long serialVersionUID = -8090236708367781636L;
/** 系统处理正常 */
public static final int SUCCESS_HEAD = 0;
/** 系统处理未知异常 */
public static final int EXCEPTION_HEAD = 1;
/** 网关处理异常 */
public static final int GATEWAY_ERROR = 2;
/** 注册处理异常 */
public static final int REGISTRY_ERROR = 3;
/** 应用程序异常 */
public static final int APPLICATION_ERROR = 4;
/** 接口不存在 */
public static final int INTERFACE_NOT_EXIST = 5;
/** app_key参数非法 */
public static final int INVALID_APPKEY = 101;
/** session_key参数非法 */
public static final int INVALID_SESSIONKEY = 102;
/** 调用第三方平台访问频率超限 */
public static final int REQUEST_EXCEEDS_LIMIT = 103;
/** 调用接口已下线或者停用 */
public static final int DOWNLINE_INTERFACE = 104;
/** app与shop无订购关系 */
public static final int APP_NO_RELATIONSHIP_WITH_SHOP =105;
/** app与shop订购关系过期 */
public static final int APP_OUT_TIME_WITH_SHOP =106;
/** session_key错误 */
public static final int SESSION_KEY_ERROR =107;
/** 订单号错误 */
public static final int INVALID_PLATFORM_NUM = 108;
/** 签名非法 */
public static final int INVALID_SIGN = 109;
/** 平台未处理类型的异常 */
public static final int PLATFORM_UNKOWN_ERROR = 110;
/** 未知的平台 */
public static final int UNKOWN_PLATFORM = 111;
/** 不支持的快递方式 */
public static final int UNKOWN_EXPRESS = 112;
/** 参数校验失败 */
public static final int EXCEPTION_PARAMS = 113;
/** 调用接口异常 */
public static final int EXCEPTION_INTERFACE = 114;
/** 缺少必要参数 */
public static final int LACK_NECESSARY_PARAMS = 115;
/** 调用南天门接口请求超限 */
public static final int REQUEST_THROTTLED = 116;
/** 参数不合法 */
public static final int INVALID_PARAMETER = 117;
/** 暂不支持的订单状态 */
// public static final int INVALID_ORDER_STATUS = 118;
/** 未查询到店铺信息 */
public static final int INVALID_SHOP_CODE = 119;
/** 未查询到店铺信息 */
public static final int TIME_SPAN_TOO_MAX = 120;
/** 订单解析异常 */
public static final int ORDER_PARSE_EXCEPTION = 121;
/** 提交的参数不合法 */
public static final int ILLEGAL_PARAMETERS = 122;
/** 数据转换异常 指不同类型的数据转换 例如inputstream to string*/
public static final int DATA_CAST_EXCEPTION = 123;
/** 订单不是代发货状态,不能发货*/
public static final int ORDER_STATUS_NOT_UNSEND = 124;
/** ip无权访问接口请加入ip白名单*/
public static final int IP_WITHOUT_WHITE_LIST = 125;
/** 该待发货订单中的所有商品都已发货*/
public static final int ALL_GOODS_DELIVERED = 126;
/**第三方平台返回数据无法解析*/
public static final int CANNOT_PARSE_THIRD_PARTY_DATA = 127;
/**第三方服务接口不可用*/
public static final int INVALID_INTERFACE = 128;
/**调用第三方接口权限不足*/
public static final int INSUFFICIENT_SESSION_PERMISSIONS = 129;
/**远程服务错误*/
public static final int REMOTE_SERVICE_ERROR = 130;
/**刷新码不可用*/
public static final int INVALID_REFRESH_TOKEN = 131;
/**不支持Get请求方式*/
public static final int INVALID_REQUEST_TYPE_GET = 132;
/**不支持POST请求方式*/
public static final int INVALID_REQUEST_TYPE_POST = 133;
/**不支持PUT请求方式*/
public static final int INVALID_REQUEST_TYPE_PUT = 134;
/**不支持DELETE请求方式*/
public static final int INVALID_REQUEST_TYPE_DELETE = 135;
/**不支持HTTP的请求方式*/
public static final int INVALID_HTTP_REQUEST_TYPE = 136;
/**订单已取消*/
public static final int ORDER_IS_CANCELED=137;
/**请求第三方接口超时*/
public static final int REQUEST_TIME_OUT=138;
/**退款单bill_type不符合规则*/
public static final int INVALID_BILL_TYPE=139;
/** 不支持的content-type */
public static final int UNSUPPORT_CONTENT_TYPE = 140;
/** 读取文件失败 */
public static final int READ_FILE_ERROR = 140;
// /** JSON解析错误 */
// public static final int JSON_RESOLVE = 2;
//
// /** 类型不匹配 */
// public static final int TRANSTYPE_NO = 3;
// /** Head - timeStamp未赋值 */
// public static final int HEAD_timeStamp = 12;
//
// /** Head - messengerID未赋值 */
// public static final int HEAD_messengerID = 6;
//
// /** Head - transactionType 未赋值 */
// public static final int HEAD_transactionType = 7;
//
// /** digest校验不通过 */
// public static final int HEAD_DIGEST = 8;
//
// /** src校验不通过 */
// public static final int HEAD_SRC_NULL = 10;
//
// /** 协议包含非法字符 */
// public static final int ILLEGAL_MESSAGE = 11;
//
// /** 数据库异常 */
// public static final int DATABASE_EXCEPTION = 9;
//
public static final Map<Integer, String> RESP_INFO = new HashMap<Integer, String>();
static {
// Head 相关
/*
* 系统异常
*/
RESP_INFO.put(SUCCESS_HEAD, "成功");
RESP_INFO.put(EXCEPTION_HEAD, "系统处理未知异常");
RESP_INFO.put(GATEWAY_ERROR, "请求接口异常,请稍后重试");
RESP_INFO.put(REGISTRY_ERROR, "注册服务异常,请稍后重试");
RESP_INFO.put(APPLICATION_ERROR, "程序内部错误,请稍后重试");
RESP_INFO.put(INTERFACE_NOT_EXIST, "请求接口不存在,请确认请求地址是否正确");
RESP_INFO.put(ILLEGAL_PARAMETERS, "请求中有参数不合法,请确认后重新提交");
/*
* 参数异常
*/
RESP_INFO.put(INVALID_APPKEY, "app_key不可用");
RESP_INFO.put(INVALID_SESSIONKEY, "session_key不可用");
RESP_INFO.put(REQUEST_EXCEEDS_LIMIT, "调用第三方平台请求频率超限");
RESP_INFO.put(DOWNLINE_INTERFACE, "调用的第三方接口已下线");
RESP_INFO.put(INVALID_INTERFACE, "第三方接口不可用");
RESP_INFO.put(APP_NO_RELATIONSHIP_WITH_SHOP, "app_key与shop当前无订购关系");
RESP_INFO.put(APP_OUT_TIME_WITH_SHOP, "app_key与shop订购关系过期");
RESP_INFO.put(SESSION_KEY_ERROR, "session_key错误");
RESP_INFO.put(INVALID_PLATFORM_NUM, "订单号错误");
RESP_INFO.put(INVALID_SIGN, "签名错误,可能由app_secret错误引起");
RESP_INFO.put(PLATFORM_UNKOWN_ERROR, "未处理类型的第三方平台异常");
RESP_INFO.put(UNKOWN_PLATFORM, "不支持的平台");
RESP_INFO.put(UNKOWN_EXPRESS, "不支持的快递");
RESP_INFO.put(EXCEPTION_INTERFACE, "第三方接口调用异常,请稍后重试");
RESP_INFO.put(LACK_NECESSARY_PARAMS, "缺少必要参数");
RESP_INFO.put(REQUEST_THROTTLED, "南天门接口请求超限,请降低调用频率");
RESP_INFO.put(INVALID_PARAMETER, "平台检验参数不合法");
RESP_INFO.put(INVALID_SHOP_CODE, "未查询到店铺信息,请确认店铺存在并启用");
RESP_INFO.put(TIME_SPAN_TOO_MAX, "起始-结束时间跨度太大,超过平台限制");
RESP_INFO.put(ORDER_PARSE_EXCEPTION, "订单解析异常");
RESP_INFO.put(DATA_CAST_EXCEPTION, "数据转换异常");
RESP_INFO.put(ORDER_STATUS_NOT_UNSEND, "订单非待发货状态,不能发货");
RESP_INFO.put(IP_WITHOUT_WHITE_LIST, "南天门IP不在第三方平台白名单无法调用第三方接口");
RESP_INFO.put(ALL_GOODS_DELIVERED, "该待发货订单中的所有商品都已发货");
RESP_INFO.put(CANNOT_PARSE_THIRD_PARTY_DATA, "无法解析第三方平台返回的数据");
RESP_INFO.put(INSUFFICIENT_SESSION_PERMISSIONS, "调用第三方接口权限不足");
RESP_INFO.put(INVALID_REFRESH_TOKEN, "刷新码不可用");
RESP_INFO.put(INVALID_REQUEST_TYPE_GET, "接口不支持Get请求方式");
RESP_INFO.put(INVALID_REQUEST_TYPE_POST, "接口不支持POST请求方式");
RESP_INFO.put(INVALID_REQUEST_TYPE_PUT, "接口不支持PUT请求方式");
RESP_INFO.put(INVALID_REQUEST_TYPE_DELETE, "接口不支持DELETE请求方式");
RESP_INFO.put(INVALID_HTTP_REQUEST_TYPE, "接口不支持的http请求方式,该接口支持的调用方式:");
RESP_INFO.put(ORDER_IS_CANCELED, "订单已取消");
RESP_INFO.put(REQUEST_TIME_OUT, "请求第三方接口超时");
RESP_INFO.put(INVALID_BILL_TYPE, "退款单bill_type不符合规则");
RESP_INFO.put(UNSUPPORT_CONTENT_TYPE, "请求接口的content-type不正确");
RESP_INFO.put(READ_FILE_ERROR, "读取配置文件失败");
// RESP_INFO.put(JSON_RESOLVE, "JSON解析错误");
// RESP_INFO.put(TRANSTYPE_NO, "类型不匹配");
//
// RESP_INFO.put(HEAD_timeStamp, "timeStamp未赋值");
// RESP_INFO.put(HEAD_messengerID, "messengerID未赋值");
// RESP_INFO.put(HEAD_transactionType, "transactionType未赋值");
// RESP_INFO.put(HEAD_DIGEST, "digest校验不通过");
// RESP_INFO.put(DATABASE_EXCEPTION, "数据库异常");
// RESP_INFO.put(HEAD_SRC_NULL, "src未赋值");
// RESP_INFO.put(ILLEGAL_MESSAGE, "协议包含非法字符");
}
}

View File

@ -0,0 +1,67 @@
package com.ruwii.es.service.es;
import com.ruwii.es.dto.EsGoodsMessageDto;
import com.ruwii.es.dto.EsTerminalMessageDto;
import com.ruwii.es.dto.SearchDto;
import com.ruwii.es.dto.UpdateGoodsTerminalBatchDto;
public interface EsGoodsMixMessageService {
/**
* @Title: insertAll2Es
* @Description: 批量写入/初始化写入商品到es
* @author Lewis
* @return 成功与否
* @throws Exception
*/
String insertAll2Es() throws Exception;
/**
* @Title: searchByKey
* @Description: 检索商品
* @author Lewis
* @param searchDto
* @return 封装的商品信息
* @throws Exception
*/
String searchByKey(SearchDto searchDto) throws Exception;
/**
* @Title: syncGoodsMessage
* @Description: 同步商品信息
* @author Lewis
* @param esGoodsMessageDto
* @throws Exception
*/
void syncGoodsMessage(EsGoodsMessageDto esGoodsMessageDto) throws Exception;
/**
* @Title: deleteGoods
* @Description: 删除单个商品
* @author Lewis
* @param esGoodsMessageDto
* @throws Exception
*/
void deleteGoods(EsGoodsMessageDto esGoodsMessageDto) throws Exception;
/**
* @Title: updateTerminalBatch
* @Description: 处理一批商品的分区编码
* @author Lewis
* @throws Exception
*/
String updateGoodsTerminalBatch(UpdateGoodsTerminalBatchDto updateGoodsTerminalBatchDto) throws Exception;
/**
*
* @Title: updateTerminalCode
* @Description: 根据提供的专区编码增加es所有商品的
* @author Lewis
* @return 处理结果
* @throws Exception
*/
void addTerminalCode(int terminalCode) throws Exception;
/**
*
* @Title: updateTerminalCode
* @Description: 根据提供的专区编码增加es所有商品的
* @author Lewis
* @return 处理结果
* @throws Exception
*/
void deleteTerminalCode(int terminalCode) throws Exception;
}

View File

@ -0,0 +1,519 @@
package com.ruwii.es.service.es.impl;
import java.text.SimpleDateFormat;
import java.util.ArrayList;
import java.util.Date;
import java.util.HashMap;
import java.util.List;
import java.util.Map;
import org.apache.logging.log4j.LogManager;
import org.apache.logging.log4j.core.Logger;
import org.elasticsearch.action.bulk.BulkRequest;
import org.elasticsearch.action.bulk.BulkResponse;
import org.elasticsearch.action.delete.DeleteRequest;
import org.elasticsearch.action.index.IndexRequest;
import org.elasticsearch.action.support.master.AcknowledgedResponse;
import org.elasticsearch.action.update.UpdateRequest;
import org.elasticsearch.client.indices.CreateIndexResponse;
import org.elasticsearch.common.xcontent.XContentType;
import org.elasticsearch.index.query.BoolQueryBuilder;
import org.elasticsearch.index.query.MultiMatchQueryBuilder.Type;
import org.elasticsearch.index.query.QueryBuilder;
import org.elasticsearch.index.query.QueryBuilders;
import org.elasticsearch.index.query.TermsQueryBuilder;
import org.elasticsearch.index.reindex.BulkByScrollResponse;
import org.elasticsearch.index.reindex.UpdateByQueryRequest;
import org.elasticsearch.script.Script;
import org.elasticsearch.script.ScriptType;
import org.elasticsearch.search.builder.SearchSourceBuilder;
import org.elasticsearch.search.sort.ScriptSortBuilder;
import org.elasticsearch.search.sort.ScriptSortBuilder.ScriptSortType;
import org.elasticsearch.search.sort.SortOrder;
import org.springframework.beans.BeanUtils;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import com.alibaba.fastjson.JSONArray;
import com.alibaba.fastjson.JSONException;
import com.alibaba.fastjson.JSONObject;
import com.google.gson.Gson;
import com.google.gson.GsonBuilder;
import com.ruwii.es.config.EsTemplate;
import com.ruwii.es.constants.ESConstants;
import com.ruwii.es.dto.EsGoodsMessageDto;
import com.ruwii.es.dto.EsTerminalMessageDto;
import com.ruwii.es.dto.GoodsDto;
import com.ruwii.es.dto.SearchDto;
import com.ruwii.es.dto.UpdateGoodsTerminalBatchDto;
import com.ruwii.es.entity.GoodsEntity;
import com.ruwii.es.model.JsonPackage;
import com.ruwii.es.model.exception.BizException;
import com.ruwii.es.response.CheckMihePlatformError;
import com.ruwii.es.response.EsInitGoodsResponsePackage;
import com.ruwii.es.response.EsSearchGoodsResponsePackage;
import com.ruwii.es.response.EsUpdateGoodsTerminalBatchResponsePackage;
import com.ruwii.es.response.ResponseCode;
import com.ruwii.es.service.es.EsGoodsMixMessageService;
import com.ruwii.es.service.mihe.MiheService;
import com.ruwii.es.util.ReadFileUtil;
@Service
public class EsGoodsMixMessageServiceImpl implements EsGoodsMixMessageService {
private static final Logger logger = (Logger) LogManager.getLogger(EsGoodsMixMessageService.class);
@Autowired
private EsTemplate esTemplate;
@Autowired
MiheService miheService;
@Override
public String insertAll2Es() throws Exception {
// 判断索引是否存在
boolean indexExist = esTemplate.indexExist(ESConstants.GOODS_INDEX_NAME);
// 如果索引存在则删除索引
if (indexExist) {
AcknowledgedResponse acknowledgedResponse = esTemplate.deleteIndex(ESConstants.GOODS_INDEX_NAME);
logger.info("{}删除索引:{},操作成功:{}", ESConstants.INSERT_ALL_GOODS, ESConstants.GOODS_INDEX_NAME,
acknowledgedResponse.isAcknowledged());
}
// 新建索引
// 新建商品索引的文件放置在resources下
String mapping = ReadFileUtil.testReadFile(ESConstants.GOOD_INDEX_FILE_PATH);
CreateIndexResponse createIndexResponse = esTemplate.createIndex(ESConstants.GOODS_INDEX_NAME, mapping);
logger.info("{}创建索引:{},操作成功:{}", ESConstants.INSERT_ALL_GOODS, ESConstants.GOODS_INDEX_NAME,
createIndexResponse.isAcknowledged());
Map<String, GoodsEntity> esGoodsEntityMap = new HashMap<String, GoodsEntity>();
// 设置初始调用的页数和每页的数据量
int pageSize = 1000;
int pageNum = 0;
esGoodsEntityMap = parseInitGoodsData(esGoodsEntityMap, pageSize, pageNum);
if (esGoodsEntityMap.size() > 0) {
BulkResponse bulkResponse = esTemplate.insertBatch(ESConstants.GOODS_INDEX_NAME, esGoodsEntityMap);
if (bulkResponse.hasFailures()) {
logger.info("{}索引:{},错误信息:{}", ESConstants.INSERT_ALL_GOODS, ESConstants.GOODS_INDEX_NAME,
bulkResponse.buildFailureMessage());
} else {
logger.info("{}索引:{}写入成功", ESConstants.INSERT_ALL_GOODS, ESConstants.GOODS_INDEX_NAME);
}
} else {
logger.info("{}索引:{}无可用数据", ESConstants.INSERT_ALL_GOODS, ESConstants.GOODS_INDEX_NAME);
}
EsInitGoodsResponsePackage esInitGoodsResponsePackage = new EsInitGoodsResponsePackage();
JsonPackage<String> jsonPackage = new JsonPackage<String>();
jsonPackage.setCode(ResponseCode.SUCCESS_HEAD);
jsonPackage.setMessage(ResponseCode.RESP_INFO.get(ResponseCode.SUCCESS_HEAD));
esInitGoodsResponsePackage.setRuwiiEsGoodsInitResponse(jsonPackage);
return esInitGoodsResponsePackage.toJSONString();
}
private Map<String, GoodsEntity> parseInitGoodsData(Map<String, GoodsEntity> esGoodsEntityMap, int pageSize,
int pageNum) throws Exception {
String goodsString = miheService.getInitGoodsData(pageSize, pageNum);
// 如果返回空字符串说明http调用异常
if ("".equals(goodsString)) {
throw new BizException(ResponseCode.EXCEPTION_INTERFACE,
ResponseCode.RESP_INFO.get(ResponseCode.EXCEPTION_INTERFACE));
}
JSONObject json = null;
try {
json = JSONObject.parseObject(goodsString);
} catch (JSONException e) {// 如果解析有问题抛出封装的解析异常
throw new BizException(ResponseCode.CANNOT_PARSE_THIRD_PARTY_DATA,
ResponseCode.RESP_INFO.get(ResponseCode.CANNOT_PARSE_THIRD_PARTY_DATA));
}
// 校验返回的结果是否有异常
CheckMihePlatformError.checkMiheErrorCode(json);
List<GoodsDto> esGoodsDtoList = new ArrayList<GoodsDto>();
int statusCode = json.getIntValue("statusCode");
if (statusCode == 200) {
int totalRec = json.getIntValue("totalRec");
JSONArray goodsJsonArray = json.getJSONArray("records");
esGoodsDtoList = JSONObject.parseArray(goodsJsonArray.toJSONString(), GoodsDto.class);
esGoodsDtoList.forEach(goodsDto -> {
GoodsEntity goodsEntity = new GoodsEntity();
BeanUtils.copyProperties(goodsDto, goodsEntity);
// 在初始化和商品写入的时候加入
// 更新时间和GoodsDescriptionConcatClassName的值
goodsEntity.setUpdateTime(new SimpleDateFormat("yyyy-MM-dd HH:mm:ss").format(new Date()));
goodsEntity.setAllTitle(new StringBuffer(goodsEntity.getTitle()).append(goodsEntity.getShortTitle())
.append(goodsEntity.getGoodsDescription() == null
? goodsEntity.getClassName() == null ? "" : goodsEntity.getClassName()
: new StringBuffer(goodsEntity.getGoodsDescription())
.append(goodsEntity.getClassName() == null ? "" : goodsEntity.getClassName()))
.toString());
esGoodsEntityMap.put(goodsEntity.getCode(), goodsEntity);
});
// 开始翻页查询下一页
int pageCount = (int) Math.ceil((double) totalRec / pageSize);
if (pageNum < pageCount) {
this.parseInitGoodsData(esGoodsEntityMap, pageSize, ++pageNum);
}
}
return esGoodsEntityMap;
}
@Override
public String searchByKey(SearchDto searchDto) throws Exception {
// logger.info("{}入参:{}", SEARCH_GOODS,new Gson().toJson(searchDto));//controller已经记录了查询的入参
/**
* 根据销量查询
*/
BoolQueryBuilder boolQueryBuilder = new BoolQueryBuilder();
// 混合查询
if (searchDto.getSearchContent() != null) {
// 根据"title", "shortTitle","goodsDescriptionConcatClassName"做混合查询
// boolQueryBuilder.must(QueryBuilders.multiMatchQuery(searchDto.getSearchContent(), "title", "shortTitle",
// "goodsDescriptionConcatClassName").minimumShouldMatch("1").type(Type.BEST_FIELDS).tieBreaker(0.3f));
// 根据"title", "shortTitle","goodsDescriptionConcatClassName"做混合查询并指定每个字段的权重
// Map<String, Float> map = new HashMap<String, Float>();
// map.put("shortTitle", 10.0f);
// map.put("title", 5.0f);
// map.put("goodsDescriptionConcatClassName", 1.0f);
// boolQueryBuilder.must(QueryBuilders.multiMatchQuery(searchDto.getSearchContent(), "title", "shortTitle",
// "goodsDescriptionConcatClassName").fields(map).minimumShouldMatch("1").type(Type.BEST_FIELDS).tieBreaker(0.3f));
// 根据"allTitle", "className"做混合查询并指定每个字段的权重className的权重方法3倍
Map<String, Float> map = new HashMap<String, Float>();
map.put("allTitle", 1.0f);
map.put("className", 5.0f);
map.put("nameCh", 5.0f);
map.put("nameEn", 5.0f);
boolQueryBuilder.must(QueryBuilders
.multiMatchQuery(searchDto.getSearchContent(), "allTitle", "className", "nameCh", "nameEn")
.fields(map).minimumShouldMatch("90%").type(Type.CROSS_FIELDS).tieBreaker(0.1f));
}
long ntime = System.currentTimeMillis();
// 根据当前价格有活动价的取活动价没有活动价取当前价筛选
if (searchDto.getPriceHigh() != null || searchDto.getPriceLow() != null) {
// 对于设置了最高价和最低价的查询
if (searchDto.getPriceHigh() != null && searchDto.getPriceLow() != null) {
Map<String, Object> params = new HashMap<String, Object>();
params.put("lprice", searchDto.getPriceLow());
params.put("hprice", searchDto.getPriceHigh());
params.put("ntime", ntime);
params.put("terminalCode1", searchDto.getTerminalCode());
Script script = new Script(ScriptType.INLINE, "painless",
"if(doc['beginTime'].size()>0 && doc['endTime'].size()>0 && doc['beginTime'].value.toInstant().toEpochMilli() <= params['ntime'] && doc['endTime'].value.toInstant().toEpochMilli() >= params['ntime'] && doc['activityTerminalCode'].contains(params['terminalCode1'])){doc['goodsPriceActivity'].value>=params['lprice'] && doc['goodsPriceActivity'].value<=params['hprice']} else {doc['goodsPriceNow'].value>=params['lprice'] && doc['goodsPriceNow'].value<=params['hprice']}",
params);
boolQueryBuilder.must(QueryBuilders.scriptQuery(script));
}
// 对于仅仅设置了最高价的查询
if (searchDto.getPriceHigh() != null && searchDto.getPriceLow() == null) {
Map<String, Object> params = new HashMap<String, Object>();
params.put("hprice", searchDto.getPriceHigh());
params.put("ntime", ntime);
Script script = new Script(ScriptType.INLINE, "painless",
"if(doc['beginTime'].size()>0 && doc['endTime'].size()>0 && doc['beginTime'].value.toInstant().toEpochMilli() <= params['ntime'] && doc['endTime'].value.toInstant().toEpochMilli() >= params['ntime'] && doc['activityTerminalCode'].contains(params['terminalCode1'])){doc['goodsPriceActivity'].value<=params['hprice']} else {doc['goodsPriceNow'].value<=params['hprice']}",
params);
boolQueryBuilder.must(QueryBuilders.scriptQuery(script));
}
// 对于仅设置了最低价的查询
if (searchDto.getPriceHigh() == null && searchDto.getPriceLow() != null) {
Map<String, Object> params = new HashMap<String, Object>();
params.put("lprice", searchDto.getPriceLow());
params.put("ntime", ntime);
Script script = new Script(ScriptType.INLINE, "painless",
"if(doc['beginTime'].size()>0 && doc['endTime'].size()>0 && doc['beginTime'].value.toInstant().toEpochMilli() <= params['ntime'] && doc['endTime'].value.toInstant().toEpochMilli() >= params['ntime'] && doc['activityTerminalCode'].contains(params['terminalCode1'])){doc['goodsPriceActivity'].value>=params['lprice']} else {doc['goodsPriceNow'].value>=params['lprice']}",
params);
boolQueryBuilder.must(QueryBuilders.scriptQuery(script));
}
}
// 根据积分筛选
// 设置最高积分
if (searchDto.getPointsHigh() != null) {
boolQueryBuilder.must(QueryBuilders.rangeQuery("points").lte(searchDto.getPointsHigh()));
}
// 设置最低积分
if (searchDto.getPointsLow() != null) {
boolQueryBuilder.must(QueryBuilders.rangeQuery("points").gte(searchDto.getPointsLow()));
}
// 过滤分区
boolQueryBuilder.filter(QueryBuilders.termQuery("terminalCode", searchDto.getTerminalCode()));
// 过滤单个品牌
// if (searchDto.getBrandCode() != null) {
// boolQueryBuilder.filter(QueryBuilders.termQuery("brandCode", searchDto.getBrandCode()));
// }
// 过滤多个品牌
if (searchDto.getBrandCodeList() != null) {
List<String> brandCodeList = searchDto.getBrandCodeList();
// ArrayList<String> brandCodeList = new ArrayList<String>(Arrays.asList(brandCodeArray));
boolQueryBuilder.filter(QueryBuilders.termsQuery("brandCode", brandCodeList));
}
// 过滤单个分类
// if (searchDto.getGoodsClassCode() != null) {
// boolQueryBuilder.filter(QueryBuilders.termQuery("classCode", searchDto.getGoodsClassCode()));
// }
// 过滤多个分类
if (searchDto.getGoodsClassCodeList() != null) {
List<Integer> goodsClassCodeList = searchDto.getGoodsClassCodeList();
// ArrayList<String> goodsClassCodeList = new ArrayList<String>(Arrays.asList(goodsClassCodeArray));
boolQueryBuilder.filter(QueryBuilders.termsQuery("classCode", goodsClassCodeList));
}
//
// 排序
// 根据价格排序
SearchSourceBuilder builder = new SearchSourceBuilder();
if (Integer.valueOf(searchDto.getSortType()) == 2 || Integer.valueOf(searchDto.getSortType()) == 3) {
/*
* 根据价格排序如果usePPFlag为true则根据积分排序 如果usePPFlag为false则根据是否在活动时间范围内选择活动价或者当前价排序
*/
if (searchDto.getUsePPFlag()) {
builder.sort("pointsPriceNow",
Integer.valueOf(searchDto.getSortType()) == 2 ? SortOrder.ASC : SortOrder.DESC);
} else {
Map<String, Object> params = new HashMap<String, Object>();
params.put("ntime", ntime);
params.put("terminalCode1", searchDto.getTerminalCode());
Script script2 = new Script(ScriptType.INLINE, "painless",
"doc['beginTime'].size()>0 && doc['endTime'].size()>0 && doc['beginTime'].value.toInstant().toEpochMilli() <= params['ntime'] && doc['endTime'].value.toInstant().toEpochMilli() >= params['ntime'] && doc['activityTerminalCode'].contains(params['terminalCode1'])? doc['goodsPriceActivity'].value:doc['goodsPriceNow'].value",
params);
ScriptSortBuilder scriptSortBuilder = new ScriptSortBuilder(script2, ScriptSortType.NUMBER);
builder.sort(scriptSortBuilder
.order(Integer.valueOf(searchDto.getSortType()) == 2 ? SortOrder.ASC : SortOrder.DESC));
}
}
// 根据商家时间降序
if (Integer.valueOf(searchDto.getSortType()) == 4) {
builder.sort("saleTime", SortOrder.DESC);
}
// 根据销量排序
if (Integer.valueOf(searchDto.getSortType()) == 5) {
builder.sort("monthSales", SortOrder.DESC);
}
// 根据创建时间排序---暂不处理
// 根据指定字段排序后如果指定字段的值相等继续根据相关度排序
builder.sort("_score", SortOrder.DESC);
builder.from(Integer.valueOf(searchDto.getStart()));
builder.size(Integer.valueOf(searchDto.getLimit()));
builder.query(boolQueryBuilder);
JsonPackage<List<GoodsEntity>> jsonPackage1 = esTemplate.search(ESConstants.GOODS_INDEX_NAME, builder,
GoodsEntity.class);
List<GoodsEntity> goodsEntityList = jsonPackage1.getRecords();
List<GoodsDto> goodsDtoList = new ArrayList<GoodsDto>();
goodsEntityList.forEach(goodsEntity -> {
GoodsDto goodsDto = new GoodsDto();
BeanUtils.copyProperties(goodsEntity, goodsDto);
goodsDtoList.add(goodsDto);
});
JsonPackage<List<GoodsDto>> jsonPackage2 = new JsonPackage<List<GoodsDto>>();
jsonPackage2.setCode(ResponseCode.SUCCESS_HEAD);
jsonPackage2.setMessage(ResponseCode.RESP_INFO.get(ResponseCode.SUCCESS_HEAD));
jsonPackage2.setRecords(goodsDtoList);
jsonPackage2.setTotalRec(jsonPackage1.getTotalRec());
EsSearchGoodsResponsePackage<GoodsDto> goodsSearchResponsePackage = new EsSearchGoodsResponsePackage<GoodsDto>();
goodsSearchResponsePackage.setRuwiiEsGoodsSearchResponse(jsonPackage2);
String responseJsonString = goodsSearchResponsePackage.toJSONString();
logger.info("{}查询出参:{}", ESConstants.SEARCH_GOODS, responseJsonString);
return responseJsonString;
}
@Override
public void syncGoodsMessage(EsGoodsMessageDto esGoodsMessageDto) throws Exception {
logger.info("{}入参:{}", ESConstants.SYNC_GOODS,
new GsonBuilder().disableHtmlEscaping().create().toJson(esGoodsMessageDto));
JSONObject json = null;
String goodsDataString = miheService.getGoodsData(esGoodsMessageDto);
// logger.info("{}接口元数据:{}", ESConstants.SYNC_GOODS, goodsDataString);
try {
json = JSONObject.parseObject(goodsDataString);
} catch (JSONException e) {// 如果解析有问题记录异常不做处理在下面走手动ack放弃该消息
logger.error(this, e);
}
CheckMihePlatformError.checkMiheErrorCode(json);
List<GoodsDto> esGoodsDtoList = new ArrayList<GoodsDto>();
List<GoodsEntity> esGoodsEntityList = new ArrayList<GoodsEntity>();
int statusCode = json.getIntValue("statusCode");
if (statusCode == 200) {
JSONArray goodsJsonArray = json.getJSONArray("records");
if (goodsJsonArray.size() > 0) {
esGoodsDtoList = JSONObject.parseArray(goodsJsonArray.toJSONString(), GoodsDto.class);
esGoodsDtoList.forEach(esGoodsDto -> {
GoodsEntity goodsEntity = new GoodsEntity();
BeanUtils.copyProperties(esGoodsDto, goodsEntity);
String now = new SimpleDateFormat("yyyy-MM-dd HH:mm:ss").format(new Date());
// 在初始化和商品写入的时候加入
// 更新时间和GoodsDescriptionConcatClassName的值
goodsEntity.setUpdateTime(now);
// goodsEntity.setGoodsDescriptionConcatClassName(
// goodsEntity.getGoodsDescription() == null ? goodsEntity.getClassName()
// : new StringBuffer(goodsEntity.getGoodsDescription()).append(goodsEntity.getClassName())
// .toString());
goodsEntity.setAllTitle(new StringBuffer(goodsEntity.getTitle()).append(goodsEntity.getShortTitle())
.append(goodsEntity.getGoodsDescription() == null ? goodsEntity.getClassName()
: new StringBuffer(goodsEntity.getGoodsDescription())
.append(goodsEntity.getClassName()))
.toString());
esGoodsEntityList.add(goodsEntity);
});
}
}
if (esGoodsEntityList.size() > 0) {
BulkRequest request = new BulkRequest();
esGoodsEntityList.forEach(esEntityGoods -> {
/**
* 如果es无数据则写入有则更新
*/
String esEntityGoodsString = new Gson().toJson(esEntityGoods);
IndexRequest indexRequest = new IndexRequest(ESConstants.GOODS_INDEX_NAME).id(esEntityGoods.getCode())
.source(esEntityGoodsString, XContentType.JSON);
request.add(new UpdateRequest(ESConstants.GOODS_INDEX_NAME, esEntityGoods.getCode())
.doc(esEntityGoodsString, XContentType.JSON).upsert(indexRequest));
});
BulkResponse bulkResponse = esTemplate.bulkUpdate(request);
if (bulkResponse.hasFailures()) {
logger.info("{}错误信息:{}", ESConstants.SYNC_GOODS, bulkResponse.buildFailureMessage());
} else {
logger.info("{}成功", ESConstants.SYNC_GOODS);
}
} else {
logger.info("{}无可用数据", ESConstants.SYNC_GOODS);
}
}
@Override
public void deleteGoods(EsGoodsMessageDto esGoodsMessageDto) throws Exception {
logger.info("{}入参:{}", ESConstants.DELETE_GOODS, new Gson().toJson(esGoodsMessageDto));
BulkRequest request = new BulkRequest();
if (esGoodsMessageDto.getGoodsCode() != null) {
esGoodsMessageDto.getGoodsCode().forEach(id -> {
request.add(new DeleteRequest(ESConstants.GOODS_INDEX_NAME, id));
});
BulkResponse bulkResponse = esTemplate.bulkUpdate(request);
if (bulkResponse.hasFailures()) {
logger.info("{}错误信息:{}", ESConstants.DELETE_GOODS, bulkResponse.buildFailureMessage());
} else {
logger.info("{}成功", ESConstants.DELETE_GOODS);
}
}
if (esGoodsMessageDto.getBrandCode() != null) {
QueryBuilder queryBuilder = QueryBuilders.termQuery("brandCode", esGoodsMessageDto.getBrandCode());
BulkByScrollResponse deleteByShopCodeQuery = esTemplate.deleteByQuery(ESConstants.GOODS_INDEX_NAME,
queryBuilder);
if (deleteByShopCodeQuery.getBulkFailures() != null) {
logger.info("{}错误信息:{}", ESConstants.DELETE_GOODS, deleteByShopCodeQuery.getBulkFailures());
} else {
logger.info("{}成功", ESConstants.DELETE_GOODS);
}
}
if (esGoodsMessageDto.getShopCode() != null) {
QueryBuilder queryBuilder = QueryBuilders.termQuery("shopCode", esGoodsMessageDto.getShopCode());
BulkByScrollResponse deleteByShopCodeQuery = esTemplate.deleteByQuery(ESConstants.GOODS_INDEX_NAME,
queryBuilder);
if (deleteByShopCodeQuery.getBulkFailures() != null) {
logger.info("{}错误信息:{}", ESConstants.DELETE_GOODS, deleteByShopCodeQuery.getBulkFailures());
} else {
logger.info("成功", ESConstants.DELETE_GOODS);
}
}
// BulkResponse bulkResponse = esTemplate.bulkUpdate(request);
// if (bulkResponse.hasFailures()) {
// logger.info("【根据店铺批量删除:{}】错误信息:{}", ESConstants.GOODS_INDEX_NAME, bulkResponse.buildFailureMessage());
// } else {
// logger.info("【根据店铺批量删除:{}】删除成功", ESConstants.GOODS_INDEX_NAME);
// }
}
@Override
public String updateGoodsTerminalBatch(UpdateGoodsTerminalBatchDto updateGoodsTerminalBatchDto) throws Exception {
if (updateGoodsTerminalBatchDto.getGoodsCode().size() > 0) {
UpdateByQueryRequest updateByQueryRequest = new UpdateByQueryRequest(ESConstants.GOODS_INDEX_NAME);
// 设置版本冲突时继续
updateByQueryRequest.setConflicts("proceed");
updateByQueryRequest.setQuery(new TermsQueryBuilder("code", updateGoodsTerminalBatchDto.getGoodsCode()));
// 构造Script
Map<String, Object> params = new HashMap<String, Object>();
params.put("p1", updateGoodsTerminalBatchDto.getTerminalCode());
Script script = new Script(ScriptType.INLINE, "painless",
"if (ctx._source.containsKey(\"terminalCode\")) {if (!ctx._source.terminalCode.contains(params.p1)) ctx._source.terminalCode.add(params.p1);}",
params);
updateByQueryRequest.setScript(script);
BulkByScrollResponse updateByQuetyResponse = esTemplate.updateByQuety(updateByQueryRequest);
if (updateByQuetyResponse.getBulkFailures() != null && updateByQuetyResponse.getBulkFailures().size() > 0) {
logger.info("{}错误信息:{}", ESConstants.UPDATE_GOODS_TERMINAL_BATCH,
updateByQuetyResponse.getBulkFailures());
} else {
logger.info("{}成功", ESConstants.UPDATE_GOODS_TERMINAL_BATCH);
}
} else {
logger.info("{}无可用数据", ESConstants.UPDATE_GOODS_TERMINAL_BATCH);
}
JsonPackage<String> jsonPackage = new JsonPackage<String>();
jsonPackage.setCode(ResponseCode.SUCCESS_HEAD);
jsonPackage.setMessage(ResponseCode.RESP_INFO.get(ResponseCode.SUCCESS_HEAD));
EsUpdateGoodsTerminalBatchResponsePackage<String> esUpdateGoodsTerminalBatchResponsePackage = new EsUpdateGoodsTerminalBatchResponsePackage<String>();
esUpdateGoodsTerminalBatchResponsePackage.setRuwiiEsUpdateGoodsTerminalBatchResponse(jsonPackage);
String esUpdateGoodsTerminalBatchResponseString = esUpdateGoodsTerminalBatchResponsePackage.toJSONString();
return esUpdateGoodsTerminalBatchResponseString;
}
@Override
public void addTerminalCode(int terminalCode) throws Exception {
UpdateByQueryRequest updateByQueryRequest = new UpdateByQueryRequest(ESConstants.GOODS_INDEX_NAME);
// 设置版本冲突时继续
updateByQueryRequest.setConflicts("proceed");
// 构造Script
Map<String, Object> params = new HashMap<String, Object>();
params.put("p1", terminalCode);
Script script = new Script(ScriptType.INLINE, "painless",
"if (ctx._source.containsKey(\"terminalCode\")) {if (!ctx._source.terminalCode.contains(params.p1)) ctx._source.terminalCode.add(params.p1);}",
params);
updateByQueryRequest.setScript(script);
BulkByScrollResponse updateByQuetyResponse = esTemplate.updateByQuety(updateByQueryRequest);
if (updateByQuetyResponse.getBulkFailures() != null && updateByQuetyResponse.getBulkFailures().size() > 0) {
logger.info("{}错误信息:{}", ESConstants.UPDATE_GOODS_TERMINAL_BATCH,
updateByQuetyResponse.getBulkFailures());
} else {
logger.info("{}成功", ESConstants.UPDATE_GOODS_TERMINAL_BATCH);
}
}
@Override
public void deleteTerminalCode(int terminalCode) throws Exception {
UpdateByQueryRequest updateByQueryRequest = new UpdateByQueryRequest(ESConstants.GOODS_INDEX_NAME);
// 设置版本冲突时继续
updateByQueryRequest.setConflicts("proceed");
// 构造Script
Map<String, Object> params = new HashMap<String, Object>();
params.put("p1", terminalCode);
Script script = new Script(ScriptType.INLINE, "painless",
"if (ctx._source.containsKey(\"terminalCode\")) {if (ctx._source.terminalCode.contains(params.p1)) ctx._source.terminalCode.remove(ctx._source.terminalCode.indexOf(params.p1));}",
params);
updateByQueryRequest.setScript(script);
BulkByScrollResponse updateByQuetyResponse = esTemplate.updateByQuety(updateByQueryRequest);
if (updateByQuetyResponse.getBulkFailures() != null && updateByQuetyResponse.getBulkFailures().size() > 0) {
logger.info("{}错误信息:{}", ESConstants.UPDATE_GOODS_TERMINAL_BATCH,
updateByQuetyResponse.getBulkFailures());
} else {
logger.info("{}成功", ESConstants.UPDATE_GOODS_TERMINAL_BATCH);
}
}
}

View File

@ -0,0 +1,8 @@
package com.ruwii.es.service.mihe;
import com.ruwii.es.dto.EsGoodsMessageDto;
public interface MiheService {
String getInitGoodsData(int pageSize,int PageNum) throws Exception;
String getGoodsData(EsGoodsMessageDto esGoodsMessage) throws Exception;
}

View File

@ -0,0 +1,88 @@
package com.ruwii.es.service.mihe.impl;
import java.util.HashMap;
import java.util.Map;
import org.apache.logging.log4j.LogManager;
import org.apache.logging.log4j.core.Logger;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import org.springframework.web.client.RestTemplate;
import com.google.gson.Gson;
import com.ruwii.es.constants.ESConstants;
import com.ruwii.es.dto.EsGoodsMessageDto;
import com.ruwii.es.model.HttpPoolValues;
import com.ruwii.es.service.mihe.MiheService;
import com.ruwii.es.util.HttpUtil;
import com.ruwii.es.util.LogUtil;
@Service
public class MiheServiceImpl implements MiheService {
private static final Logger logger = (Logger) LogManager.getLogger(MiheServiceImpl.class);
// private static final String INIT_GOODS_DATA = "【商品初始化数据】";
// private static final String SEARCH_GOODS = "【根据条件查询】";
@Autowired
private RestTemplate restTemplate;
@Autowired
private HttpPoolValues httpPoolValues;
@Autowired
HttpUtil httpUtil;
/**
* @Description: 获取所有符合条件的商品信息
* @Title: getInitGoodsData
* @author Lewis
* @param pageSize 每页返回多少记录
* @param PageNum 页数
* @return String
* @throws Exception
*/
@Override
public String getInitGoodsData(int pageSize, int PageNum) throws Exception {
Map<String, String> paramMap = new HashMap<String, String>();
paramMap.put("limit", String.valueOf(pageSize));
paramMap.put("start", String.valueOf(PageNum));
String goodsString = httpUtil.sendGet(
httpPoolValues.getUri() + "/mihe/mihemall/index.php/Public_service/initialize_goods", paramMap,
restTemplate);
if (goodsString.length() <= 30000) {
logger.info("{}:页数:{},每页数据量:{},数据内容:{}", ESConstants.INSERT_ALL_GOODS, PageNum+1, pageSize, goodsString);
} else {
logger.info("{}:页数:{},每页数据量:{},数据内容:", ESConstants.INSERT_ALL_GOODS, PageNum+1, pageSize);
LogUtil.read2Log(goodsString);
}
return goodsString;
}
/**
* 获取指定条件的商品信息
*/
@Override
public String getGoodsData(EsGoodsMessageDto esGoodsMessage) throws Exception {
// logger.info("{}入参:{}", ESConstants.SEARCH_GOODS,new Gson().toJson(esGoodsMessage));
Map<String, String> paramMap = new HashMap<String, String>();
if (esGoodsMessage.getBrandCode() != null) {
paramMap.put("brandCode", esGoodsMessage.getBrandCode());
} else if (esGoodsMessage.getShopCode() != null) {
paramMap.put("shopCode", esGoodsMessage.getShopCode());
} else {
paramMap.put("goodsCodes", new Gson().toJson(esGoodsMessage.getGoodsCode()));
}
String goodsString = httpUtil.sendGet(
httpPoolValues.getUri() + "/mihe/mihemall/index.php/Public_service/synchronize_goods", paramMap,
restTemplate);
if (goodsString.length() <= 30000) {
logger.info("{}数据:{}", ESConstants.SEARCH_GOODS, goodsString);
} else {
logger.info("{}数据:", ESConstants.SEARCH_GOODS);
LogUtil.read2Log(goodsString);
}
return goodsString;
}
}

View File

@ -0,0 +1,115 @@
package com.ruwii.es.service.rabbitmq;
import java.util.Map;
import org.apache.logging.log4j.LogManager;
import org.apache.logging.log4j.Logger;
import org.springframework.amqp.core.Message;
import org.springframework.amqp.rabbit.annotation.RabbitHandler;
import org.springframework.amqp.rabbit.annotation.RabbitListener;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.messaging.handler.annotation.Headers;
import org.springframework.stereotype.Component;
import com.alibaba.fastjson.JSONException;
import com.alibaba.fastjson.JSONObject;
import com.google.gson.Gson;
import com.rabbitmq.client.Channel;
import com.ruwii.es.dto.EsGoodsMessageDto;
import com.ruwii.es.model.MQConfig;
import com.ruwii.es.service.es.EsGoodsMixMessageService;
import com.ruwii.es.util.CheckGoodsMessageUtil;
import com.ruwii.es.util.RedisUtil;
@Component
public class GoodsMQConsumerService {
private static final Logger logger = LogManager.getLogger(GoodsMQConsumerService.class);
private static final String RECEIVE_MESSAGE = "【RabbitMQ接收商品更新消息】";
private static final String DEAL_MESSAGE = "【RabbitMQ处理商品更新消息】";
@Autowired
EsGoodsMixMessageService esGoodsMixMessageService;
@Autowired
RedisUtil redisUtil;
@Autowired
MQConfig MQConfig;
@RabbitHandler
@RabbitListener(queues = "#{goodsQueue.name}")
public void onGoodsmessage(Channel channel, Message message, @Headers Map<String, Object> map, String msg) {
logger.info("{},{}", RECEIVE_MESSAGE, message);
// logger.info("{},消息体内容:{}", RECEIVE_MESSAGE, ConvertUtil.ByteToObject(message.getBody()));
// logger.info("【RabbitMQ接收消息体】{}", message.getBody());
// 手动ACK
// 默认情况下如果一个消息被消费者所正确接收则会被从队列中移除
// 如果一个队列没被任何消费者订阅那么这个队列中的消息会被 Cache缓存
// 当有消费者订阅时则会立即发送当消息被消费者正确接收时就会被从队列中移除
try {
// 如果数据存在错误抛出异常到catch处理
if (map.get("error") != null) {
logger.info("{}异常消息:{}", DEAL_MESSAGE, new Gson().toJson(map));
throw new RuntimeException();
}
byte[] goodsMessageBytes = message.getBody();
String goodsMessageString = new String(goodsMessageBytes);
logger.info("{},消息体内容:{}", RECEIVE_MESSAGE, goodsMessageString);
JSONObject json = null;
// 数据json解析异常的标志如果异常直接手动ack放弃处理该消息如果没有异常则执行下面的步骤
boolean jsonErrorFlag = false;
try {
json = JSONObject.parseObject(goodsMessageString);
// 校验参数,operationType,id,timestamp为必传项
CheckGoodsMessageUtil.checkGoodsMessage(json);
} catch (JSONException e) {// 如果解析有问题记录异常不做处理在下面走手动ack放弃该消息
jsonErrorFlag = true;
logger.error(this, e);
channel.basicAck(message.getMessageProperties().getDeliveryTag(), false);
logger.info("{}消息解析失败,放弃处理:{}", DEAL_MESSAGE, new Gson().toJson(map));
}
if (!jsonErrorFlag) {
EsGoodsMessageDto esGoodsMessageDto = JSONObject.toJavaObject(json, EsGoodsMessageDto.class);
boolean existKey = redisUtil.hasKey(esGoodsMessageDto.getId());
if (!existKey) {
if (esGoodsMessageDto.getOperationType() == 1) {
esGoodsMixMessageService.syncGoodsMessage(esGoodsMessageDto);
}
if (esGoodsMessageDto.getOperationType() == 2) {
esGoodsMixMessageService.deleteGoods(esGoodsMessageDto);
}
// 在手动ack应答前将消息的uuid存入redis防止重复消费
// 设置消息的有效期为30天
redisUtil.set(esGoodsMessageDto.getId(), new Gson().toJson(esGoodsMessageDto), 30 * 24 * 60 * 60);
} else {
logger.info("{}消息已经处理过,放弃处理:{}", DEAL_MESSAGE, new Gson().toJson(map));
}
// 手动ack应答
// 告诉服务器收到这条消息 已经被我消费了 可以在队列删掉 这样以后就不会再发了
// 否则消息服务器以为这条消息没处理掉 后续还会在发true确认所有消费者获得的消息
channel.basicAck(message.getMessageProperties().getDeliveryTag(), false);
logger.info("{}消息消费成功:id:{}", DEAL_MESSAGE, message.getMessageProperties().getDeliveryTag());
}
} catch (Exception e) {
logger.error(this, e);
// 消息重回队列
try {
// 最后一个参数是是否重回队列
channel.basicNack(message.getMessageProperties().getDeliveryTag(), false, true);
logger.info("{}消息消费失败:id:{},重新放回RabbitMQ。", DEAL_MESSAGE,
message.getMessageProperties().getDeliveryTag());
// 拒绝消息
// channel.basicReject(message.getMessageProperties().getDeliveryTag(), true);
// 消息被丢失
// channel.basicReject(message.getMessageProperties().getDeliveryTag(), false);
// 消息被重新发送
// channel.basicReject(message.getMessageProperties().getDeliveryTag(), true);
// 多条消息被重新发送
// channel.basicNack(message.getMessageProperties().getDeliveryTag(), true,
// true);
} catch (Exception e1) {
logger.info("{}消息消费失败:id:{},重新放回RabbitMQ失败,消息可能已经丢失,需人工处理。", DEAL_MESSAGE,
message.getMessageProperties().getDeliveryTag());
logger.error(this, e1);
}
}
}
}

View File

@ -0,0 +1,117 @@
package com.ruwii.es.service.rabbitmq;
import java.util.Map;
import org.apache.logging.log4j.LogManager;
import org.apache.logging.log4j.Logger;
import org.springframework.amqp.core.Message;
import org.springframework.amqp.rabbit.annotation.RabbitHandler;
import org.springframework.amqp.rabbit.annotation.RabbitListener;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.messaging.handler.annotation.Headers;
import org.springframework.stereotype.Component;
import com.alibaba.fastjson.JSONException;
import com.alibaba.fastjson.JSONObject;
import com.google.gson.Gson;
import com.rabbitmq.client.Channel;
import com.ruwii.es.dto.EsGoodsMessageDto;
import com.ruwii.es.dto.EsTerminalMessageDto;
import com.ruwii.es.model.MQConfig;
import com.ruwii.es.service.es.EsGoodsMixMessageService;
import com.ruwii.es.util.CheckGoodsMessageUtil;
import com.ruwii.es.util.CheckTerminalMessageUtil;
import com.ruwii.es.util.RedisUtil;
@Component
public class TerminalMQConsumerService {
private static final Logger logger = LogManager.getLogger(TerminalMQConsumerService.class);
private static final String RECEIVE_MESSAGE = "【RabbitMQ接收专区更新消息】";
private static final String DEAL_MESSAGE = "【RabbitMQ处理专区更新消息】";
@Autowired
EsGoodsMixMessageService esGoodsMixMessageService;
@Autowired
RedisUtil redisUtil;
@Autowired
MQConfig MQConfig;
@RabbitHandler
@RabbitListener(queues = "#{terminalQueue.name}")
public void onGoodsmessage(Channel channel, Message message, @Headers Map<String, Object> map, String msg) {
logger.info("{},{}", RECEIVE_MESSAGE, message);
// logger.info("{},消息体内容:{}", RECEIVE_MESSAGE, ConvertUtil.ByteToObject(message.getBody()));
// logger.info("【RabbitMQ接收消息体】{}", message.getBody());
// 手动ACK
// 默认情况下如果一个消息被消费者所正确接收则会被从队列中移除
// 如果一个队列没被任何消费者订阅那么这个队列中的消息会被 Cache缓存
// 当有消费者订阅时则会立即发送当消息被消费者正确接收时就会被从队列中移除
try {
// 如果数据存在错误抛出异常到catch处理
if (map.get("error") != null) {
logger.info("{}异常消息:{}", DEAL_MESSAGE, new Gson().toJson(map));
throw new RuntimeException();
}
byte[] terminalMessageBytes = message.getBody();
String terminalMessageString = new String(terminalMessageBytes);
logger.info("{},消息体内容:{}", RECEIVE_MESSAGE, terminalMessageString);
JSONObject json = null;
// 数据json解析异常的标志如果异常直接手动ack放弃处理该消息如果没有异常则执行下面的步骤
boolean jsonErrorFlag = false;
try {
json = JSONObject.parseObject(terminalMessageString);
// 校验参数,operationType,id,timestamp为必传项
CheckTerminalMessageUtil.checkTerminalMessage(json);
} catch (JSONException e) {// 如果解析有问题记录异常不做处理在下面走手动ack放弃该消息
jsonErrorFlag = true;
logger.error(this, e);
channel.basicAck(message.getMessageProperties().getDeliveryTag(), false);
logger.info("{}消息解析失败,放弃处理:{}", DEAL_MESSAGE, new Gson().toJson(map));
}
if (!jsonErrorFlag) {
EsTerminalMessageDto esTerminalMessageDto = JSONObject.toJavaObject(json, EsTerminalMessageDto.class);
boolean existKey = redisUtil.hasKey(esTerminalMessageDto.getId());
if (!existKey) {
if (esTerminalMessageDto.getOperationType() == 1) {
esGoodsMixMessageService.addTerminalCode(esTerminalMessageDto.getTerminalCode());
}
if (esTerminalMessageDto.getOperationType() == 2) {
esGoodsMixMessageService.deleteTerminalCode(esTerminalMessageDto.getTerminalCode());
}
// 在手动ack应答前将消息的uuid存入redis防止重复消费
// 设置消息的有效期为30天
redisUtil.set(esTerminalMessageDto.getId(), new Gson().toJson(esTerminalMessageDto), 30 * 24 * 60 * 60);
} else {
logger.info("{}消息已经处理过,放弃处理:{}", DEAL_MESSAGE, new Gson().toJson(map));
}
// 手动ack应答
// 告诉服务器收到这条消息 已经被我消费了 可以在队列删掉 这样以后就不会再发了
// 否则消息服务器以为这条消息没处理掉 后续还会在发true确认所有消费者获得的消息
channel.basicAck(message.getMessageProperties().getDeliveryTag(), false);
logger.info("{}消息消费成功:id:{}", DEAL_MESSAGE, message.getMessageProperties().getDeliveryTag());
}
} catch (Exception e) {
logger.error(this, e);
// 消息重回队列
try {
// 最后一个参数是是否重回队列
channel.basicNack(message.getMessageProperties().getDeliveryTag(), false, true);
logger.info("{}消息消费失败:id:{},重新放回RabbitMQ。", DEAL_MESSAGE,
message.getMessageProperties().getDeliveryTag());
// 拒绝消息
// channel.basicReject(message.getMessageProperties().getDeliveryTag(), true);
// 消息被丢失
// channel.basicReject(message.getMessageProperties().getDeliveryTag(), false);
// 消息被重新发送
// channel.basicReject(message.getMessageProperties().getDeliveryTag(), true);
// 多条消息被重新发送
// channel.basicNack(message.getMessageProperties().getDeliveryTag(), true,
// true);
} catch (Exception e1) {
logger.info("{}消息消费失败:id:{},重新放回RabbitMQ失败,消息可能已经丢失,需人工处理。", DEAL_MESSAGE,
message.getMessageProperties().getDeliveryTag());
logger.error(this, e1);
}
}
}
}

View File

@ -0,0 +1,94 @@
package com.ruwii.es.service.redis;
import org.apache.logging.log4j.LogManager;
import org.apache.logging.log4j.core.Logger;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.scheduling.annotation.Scheduled;
import org.springframework.stereotype.Component;
import com.alibaba.fastjson.JSON;
import com.alibaba.fastjson.JSONObject;
import com.google.gson.Gson;
import com.ruwii.es.config.EsTemplate;
import com.ruwii.es.constants.RedisConstants;
import com.ruwii.es.dto.EsGoodsMessageDto;
import com.ruwii.es.service.es.EsGoodsMixMessageService;
import com.ruwii.es.util.CheckGoodsMessageUtil;
import com.ruwii.es.util.RedisUtil;
@Component
public class RedisConsumerService {
private static final Logger logger = (Logger) LogManager.getLogger(RedisConsumerService.class);
private static final String RECEIVE_MESSAGE = "【Redis接收消息】";
@Autowired
EsGoodsMixMessageService esGoodsMixMessageService;
@Autowired
RedisUtil redisUtil;
@Autowired
EsTemplate esTemplate;
/**
* @Description: 每秒钟检查一次redis的商品listRedisConstants.GOODS_REDIS_LIST_NAME
* 如果集合的大小大于0则取出来第一个处理处理完成后删除掉对应的数据 定时器为单线程处理
* @Title: runTimer
* @author Lewis
*/
@Scheduled(cron = "0/1 * * * * *")
public void runTimer() {
try {
long lGetListSize = redisUtil.lGetListSize(RedisConstants.GOODS_REDIS_LIST_NAME);
if (lGetListSize > 0) {
// 取出第0位的元素
JSONObject json = null;
EsGoodsMessageDto esGoodsMessageDto =null;
try {
Object lGet = redisUtil.lGetIndex(RedisConstants.GOODS_REDIS_LIST_NAME, 0);
logger.info("{}{}",RECEIVE_MESSAGE, lGet);
if (lGet == null) {
logger.info("{}消息为空",RECEIVE_MESSAGE);
throw new RuntimeException("Redis值为空");
}
json = JSONObject.parseObject(JSON.toJSONString(lGet));
CheckGoodsMessageUtil.checkGoodsMessage(json);
esGoodsMessageDto = JSONObject.toJavaObject(json, EsGoodsMessageDto.class);
} catch (Exception e) {// 如果解析有问题直接删除redis的记录
logger.info("{}消息格式有误直接从Redis删除",RECEIVE_MESSAGE);
redisUtil.lRemove(RedisConstants.GOODS_REDIS_LIST_NAME);
throw e;
}
// EsGoodsMessageDto esGoodsMessageDto = JSONObject.toJavaObject(json, EsGoodsMessageDto.class);
if (esGoodsMessageDto.getId() == null || (esGoodsMessageDto.getOperationType() !=1 && esGoodsMessageDto.getOperationType()!=2)) {
// 将处理完成的redis消息删除
redisUtil.lRemove(RedisConstants.GOODS_REDIS_LIST_NAME);
logger.info("{}缺少必要参数",RECEIVE_MESSAGE);
throw new RuntimeException("缺少必要参数");
}
boolean existKey = redisUtil.hasKey(esGoodsMessageDto.getId());
if (!existKey) {
if (esGoodsMessageDto.getOperationType() == 1) {
esGoodsMixMessageService.syncGoodsMessage(esGoodsMessageDto);
}
else if (esGoodsMessageDto.getOperationType() == 2) {
esGoodsMixMessageService.deleteGoods(esGoodsMessageDto);
} else {
redisUtil.lRemove(RedisConstants.GOODS_REDIS_LIST_NAME);
logger.info("{}不存在的operationType",RECEIVE_MESSAGE);
throw new RuntimeException("不存在的operationType");
}
// 在手动ack应答前将消息的uuid存入redis防止重复消费
// 设置消息的有效期为30天
redisUtil.set(esGoodsMessageDto.getId(), new Gson().toJson(esGoodsMessageDto), 30 * 24 * 60 * 60);
// 将处理完成的redis消息删除
redisUtil.lRemove(RedisConstants.GOODS_REDIS_LIST_NAME);
logger.info("{}处理完成从Redis的List删除并将该消息的id记入Redis完成消息的幂等处理",RECEIVE_MESSAGE);
}
}
} catch (Exception e) {
logger.error(this, e);
}
}
}

View File

@ -0,0 +1,47 @@
package com.ruwii.es.util;
import com.alibaba.fastjson.JSONArray;
import com.alibaba.fastjson.JSONException;
import com.alibaba.fastjson.JSONObject;
public class CheckGoodsMessageUtil {
public static boolean checkGoodsMessage(JSONObject json) throws Exception{
if (!json.containsKey("operationType")
|| (json.getIntValue("operationType") != 1 && json.getIntValue("operationType") != 2)) {
throw new JSONException();
}
if (!json.containsKey("id") || json.getString("id") == null) {
throw new JSONException();
}
if (!json.containsKey("timestamp") || json.getLongValue("timestamp") == 0) {
throw new JSONException();
}
if (json.containsKey("goodsCode")) {
JSONArray jsonArray = json.getJSONArray("goodsCode");
if (jsonArray.size()==0) {
throw new JSONException();
}
jsonArray.forEach(goodCode->{
if (goodCode == null) {
throw new JSONException();
}
});
}
if (json.containsKey("shopCode")) {
String shopCode = json.getString("shopCode");
if (null == shopCode) {
throw new JSONException();
}
}
if (json.containsKey("brandCode")) {
String brandCode = json.getString("brandCode");
if (null == brandCode) {
throw new JSONException();
}
}
if (!json.containsKey("goodsCode") && !json.containsKey("brandCode") && !json.containsKey("shopCode")) {
throw new JSONException();
}
return true;
}
}

View File

@ -0,0 +1,29 @@
package com.ruwii.es.util;
import com.alibaba.fastjson.JSONArray;
import com.alibaba.fastjson.JSONException;
import com.alibaba.fastjson.JSONObject;
public class CheckTerminalMessageUtil {
public static boolean checkTerminalMessage(JSONObject json) throws Exception{
if (!json.containsKey("operationType")
|| (json.getIntValue("operationType") != 1 && json.getIntValue("operationType") != 2)) {
throw new JSONException();
}
if (!json.containsKey("id") || json.getString("id") == null) {
throw new JSONException();
}
if (!json.containsKey("timestamp") || json.getLongValue("timestamp") == 0) {
throw new JSONException();
}
if (json.containsKey("terminalCode")) {
//校验terminalCode是不是数字
try {
Integer terminalCode = json.getInteger("terminalCode");
} catch (Exception e) {
throw new JSONException();
}
}
return true;
}
}

View File

@ -0,0 +1,89 @@
package com.ruwii.es.util;
import java.io.ByteArrayInputStream;
import java.io.ByteArrayOutputStream;
import java.io.ObjectInputStream;
import java.io.ObjectOutputStream;
import java.lang.reflect.Field;
import java.util.HashMap;
import java.util.Map;
import org.apache.logging.log4j.LogManager;
import org.apache.logging.log4j.core.Logger;
import org.springframework.stereotype.Component;
/**
* @Description: 转换类工具
* @ClassName: ConvertUtil
* @author Lewis
* @date 2021-3-11 15:33:15
*
*/
@Component
public class ConvertUtil {
private static final Logger logger = (Logger) LogManager.getLogger(ConvertUtil.class);
/**
* @Description:对象转Map
* @Title: object2Map
* @author Lewis
* @param obj
* @return Map<String, Object>
* @throws Exception
*/
public static Map<String, Object> object2Map(Object obj) throws Exception {
Map<String, Object> map = new HashMap<>();
if (obj == null) {
return map;
}
Class<? extends Object> clazz = obj.getClass();
Field[] fields = clazz.getDeclaredFields();
for (Field field : fields) {
field.setAccessible(true);
map.put(field.getName(), field.get(obj));
}
return map;
}
/**
* 对象转byte
* @param obj
* @return
*/
public static byte[] ObjectToByte(Object obj) {
byte[] bytes = null;
try {
// object to bytearray
ByteArrayOutputStream bo = new ByteArrayOutputStream();
ObjectOutputStream oo = new ObjectOutputStream(bo);
oo.writeObject(obj);
bytes = bo.toByteArray();
bo.close();
oo.close();
} catch (Exception e) {
logger.info(ConvertUtil.class,e);
}
return bytes;
}
/**
* byte转对象
* @param bytes
* @return
*/
public static Object ByteToObject(byte[] bytes) {
Object obj = null;
try {
// bytearray to object
ByteArrayInputStream bi = new ByteArrayInputStream(bytes);
ObjectInputStream oi = new ObjectInputStream(bi);
obj = oi.readObject();
bi.close();
oi.close();
} catch (Exception e) {
logger.info(ConvertUtil.class,e);
}
return obj;
}
}

View File

@ -0,0 +1,83 @@
package com.ruwii.es.util;
import java.util.Map;
import org.springframework.http.HttpEntity;
import org.springframework.http.HttpHeaders;
import org.springframework.http.MediaType;
import org.springframework.http.ResponseEntity;
import org.springframework.stereotype.Component;
import org.springframework.web.client.RestTemplate;
/**
* @Description: 基于RestTemplate的HttpComponentsClientHttpRequestFactory实现Http请求
* @ClassName: HttpUtil
* @author Lewis
* @date 2021-3-11 14:00:19
*
*/
@Component
public class HttpUtil {
/**
* @Description: 发送json格式的数据 @Title: generatePostJson @author Lewis @param
* jsonMap @return @throws
*/
public HttpEntity<Map<String, String>> generatePostJson(Map<String, String> jsonMap) {
// 如果需要其它的请求头信息都可以在这里追加
HttpHeaders httpHeaders = new HttpHeaders();
MediaType type = MediaType.parseMediaType("application/json;charset=UTF-8");
httpHeaders.setContentType(type);
HttpEntity<Map<String, String>> httpEntity = new HttpEntity<>(jsonMap, httpHeaders);
return httpEntity;
}
/**
* @Description: post请求请求参数为json
* @Title: sendPost
* @author Lewis
* @param uri
* @param map
* @param restTemplate
* @return
* @throws
*/
public String sendPost(String uri, Map<String, String> map, RestTemplate restTemplate) {
ResponseEntity<String> apiResponse = restTemplate.postForEntity(uri, generatePostJson(map), String.class);
return apiResponse.getBody();
}
public String generateRequestParameters(String uri, Map<String, String> params) {
StringBuilder sb = new StringBuilder(uri);
if (params.size() > 0) {
sb.append("?");
for (Map.Entry<String, String> map : params.entrySet()) {
sb.append(map.getKey()).append("=").append(map.getValue()).append("&");
}
uri = sb.substring(0, sb.length() - 1);
return uri;
}
return sb.toString();
}
/**
* @Description: get请求
* @Title: sendGet
* @author Lewis
* @param uri
* @param paramMap
* @param restTemplate
* @return
* @throws
*/
public String sendGet(String uri, Map<String, String> paramMap, RestTemplate restTemplate) throws Exception{
ResponseEntity<String> responseEntity = restTemplate.getForEntity(generateRequestParameters(uri, paramMap),
String.class);
return (String) responseEntity.getBody();
}
}

View File

@ -0,0 +1,21 @@
package com.ruwii.es.util;
import org.apache.logging.log4j.LogManager;
import org.apache.logging.log4j.core.Logger;
public class LogUtil {
private static final Logger LOGGER = (Logger) LogManager.getLogger(LogUtil.class);
public static void read2Log(String logString) {
int strLength = logString.length();
int ceil = (int) (Math.ceil(strLength/30000));
for (int i = 0; i <= ceil; i++) {
if (i<ceil) {
LOGGER.info(logString.substring(i*30000, (i+1)*30000));
} else {
LOGGER.info(logString.substring(i*30000, strLength));
}
}
}
}

View File

@ -0,0 +1,39 @@
package com.ruwii.es.util;
import java.io.BufferedReader;
import java.io.InputStream;
import java.io.InputStreamReader;
import org.springframework.core.io.ClassPathResource;
import org.springframework.core.io.Resource;
import com.ruwii.es.model.exception.BizException;
import com.ruwii.es.response.ResponseCode;
public class ReadFileUtil {
public static String testReadFile(String path) throws Exception {
InputStream is = null;
InputStreamReader isr = null;
BufferedReader br = null;
StringBuffer data = new StringBuffer("");
try {
Resource resource = new ClassPathResource(path);
is = resource.getInputStream();
isr = new InputStreamReader(is);
br = new BufferedReader(isr);
String line = null;
while ((line = br.readLine()) != null) {
data.append(line);
}
return data.toString();
} catch (Exception e) {
throw new BizException(ResponseCode.READ_FILE_ERROR,ResponseCode.RESP_INFO.get(ResponseCode.READ_FILE_ERROR));
} finally {
br.close();
isr.close();
is.close();
}
}
}

View File

@ -0,0 +1,639 @@
package com.ruwii.es.util;
import java.util.ArrayList;
import java.util.Collection;
import java.util.HashSet;
import java.util.List;
import java.util.Map;
import java.util.Set;
import java.util.concurrent.TimeUnit;
import org.apache.logging.log4j.LogManager;
import org.apache.logging.log4j.core.Logger;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.data.redis.core.Cursor;
import org.springframework.data.redis.core.RedisCallback;
import org.springframework.data.redis.core.RedisTemplate;
import org.springframework.data.redis.core.ScanOptions;
import org.springframework.stereotype.Component;
import org.springframework.util.CollectionUtils;
import com.ruwii.es.dto.EsGoodsMessageDto;
@Component
public class RedisUtil {
private static final Logger logger = (Logger) LogManager.getLogger(RedisUtil.class);
@Autowired
private RedisTemplate<String, Object> redisTemplate;
public void setRedisTemplate(RedisTemplate<String, Object> redisTemplate) {
this.redisTemplate = redisTemplate;
}
// =============================common============================
/**
* 指定缓存失效时间
*
* @param key
* @param time 时间()
* @return
*/
public boolean expire(String key, long time) {
try {
if (time > 0) {
redisTemplate.expire(key, time, TimeUnit.SECONDS);
}
return true;
} catch (Exception e) {
logger.error(this,e);
return false;
}
}
/**
* 根据key 获取过期时间
*
* @param key 不能为null
* @return 时间() 返回0代表为永久有效
*/
public long getExpire(String key) {
return redisTemplate.getExpire(key, TimeUnit.SECONDS);
}
/**
* 判断key是否存在
*
* @param key
* @return true 存在 false不存在
*/
public boolean hasKey(String key) {
try {
return redisTemplate.hasKey(key);
} catch (Exception e) {
logger.error(this,e);
return false;
}
}
/**
* 删除缓存
*
* @param key 可以传一个值 或多个
*/
@SuppressWarnings("unchecked")
public void del(String... key) {
if (key != null && key.length > 0) {
if (key.length == 1) {
redisTemplate.delete(key[0]);
} else {
redisTemplate.delete((Collection<String>) CollectionUtils.arrayToList(key));
}
}
}
// ============================String=============================
/**
* 普通缓存获取
*
* @param key
* @return
*/
public Object get(String key) {
return key == null ? null : redisTemplate.opsForValue().get(key);
}
/**
* 普通缓存放入
*
* @param key
* @param value
* @return true成功 false失败
*/
public boolean set(String key, Object value) {
try {
redisTemplate.opsForValue().set(key, value);
return true;
} catch (Exception e) {
logger.error(this,e);
return false;
}
}
/**
* 普通缓存放入并设置时间
*
* @param key
* @param value
* @param time 时间() time要大于0 如果time小于等于0 将设置无限期
* @return true成功 false 失败
*/
public boolean set(String key, Object value, long time) {
try {
if (time > 0) {
redisTemplate.opsForValue().set(key, value, time, TimeUnit.SECONDS);
} else {
set(key, value);
}
return true;
} catch (Exception e) {
logger.error(this,e);
return false;
}
}
/**
* 递增
*
* @param key
* @param by 要增加几(大于0)
* @return
*/
public long incr(String key, long delta) {
if (delta < 0) {
throw new RuntimeException("递增因子必须大于0");
}
return redisTemplate.opsForValue().increment(key, delta);
}
/**
* 递减
*
* @param key
* @param by 要减少几(小于0)
* @return
*/
public long decr(String key, long delta) {
if (delta < 0) {
throw new RuntimeException("递减因子必须大于0");
}
return redisTemplate.opsForValue().increment(key, -delta);
}
// ================================Map=================================
/**
* HashGet
*
* @param key 不能为null
* @param item 不能为null
* @return
*/
public Object hget(String key, String item) {
return redisTemplate.opsForHash().get(key, item);
}
/**
* 获取hashKey对应的所有键值
*
* @param key
* @return 对应的多个键值
*/
public Map<Object, Object> hmget(String key) {
return redisTemplate.opsForHash().entries(key);
}
/**
* HashSet
*
* @param key
* @param map 对应多个键值
* @return true 成功 false 失败
*/
public boolean hmset(String key, Map<String, Object> map) {
try {
redisTemplate.opsForHash().putAll(key, map);
return true;
} catch (Exception e) {
logger.error(this,e);
return false;
}
}
/**
* HashSet 并设置时间
*
* @param key
* @param map 对应多个键值
* @param time 时间()
* @return true成功 false失败
*/
public boolean hmset(String key, Map<String, Object> map, long time) {
try {
redisTemplate.opsForHash().putAll(key, map);
if (time > 0) {
expire(key, time);
}
return true;
} catch (Exception e) {
logger.error(this,e);
return false;
}
}
/**
* 向一张hash表中放入数据,如果不存在将创建
*
* @param key
* @param item
* @param value
* @return true 成功 false失败
*/
public boolean hset(String key, String item, Object value) {
try {
redisTemplate.opsForHash().put(key, item, value);
return true;
} catch (Exception e) {
logger.error(this,e);
return false;
}
}
/**
* 向一张hash表中放入数据,如果不存在将创建
*
* @param key
* @param item
* @param value
* @param time 时间() 注意:如果已存在的hash表有时间,这里将会替换原有的时间
* @return true 成功 false失败
*/
public boolean hset(String key, String item, Object value, long time) {
try {
redisTemplate.opsForHash().put(key, item, value);
if (time > 0) {
expire(key, time);
}
return true;
} catch (Exception e) {
logger.error(this,e);
return false;
}
}
/**
* 删除hash表中的值
*
* @param key 不能为null
* @param item 可以使多个 不能为null
*/
public void hdel(String key, Object... item) {
redisTemplate.opsForHash().delete(key, item);
}
/**
* 判断hash表中是否有该项的值
*
* @param key 不能为null
* @param item 不能为null
* @return true 存在 false不存在
*/
public boolean hHasKey(String key, String item) {
return redisTemplate.opsForHash().hasKey(key, item);
}
/**
* hash递增 如果不存在,就会创建一个 并把新增后的值返回
*
* @param key
* @param item
* @param by 要增加几(大于0)
* @return
*/
public double hincr(String key, String item, double by) {
return redisTemplate.opsForHash().increment(key, item, by);
}
/**
* hash递减
*
* @param key
* @param item
* @param by 要减少记(小于0)
* @return
*/
public double hdecr(String key, String item, double by) {
return redisTemplate.opsForHash().increment(key, item, -by);
}
// ============================set=============================
/**
* 根据key获取Set中的所有值
*
* @param key
* @return
*/
public Set<Object> sGet(String key) {
try {
return redisTemplate.opsForSet().members(key);
} catch (Exception e) {
logger.error(this,e);
return null;
}
}
/**
* 根据value从一个set中查询,是否存在
*
* @param key
* @param value
* @return true 存在 false不存在
*/
public boolean sHasKey(String key, Object value) {
try {
return redisTemplate.opsForSet().isMember(key, value);
} catch (Exception e) {
logger.error(this,e);
return false;
}
}
/**
* 将数据放入set缓存
*
* @param key
* @param values 可以是多个
* @return 成功个数
*/
public long sSet(String key, Object... values) {
try {
return redisTemplate.opsForSet().add(key, values);
} catch (Exception e) {
logger.error(this,e);
return 0;
}
}
/**
* 将set数据放入缓存
*
* @param key
* @param time 时间()
* @param values 可以是多个
* @return 成功个数
*/
public long sSetAndTime(String key, long time, Object... values) {
try {
Long count = redisTemplate.opsForSet().add(key, values);
if (time > 0)
expire(key, time);
return count;
} catch (Exception e) {
logger.error(this,e);
return 0;
}
}
/**
* 获取set缓存的长度
*
* @param key
* @return
*/
public long sGetSetSize(String key) {
try {
return redisTemplate.opsForSet().size(key);
} catch (Exception e) {
logger.error(this,e);
return 0;
}
}
/**
* 移除值为value的
*
* @param key
* @param values 可以是多个
* @return 移除的个数
*/
public long setRemove(String key, Object... values) {
try {
Long count = redisTemplate.opsForSet().remove(key, values);
return count;
} catch (Exception e) {
logger.error(this,e);
return 0;
}
}
// ===============================list=================================
/**
* 获取list缓存的内容
*
* @param key
* @param start 开始
* @param end 结束 0 -1代表所有值
* @return
*/
public List<Object> lGet(String key, long start, long end) {
try {
return redisTemplate.opsForList().range(key, start, end);
} catch (Exception e) {
logger.error(this,e);
return null;
}
}
/**
* 获取list缓存的长度
*
* @param key
* @return
*/
public long lGetListSize(String key) {
try {
return redisTemplate.opsForList().size(key);
} catch (Exception e) {
logger.error(this,e);
return 0;
}
}
/**
* 通过索引 获取list中的值
*
* @param key
* @param index 索引 index>=0时 0 表头1 第二个元素依次类推index<0时-1表尾-2倒数第二个元素依次类推
* @return
*/
public Object lGetIndex(String key, long index) {
try {
return redisTemplate.opsForList().index(key, index);
} catch (Exception e) {
logger.error(this,e);
return null;
}
}
/**
* 将list放入缓存
*
* @param key
* @param value
* @param time 时间()
* @return
*/
public boolean lSet(String key, Object value) {
try {
redisTemplate.opsForList().rightPush(key, value);
return true;
} catch (Exception e) {
logger.error(this,e);
return false;
}
}
/**
* 将list放入缓存
*
* @param key
* @param value
* @param time 时间()
* @return
*/
public boolean lSet(String key, Object value, long time) {
try {
redisTemplate.opsForList().rightPush(key, value);
if (time > 0)
expire(key, time);
return true;
} catch (Exception e) {
logger.error(this,e);
return false;
}
}
/**
* 将list放入缓存
*
* @param key
* @param value
* @param time 时间()
* @return
*/
public boolean lSet(String key, List<Object> value) {
try {
redisTemplate.opsForList().rightPushAll(key, value);
return true;
} catch (Exception e) {
logger.error(this,e);
return false;
}
}
/**
* 将list放入缓存
*
* @param key
* @param value
* @param time 时间()
* @return
*/
public boolean lSet(String key, List<Object> value, long time) {
try {
redisTemplate.opsForList().rightPushAll(key, value);
if (time > 0)
expire(key, time);
return true;
} catch (Exception e) {
logger.error(this,e);
return false;
}
}
/**
* 根据索引修改list中的某条数据
*
* @param key
* @param index 索引
* @param value
* @return
*/
public boolean lUpdateIndex(String key, long index, Object value) {
try {
redisTemplate.opsForList().set(key, index, value);
return true;
} catch (Exception e) {
logger.error(this,e);
return false;
}
}
/**
* 移除N个值为value
*
* @param key
* @param count 移除多少个
* @param value
* @return 移除的个数
*/
public long lRemove(String key, long count, Object value) {
try {
Long remove = redisTemplate.opsForList().remove(key, count, value);
return remove;
} catch (Exception e) {
logger.error(this,e);
return 0;
}
}
/**
* 移除N个值为value
*
* @param key
* @param count 移除多少个
* @param value
* @return 移除的个数
*/
public Object lRemove(String key) {
try {
Object leftPop = redisTemplate.opsForList().leftPop(key);
return leftPop;
} catch (Exception e) {
logger.error(this,e);
return null;
}
}
/**
* @Description: 根据指定的命名空间(redis文件夹)获取里面所有的key
* @Title: getKeysByNameSpace
* @author Lewis
* @param name
* @return Set<String>
*/
public Set<String> getKeysByNameSpace(String name) {
Set<String> keys = new HashSet<String>();
keys = redisTemplate.execute((RedisCallback<Set<String>>) connection -> {
Set<String> keysTmp = new HashSet<>();
try {
Cursor<byte[]> cursor = connection.scan(new ScanOptions.ScanOptionsBuilder()
.match(name.indexOf(":") > -1 ? name + "*" : name + ":*").count(Integer.MAX_VALUE).build());
while (cursor.hasNext()) {
keysTmp.add(new String(cursor.next()));
}
// 关闭cursor
cursor.close();
return keysTmp;
} catch (Exception e) {
logger.error(this,e);
}
return keysTmp;
});
return keys;
}
@SuppressWarnings({ "unchecked", "rawtypes" })
public List<EsGoodsMessageDto> getAllContact(Set<String> keys) {
List<EsGoodsMessageDto> multiGet = new ArrayList<EsGoodsMessageDto>();
try {
multiGet = (List) redisTemplate.opsForValue().multiGet(keys);
return multiGet;
} catch (Exception e) {
logger.error(this,e);
}
return multiGet;
}
}

View File

@ -0,0 +1,9 @@
package com.ruwii.es.util;
import java.util.UUID;
public class UUIDUtil {
public static String getIdByUUId() {
return UUID.randomUUID().toString().replace("-", "");
}
}

View File

@ -0,0 +1,82 @@
{"properties": [
{
"name": "http_pool",
"type": "java.lang.String",
"description": "A description for 'http_pool'"
},
{
"name": "elasticsearch.ip",
"type": "java.lang.String",
"description": "A description for 'elasticsearch.ip'"
},
{
"name": "elasticsearch.port",
"type": "java.lang.Integer",
"description": "A description for 'elasticsearch.port'"
},
{
"name": "elasticsearch.goods.mq.name",
"type": "java.lang.String",
"description": "A description for 'goods.mq.name'"
},
{
"name": "goods.mq.name",
"type": "java.lang.String",
"description": "A description for 'goods.mq.name'"
},
{
"name": "httpPool.maxTotal",
"type": "java.lang.String",
"description": "A description for 'httpPool.maxTotal'"
},
{
"name": "httpPool.defaultMaxPerroute",
"type": "java.lang.String",
"description": "A description for 'httpPool.defaultMaxPerroute'"
},
{
"name": "httpPool.validateAfterInactivity",
"type": "java.lang.String",
"description": "A description for 'httpPool.validateAfterInactivity'"
},
{
"name": "httpPool.maxTotal",
"type": "java.lang.String",
"description": "A description for 'httpPool.maxTotal'"
},
{
"name": "httpPool.maxTotal",
"type": "java.lang.String",
"description": "A description for 'httpPool.maxTotal'"
},
{
"name": "httpPool.maxTotal",
"type": "java.lang.String",
"description": "A description for 'httpPool.maxTotal'"
},
{
"name": "httpPool.maxTotal",
"type": "java.lang.String",
"description": "A description for 'httpPool.maxTotal'"
},
{
"name": "httpPool.maxTotal",
"type": "java.lang.String",
"description": "A description for 'httpPool.maxTotal'"
},
{
"name": "mihe.uri",
"type": "java.lang.String",
"description": "A description for 'mihe.uri'"
},
{
"name": "goods.mq.name",
"type": "java.lang.String",
"description": "A description for 'goods.mq.name'"
},
{
"name": "httpPool.max_total",
"type": "java.lang.String",
"description": "A description for 'httpPool.max_total'"
}
]}

View File

@ -0,0 +1,94 @@
{
"properties": {
"beginTime": {
"type": "date",
"format": "yyyy-MM-dd HH:mm:ss"
},
"endTime": {
"type": "date",
"format": "yyyy-MM-dd HH:mm:ss"
},
"brandCode": {
"type": "keyword"
},
"classCode": {
"type": "integer"
},
"className": {
"type": "text",
"fields": {
"keyword": {
"type": "keyword",
"ignore_above": 256
}
},
"analyzer": "ik_max_word"
},
"code": {
"type": "keyword"
},
"goodsDescription": {
"type": "keyword"
},
"allTitle": {
"type": "text",
"fields": {
"keyword": {
"type": "keyword",
"ignore_above": 256
}
},
"analyzer": "ik_max_word"
},
"label": {
"type": "keyword"
},
"monthSales": {
"type": "integer"
},
"nameCh": {
"type": "keyword"
},
"nameEn": {
"type": "keyword"
},
"goodsPriceNow": {
"type": "double"
},
"goodsPriceActivity": {
"type": "double"
},
"seq": {
"type": "integer"
},
"shopCode": {
"type": "keyword"
},
"shortTitle": {
"type": "keyword"
},
"terminalCode": {
"type": "integer"
},
"activityTerminalCode": {
"type": "integer"
},
"title": {
"type": "keyword"
},
"saleTime": {
"type": "date",
"format": "yyyy-MM-dd HH:mm:ss"
},
"updateTime": {
"type": "date",
"format": "yyyy-MM-dd HH:mm:ss"
},
"points": {
"type": "integer"
},
"pointsPriceNow": {
"type": "double"
}
}
}

Binary file not shown.

After

Width:  |  Height:  |  Size: 17 KiB

View File

@ -0,0 +1,33 @@
package com.ruwii.es.service;
import java.io.IOException;
import org.apache.http.HttpHost;
import org.elasticsearch.action.search.SearchRequest;
import org.elasticsearch.action.search.SearchResponse;
import org.elasticsearch.client.RequestOptions;
import org.elasticsearch.client.RestClient;
import org.elasticsearch.client.RestHighLevelClient;
import org.elasticsearch.client.core.CountRequest;
import org.elasticsearch.client.core.CountResponse;
import org.elasticsearch.client.eql.EqlSearchResponse.Count;
import org.elasticsearch.index.query.QueryBuilder;
import org.elasticsearch.search.builder.SearchSourceBuilder;
import org.junit.jupiter.api.Test;
public class Demo1 {
@Test
public void test() throws IOException {
String index = "2021-12-31";
RestHighLevelClient restClient = new RestHighLevelClient(RestClient.builder(new HttpHost("192.168.1.180",9200, "http")));
CountRequest request = new CountRequest();
// request.
request.indices(index);
long t1 = System.currentTimeMillis();
CountResponse search = restClient.count(request, RequestOptions.DEFAULT);
System.out.println(search.getCount());
System.out.println((System.currentTimeMillis()-t1) + "(ms)");
}
}

View File

@ -0,0 +1,41 @@
package com.ruwii.es.service;
import java.nio.charset.StandardCharsets;
import java.nio.file.Files;
import java.nio.file.Paths;
import java.nio.file.StandardOpenOption;
import java.util.List;
import org.junit.jupiter.api.Test;
public class FileDemo {
@Test
public void fileDemo(String[] args) throws Exception{
List<String> lines = Files.readAllLines(Paths.get("mydict.dic"), StandardCharsets.UTF_8);
// StringBuilder sb = new StringBuilder();
for(String line : lines){
if ((line.indexOf("2017")>-1) || (line.indexOf("2018")>-1)) {
continue;
}
if (isEnglish(line)) {
System.out.println(line);
if(line.length()==1) {
continue;
}
Files.write(Paths.get("mydict1.dic"), line.getBytes(),StandardOpenOption.CREATE,StandardOpenOption.APPEND);
Files.write(Paths.get("mydict1.dic"), "\n".getBytes(),StandardOpenOption.CREATE,StandardOpenOption.APPEND);
} else {
String[] split = line.trim().split(" ");
for (int i = 0; i < split.length; i++) {
Files.write(Paths.get("mydict1.dic"), split[i].getBytes(),StandardOpenOption.CREATE,StandardOpenOption.APPEND);
Files.write(Paths.get("mydict1.dic"), "\n".getBytes(),StandardOpenOption.CREATE,StandardOpenOption.APPEND);
}
}
}
}
public boolean isEnglish(String charaString) {
return charaString.matches("^[a-zA-Z]*");
}
}

View File

@ -0,0 +1,33 @@
package com.ruwii.es.service;
import java.nio.charset.StandardCharsets;
import java.nio.file.Files;
import java.nio.file.Paths;
import java.nio.file.StandardOpenOption;
import java.util.HashMap;
import java.util.List;
import java.util.Map;
import org.junit.jupiter.api.Test;
public class FileDemo2 {
@Test
public void fileDemo(String[] args) throws Exception {
List<String> lines = Files.readAllLines(Paths.get("mydict1.dic"), StandardCharsets.UTF_8);
Map<String, Integer> map = new HashMap<String, Integer>(460000);
for (String line : lines) {
map.put(line, 0);
}
map.forEach((k, v) -> {
try {
System.out.println(k);
Files.write(Paths.get("mydict2.dic"), k.getBytes(), StandardOpenOption.CREATE,
StandardOpenOption.APPEND);
Files.write(Paths.get("mydict2.dic"), "\n".getBytes(), StandardOpenOption.CREATE,
StandardOpenOption.APPEND);
} catch (Exception e) {
e.printStackTrace();
}
});
}
}

View File

@ -0,0 +1,20 @@
package com.ruwii.es.service;
import java.nio.charset.StandardCharsets;
import java.nio.file.Files;
import java.nio.file.Paths;
import java.util.List;
import org.junit.jupiter.api.Test;
public class FileDemo3 {
@Test
public void fileDemo(String[] args) throws Exception {
List<String> lines = Files.readAllLines(Paths.get("mydict2.dic"), StandardCharsets.UTF_8);
for (String line : lines) {
if (line.length()==1) {
System.out.println(line);
}
}
}
}

View File

@ -0,0 +1,21 @@
package com.ruwii.es.service;
import org.junit.jupiter.api.Test;
import com.alibaba.fastjson.JSONObject;
import com.ruwii.es.util.CheckGoodsMessageUtil;
public class MessageTest {
@Test
public void messageTest1() {
JSONObject json = null;
String goodsMessageString = "{\"operationType\":1,\"goodsCode\":[\"G2021043016152420735\"],\"timestamp\":1620697495,\"id\":\"351c33d168dd145ffa53f38cbf417811\"}";
try {
json = JSONObject.parseObject(goodsMessageString);
// 校验参数,operationType,id,timestamp为必传项
CheckGoodsMessageUtil.checkGoodsMessage(json);
} catch (Exception e) {// 如果解析有问题记录异常不做处理在下面走手动ack放弃该消息
e.printStackTrace();
}
}
}

Some files were not shown because too many files have changed in this diff Show More