master
parent
c24a0ffe71
commit
1c522b552a
File diff suppressed because one or more lines are too long
|
@ -10,6 +10,7 @@ import lombok.NoArgsConstructor;
|
||||||
* @Project:cloud-mart
|
* @Project:cloud-mart
|
||||||
* @name:BirthdayHelper
|
* @name:BirthdayHelper
|
||||||
* @Date:2024/8/24 19:37
|
* @Date:2024/8/24 19:37
|
||||||
|
* 生辰助手
|
||||||
*/
|
*/
|
||||||
@Data
|
@Data
|
||||||
@AllArgsConstructor
|
@AllArgsConstructor
|
||||||
|
|
|
@ -12,6 +12,7 @@ import java.util.Date;
|
||||||
* @Project:cloud-mart
|
* @Project:cloud-mart
|
||||||
* @name:Connector
|
* @name:Connector
|
||||||
* @Date:2024/8/26 10:03
|
* @Date:2024/8/26 10:03
|
||||||
|
* 接口管理表
|
||||||
*/
|
*/
|
||||||
@Data
|
@Data
|
||||||
public class Connector {
|
public class Connector {
|
||||||
|
|
|
@ -8,6 +8,7 @@ import lombok.Data;
|
||||||
* @Project:cloud-port
|
* @Project:cloud-port
|
||||||
* @name:IpPlace
|
* @name:IpPlace
|
||||||
* @Date:2024/8/27 22:15
|
* @Date:2024/8/27 22:15
|
||||||
|
* IP查询归属地
|
||||||
*/
|
*/
|
||||||
@Data
|
@Data
|
||||||
public class IpPlace {
|
public class IpPlace {
|
||||||
|
|
|
@ -8,6 +8,7 @@ import lombok.Data;
|
||||||
* @Project:cloud-port
|
* @Project:cloud-port
|
||||||
* @name:News
|
* @name:News
|
||||||
* @Date:2024/8/29 15:38
|
* @Date:2024/8/29 15:38
|
||||||
|
* 新闻头条
|
||||||
*/
|
*/
|
||||||
@Data
|
@Data
|
||||||
public class News {
|
public class News {
|
||||||
|
|
|
@ -10,6 +10,7 @@ import lombok.NoArgsConstructor;
|
||||||
* @Project:cloud-mart
|
* @Project:cloud-mart
|
||||||
* @name:Postcode
|
* @name:Postcode
|
||||||
* @Date:2024/8/25 11:04
|
* @Date:2024/8/25 11:04
|
||||||
|
* 邮编查询
|
||||||
*/
|
*/
|
||||||
@Data
|
@Data
|
||||||
@AllArgsConstructor
|
@AllArgsConstructor
|
||||||
|
|
|
@ -0,0 +1,12 @@
|
||||||
|
package com.muyu.domain;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @Author:chaiyapeng
|
||||||
|
* @Package:com.muyu.domain
|
||||||
|
* @Project:cloud-port
|
||||||
|
* @name:Weather
|
||||||
|
* @Date:2024/8/29 20:02
|
||||||
|
* 气象预警
|
||||||
|
*/
|
||||||
|
public class Weather {
|
||||||
|
}
|
|
@ -1,56 +0,0 @@
|
||||||
package com.muyu.cloud.mart.utils;
|
|
||||||
|
|
||||||
import java.io.BufferedReader;
|
|
||||||
import java.io.IOException;
|
|
||||||
import java.io.InputStreamReader;
|
|
||||||
import java.net.URL;
|
|
||||||
import java.net.URLEncoder;
|
|
||||||
import java.nio.charset.StandardCharsets;
|
|
||||||
import java.util.HashMap;
|
|
||||||
import java.util.Map;
|
|
||||||
import java.util.stream.Collectors;
|
|
||||||
|
|
||||||
/**
|
|
||||||
* @Author:chaiyapeng
|
|
||||||
* @Package:com.muyu.cloud.mart.utils
|
|
||||||
* @Project:cloud-mart
|
|
||||||
* @name:Weather
|
|
||||||
* @Date:2024/8/24 18:51
|
|
||||||
* 气象预警
|
|
||||||
*/
|
|
||||||
public class Weather {
|
|
||||||
public static StringBuffer queryWeather() {
|
|
||||||
String apiKey = "80e78ee9adaded8b1f42ec9cbdf69ac9";
|
|
||||||
String apiUrl = "https://apis.juhe.cn/fapig/alarm/citys";
|
|
||||||
|
|
||||||
HashMap<String, String> map = new HashMap<>();
|
|
||||||
map.put("key", apiKey);
|
|
||||||
try {
|
|
||||||
URL url = new URL(String.format(apiUrl + "?" + params(map)));
|
|
||||||
BufferedReader in = new BufferedReader(new InputStreamReader((url.openConnection()).getInputStream()));
|
|
||||||
String inputLine;
|
|
||||||
StringBuffer response = new StringBuffer();
|
|
||||||
while ((inputLine = in.readLine()) != null) {
|
|
||||||
response.append(inputLine);
|
|
||||||
}
|
|
||||||
in.close();
|
|
||||||
System.out.println(response);
|
|
||||||
return response;
|
|
||||||
} catch (Exception e) {
|
|
||||||
throw new RuntimeException(e);
|
|
||||||
}
|
|
||||||
|
|
||||||
}
|
|
||||||
public static String params(Map<String, String> map) {
|
|
||||||
return map.entrySet().stream()
|
|
||||||
.map(entry -> {
|
|
||||||
try {
|
|
||||||
return entry.getKey() + "=" + URLEncoder.encode(entry.getValue(), StandardCharsets.UTF_8.toString());
|
|
||||||
} catch (Exception e) {
|
|
||||||
e.printStackTrace();
|
|
||||||
return entry.getKey() + "=" + entry.getValue();
|
|
||||||
}
|
|
||||||
})
|
|
||||||
.collect(Collectors.joining("&"));
|
|
||||||
}
|
|
||||||
}
|
|
|
@ -0,0 +1,142 @@
|
||||||
|
package com.muyu.cloud.mart.utils;
|
||||||
|
|
||||||
|
import java.io.*;
|
||||||
|
import java.net.HttpURLConnection;
|
||||||
|
import java.net.URL;
|
||||||
|
import java.net.URLEncoder;
|
||||||
|
import java.nio.charset.StandardCharsets;
|
||||||
|
import java.util.HashMap;
|
||||||
|
import java.util.Map;
|
||||||
|
import java.util.stream.Collectors;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @Author:chaiyapeng
|
||||||
|
* @Package:com.muyu.cloud.mart.utils
|
||||||
|
* @Project:cloud-mart
|
||||||
|
* @name:Weather
|
||||||
|
* @Date:2024/8/24 18:51
|
||||||
|
* 气象预警
|
||||||
|
*/
|
||||||
|
public class WeatherInquire {
|
||||||
|
|
||||||
|
public static String API_URL = "https://apis.juhe.cn/fapig/alarm/citys";
|
||||||
|
// 接口请求Key
|
||||||
|
public static String API_KEY = "80e78ee9adaded8b1f42ec9cbdf69ac9";
|
||||||
|
public static StringBuffer queryWeather() {
|
||||||
|
// String apiKey = "80e78ee9adaded8b1f42ec9cbdf69ac9";
|
||||||
|
// String apiUrl = "https://apis.juhe.cn/fapig/alarm/citys";
|
||||||
|
|
||||||
|
HashMap<String, String> map = new HashMap<>();
|
||||||
|
map.put("key", API_KEY);
|
||||||
|
try {
|
||||||
|
// URL url = new URL(String.format(apiUrl + "?" + params(map)));
|
||||||
|
// BufferedReader in = new BufferedReader(new InputStreamReader((url.openConnection()).getInputStream()));
|
||||||
|
// String inputLine;
|
||||||
|
// StringBuffer response = new StringBuffer();
|
||||||
|
// while ((inputLine = in.readLine()) != null) {
|
||||||
|
// response.append(inputLine);
|
||||||
|
// }
|
||||||
|
// in.close();
|
||||||
|
// System.out.println(response);
|
||||||
|
return null;
|
||||||
|
} catch (Exception e) {
|
||||||
|
throw new RuntimeException(e);
|
||||||
|
}
|
||||||
|
|
||||||
|
}
|
||||||
|
public static String params(Map<String, String> map) {
|
||||||
|
return map.entrySet().stream()
|
||||||
|
.map(entry -> {
|
||||||
|
try {
|
||||||
|
return entry.getKey() + "=" + URLEncoder.encode(entry.getValue(), StandardCharsets.UTF_8.toString());
|
||||||
|
} catch (Exception e) {
|
||||||
|
e.printStackTrace();
|
||||||
|
return entry.getKey() + "=" + entry.getValue();
|
||||||
|
}
|
||||||
|
})
|
||||||
|
.collect(Collectors.joining("&"));
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* get方式的http请求
|
||||||
|
*
|
||||||
|
* @param httpUrl 请求地址
|
||||||
|
* @return 返回结果
|
||||||
|
*/
|
||||||
|
public static String doGet(String httpUrl, String queryParams) {
|
||||||
|
HttpURLConnection connection = null;
|
||||||
|
InputStream inputStream = null;
|
||||||
|
BufferedReader bufferedReader = null;
|
||||||
|
String result = null;// 返回结果字符串
|
||||||
|
try {
|
||||||
|
// 创建远程url连接对象
|
||||||
|
URL url = new URL(new StringBuffer(httpUrl).append("?").append(queryParams).toString());
|
||||||
|
// 通过远程url连接对象打开一个连接,强转成httpURLConnection类
|
||||||
|
connection = (HttpURLConnection) url.openConnection();
|
||||||
|
// 设置连接方式:get
|
||||||
|
connection.setRequestMethod("GET");
|
||||||
|
// 设置连接主机服务器的超时时间:15000毫秒
|
||||||
|
connection.setConnectTimeout(5000);
|
||||||
|
// 设置读取远程返回的数据时间:60000毫秒
|
||||||
|
connection.setReadTimeout(6000);
|
||||||
|
// 发送请求
|
||||||
|
connection.connect();
|
||||||
|
// 通过connection连接,获取输入流
|
||||||
|
if (connection.getResponseCode() == 200) {
|
||||||
|
inputStream = connection.getInputStream();
|
||||||
|
// 封装输入流,并指定字符集
|
||||||
|
bufferedReader = new BufferedReader(new InputStreamReader(inputStream, StandardCharsets.UTF_8));
|
||||||
|
// 存放数据
|
||||||
|
StringBuilder sbf = new StringBuilder();
|
||||||
|
String temp;
|
||||||
|
while ((temp = bufferedReader.readLine()) != null) {
|
||||||
|
sbf.append(temp);
|
||||||
|
sbf.append(System.getProperty("line.separator"));
|
||||||
|
}
|
||||||
|
result = sbf.toString();
|
||||||
|
}
|
||||||
|
} catch (IOException e) {
|
||||||
|
e.printStackTrace();
|
||||||
|
} finally {
|
||||||
|
// 关闭资源
|
||||||
|
if (null != bufferedReader) {
|
||||||
|
try {
|
||||||
|
bufferedReader.close();
|
||||||
|
} catch (IOException e) {
|
||||||
|
e.printStackTrace();
|
||||||
|
}
|
||||||
|
}
|
||||||
|
if (null != inputStream) {
|
||||||
|
try {
|
||||||
|
inputStream.close();
|
||||||
|
} catch (IOException e) {
|
||||||
|
e.printStackTrace();
|
||||||
|
}
|
||||||
|
}
|
||||||
|
if (connection != null) {
|
||||||
|
connection.disconnect();// 关闭远程连接
|
||||||
|
}
|
||||||
|
}
|
||||||
|
return result;
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 将map型转为请求参数型
|
||||||
|
*
|
||||||
|
* @param data
|
||||||
|
* @return
|
||||||
|
*/
|
||||||
|
public static String urlencode(Map<String, ?> data) {
|
||||||
|
StringBuilder sb = new StringBuilder();
|
||||||
|
for (Map.Entry<String, ?> i : data.entrySet()) {
|
||||||
|
try {
|
||||||
|
sb.append(i.getKey()).append("=").append(URLEncoder.encode(i.getValue() + "", "UTF-8")).append("&");
|
||||||
|
} catch (UnsupportedEncodingException e) {
|
||||||
|
e.printStackTrace();
|
||||||
|
}
|
||||||
|
}
|
||||||
|
String result = sb.toString();
|
||||||
|
result = result.substring(0, result.lastIndexOf("&"));
|
||||||
|
return result;
|
||||||
|
}
|
||||||
|
}
|
|
@ -6817,3 +6817,86 @@ java.net.SocketException: Connection reset
|
||||||
19:38:13.607 [main] INFO c.a.n.c.c.i.CacheData - [addListener,236] - [fixed-cloud-2112-47.116.184.54_8848] [add-listener] ok, tenant=cloud-2112, dataId=cloud-port.yml, group=DEFAULT_GROUP, cnt=1
|
19:38:13.607 [main] INFO c.a.n.c.c.i.CacheData - [addListener,236] - [fixed-cloud-2112-47.116.184.54_8848] [add-listener] ok, tenant=cloud-2112, dataId=cloud-port.yml, group=DEFAULT_GROUP, cnt=1
|
||||||
19:38:13.607 [main] INFO c.a.c.n.r.NacosContextRefresher - [registerNacosListener,131] - [Nacos Config] Listening config: dataId=cloud-port.yml, group=DEFAULT_GROUP
|
19:38:13.607 [main] INFO c.a.c.n.r.NacosContextRefresher - [registerNacosListener,131] - [Nacos Config] Listening config: dataId=cloud-port.yml, group=DEFAULT_GROUP
|
||||||
19:38:13.867 [RMI TCP Connection(5)-172.16.0.3] INFO o.a.c.c.C.[.[.[/] - [log,173] - Initializing Spring DispatcherServlet 'dispatcherServlet'
|
19:38:13.867 [RMI TCP Connection(5)-172.16.0.3] INFO o.a.c.c.C.[.[.[/] - [log,173] - Initializing Spring DispatcherServlet 'dispatcherServlet'
|
||||||
|
19:45:25.913 [Thread-12] INFO c.x.j.c.s.EmbedServer - [run,91] - >>>>>>>>>>> xxl-job remoting server stop.
|
||||||
|
19:45:25.981 [xxl-job, executor ExecutorRegistryThread] INFO c.x.j.c.t.ExecutorRegistryThread - [run,87] - >>>>>>>>>>> xxl-job registry-remove success, registryParam:RegistryParam{registryGroup='EXECUTOR', registryKey='cloud-port', registryValue='http://172.16.0.3:10000/'}, registryResult:ReturnT [code=200, msg=null, content=null]
|
||||||
|
19:45:25.981 [xxl-job, executor ExecutorRegistryThread] INFO c.x.j.c.t.ExecutorRegistryThread - [run,105] - >>>>>>>>>>> xxl-job, executor registry thread destroy.
|
||||||
|
19:45:25.982 [SpringApplicationShutdownHook] INFO c.x.j.c.s.EmbedServer - [stop,117] - >>>>>>>>>>> xxl-job remoting server destroy success.
|
||||||
|
19:45:25.982 [xxl-job, executor JobLogFileCleanThread] INFO c.x.j.c.t.JobLogFileCleanThread - [run,99] - >>>>>>>>>>> xxl-job, executor JobLogFileCleanThread thread destroy.
|
||||||
|
19:45:25.982 [xxl-job, executor TriggerCallbackThread] INFO c.x.j.c.t.TriggerCallbackThread - [run,98] - >>>>>>>>>>> xxl-job, executor callback thread destroy.
|
||||||
|
19:45:25.982 [Thread-11] INFO c.x.j.c.t.TriggerCallbackThread - [run,128] - >>>>>>>>>>> xxl-job, executor retry callback thread destroy.
|
||||||
|
19:45:25.985 [SpringApplicationShutdownHook] INFO c.a.c.n.r.NacosServiceRegistry - [deregister,95] - De-registering from Nacos Server now...
|
||||||
|
19:45:25.985 [SpringApplicationShutdownHook] INFO c.a.n.client.naming - [deregisterService,272] - [DEREGISTER-SERVICE] cloud-2112 deregistering service cloud-port with instance: Instance{instanceId='null', ip='192.168.174.1', port=10006, weight=1.0, healthy=true, enabled=true, ephemeral=true, clusterName='DEFAULT', serviceName='null', metadata={}}
|
||||||
|
19:45:26.037 [SpringApplicationShutdownHook] INFO c.a.c.n.r.NacosServiceRegistry - [deregister,115] - De-registration finished.
|
||||||
|
19:45:26.038 [SpringApplicationShutdownHook] INFO c.a.n.client.naming - [shutdown,254] - com.alibaba.nacos.client.naming.cache.ServiceInfoHolder do shutdown begin
|
||||||
|
19:45:26.038 [SpringApplicationShutdownHook] INFO c.a.n.client.naming - [shutdown,180] - com.alibaba.nacos.client.naming.backups.FailoverReactor do shutdown begin
|
||||||
|
19:45:26.038 [SpringApplicationShutdownHook] INFO c.a.n.client.naming - [shutdown,182] - com.alibaba.nacos.client.naming.backups.FailoverReactor do shutdown stop
|
||||||
|
19:45:26.038 [SpringApplicationShutdownHook] INFO c.a.n.client.naming - [shutdown,256] - com.alibaba.nacos.client.naming.cache.ServiceInfoHolder do shutdown stop
|
||||||
|
19:45:26.038 [SpringApplicationShutdownHook] INFO c.a.n.client.naming - [shutdown,204] - com.alibaba.nacos.client.naming.remote.NamingClientProxyDelegate do shutdown begin
|
||||||
|
19:45:26.038 [SpringApplicationShutdownHook] INFO c.a.n.client.naming - [shutdown,147] - com.alibaba.nacos.client.naming.core.ServiceInfoUpdateService do shutdown begin
|
||||||
|
19:45:26.038 [SpringApplicationShutdownHook] INFO c.a.n.client.naming - [shutdown,149] - com.alibaba.nacos.client.naming.core.ServiceInfoUpdateService do shutdown stop
|
||||||
|
19:45:26.038 [SpringApplicationShutdownHook] INFO c.a.n.client.naming - [shutdown,218] - com.alibaba.nacos.client.naming.core.ServerListManager do shutdown begin
|
||||||
|
19:45:26.038 [SpringApplicationShutdownHook] INFO c.a.n.client.naming - [shutdown,223] - com.alibaba.nacos.client.naming.core.ServerListManager do shutdown stop
|
||||||
|
19:45:26.039 [SpringApplicationShutdownHook] INFO c.a.n.client.naming - [shutdown,468] - com.alibaba.nacos.client.naming.remote.http.NamingHttpClientProxy do shutdown begin
|
||||||
|
19:45:26.039 [SpringApplicationShutdownHook] INFO c.a.n.client.naming - [shutdown,470] - com.alibaba.nacos.client.naming.remote.http.NamingHttpClientProxy do shutdown stop
|
||||||
|
19:45:26.039 [SpringApplicationShutdownHook] INFO c.a.n.client.naming - [shutdown,487] - Shutdown naming grpc client proxy for uuid->10cffab4-6fe1-4f31-ae10-727e631cf25a
|
||||||
|
19:45:26.039 [SpringApplicationShutdownHook] INFO c.a.n.client.naming - [shutdown,331] - Shutdown grpc redo service executor java.util.concurrent.ScheduledThreadPoolExecutor@3599152a[Running, pool size = 1, active threads = 0, queued tasks = 1, completed tasks = 144]
|
||||||
|
19:45:26.039 [SpringApplicationShutdownHook] INFO c.a.n.c.r.client - [shutdown,425] - Shutdown rpc client, set status to shutdown
|
||||||
|
19:45:26.039 [SpringApplicationShutdownHook] INFO c.a.n.c.r.client - [shutdown,427] - Shutdown client event executor java.util.concurrent.ScheduledThreadPoolExecutor@57a57f0c[Running, pool size = 2, active threads = 2, queued tasks = 0, completed tasks = 0]
|
||||||
|
19:45:26.039 [SpringApplicationShutdownHook] INFO c.a.n.c.r.client - [closeConnection,584] - Close current connection 1724931492710_139.224.212.27_63406
|
||||||
|
19:45:26.041 [SpringApplicationShutdownHook] INFO c.a.n.c.r.c.g.GrpcClient - [shutdown,187] - Shutdown grpc executor java.util.concurrent.ThreadPoolExecutor@1ab2a631[Running, pool size = 3, active threads = 0, queued tasks = 0, completed tasks = 90]
|
||||||
|
19:45:26.041 [SpringApplicationShutdownHook] INFO c.a.n.client.naming - [shutDownAndRemove,497] - shutdown and remove naming rpc client for uuid ->10cffab4-6fe1-4f31-ae10-727e631cf25a
|
||||||
|
19:45:26.042 [SpringApplicationShutdownHook] INFO c.a.n.c.a.r.i.CredentialWatcher - [stop,107] - [null] CredentialWatcher is stopped
|
||||||
|
19:45:26.042 [SpringApplicationShutdownHook] INFO c.a.n.c.a.r.i.CredentialService - [free,91] - [null] CredentialService is freed
|
||||||
|
19:45:26.042 [SpringApplicationShutdownHook] INFO c.a.n.client.naming - [shutdown,211] - com.alibaba.nacos.client.naming.remote.NamingClientProxyDelegate do shutdown stop
|
||||||
|
19:45:26.048 [SpringApplicationShutdownHook] INFO c.b.d.d.DynamicRoutingDataSource - [destroy,215] - dynamic-datasource start closing ....
|
||||||
|
19:45:26.050 [SpringApplicationShutdownHook] INFO c.a.d.p.DruidDataSource - [close,2204] - {dataSource-1} closing ...
|
||||||
|
19:45:26.057 [SpringApplicationShutdownHook] INFO c.a.d.p.DruidDataSource - [close,2277] - {dataSource-1} closed
|
||||||
|
19:45:26.057 [SpringApplicationShutdownHook] INFO c.b.d.d.d.DefaultDataSourceDestroyer - [destroy,98] - dynamic-datasource close the datasource named [master] success,
|
||||||
|
19:45:26.057 [SpringApplicationShutdownHook] INFO c.b.d.d.DynamicRoutingDataSource - [destroy,219] - dynamic-datasource all closed success,bye
|
||||||
|
19:45:35.678 [main] INFO c.m.c.m.MarketApplication - [logStartupProfileInfo,660] - The following 1 profile is active: "dev"
|
||||||
|
19:45:37.284 [main] INFO o.a.c.c.StandardService - [log,173] - Starting service [Tomcat]
|
||||||
|
19:45:37.284 [main] INFO o.a.c.c.StandardEngine - [log,173] - Starting Servlet engine: [Apache Tomcat/10.1.24]
|
||||||
|
19:45:37.368 [main] INFO o.a.c.c.C.[.[.[/] - [log,173] - Initializing Spring embedded WebApplicationContext
|
||||||
|
19:45:40.108 [main] INFO c.a.d.p.DruidDataSource - [init,1002] - {dataSource-1,master} inited
|
||||||
|
19:45:40.109 [main] INFO c.b.d.d.DynamicRoutingDataSource - [addDataSource,158] - dynamic-datasource - add a datasource named [master] success
|
||||||
|
19:45:40.109 [main] INFO c.b.d.d.DynamicRoutingDataSource - [afterPropertiesSet,241] - dynamic-datasource initial loaded [1] datasource,primary datasource named [master]
|
||||||
|
19:45:40.145 [main] INFO c.m.c.d.MyMetaObjectHandler - [<init>,17] - 元对象字段填充控制器 ------- 加载完成
|
||||||
|
19:45:40.842 [main] INFO c.a.c.s.SentinelWebMvcConfigurer - [addInterceptors,52] - [Sentinel Starter] register SentinelWebInterceptor with urlPatterns: [/**].
|
||||||
|
19:45:46.823 [main] INFO c.m.c.x.XXLJobConfig - [xxlJobExecutor,25] - >>>>>>>>>>> xxl-job config init success.
|
||||||
|
19:45:49.393 [main] INFO c.x.j.c.e.XxlJobExecutor - [registJobHandler,183] - >>>>>>>>>>> xxl-job register jobhandler success, name:xxl-job-demo-no-param, jobHandler:com.xxl.job.core.handler.impl.MethodJobHandler@2f3181d9[class com.muyu.common.xxl.demo.XxlJobDemoService#xxlJobDemoNoParam]
|
||||||
|
19:45:49.393 [main] INFO c.x.j.c.e.XxlJobExecutor - [registJobHandler,183] - >>>>>>>>>>> xxl-job register jobhandler success, name:xxl-job-demo-one-param, jobHandler:com.xxl.job.core.handler.impl.MethodJobHandler@1d93bd2a[class com.muyu.common.xxl.demo.XxlJobDemoService#xxlJobDemoOneParam]
|
||||||
|
19:45:49.427 [main] INFO c.x.j.c.util.NetUtil - [isPortUsed,56] - >>>>>>>>>>> xxl-job, port[9999] is in use.
|
||||||
|
19:45:49.862 [Thread-12] INFO c.x.j.c.s.EmbedServer - [run,82] - >>>>>>>>>>> xxl-job remoting server start success, nettype = class com.xxl.job.core.server.EmbedServer, port = 10000
|
||||||
|
19:45:50.800 [main] INFO c.a.n.client.naming - [initNamespaceForNaming,62] - initializer namespace from ans.namespace attribute : null
|
||||||
|
19:45:50.801 [main] INFO c.a.n.client.naming - [lambda$initNamespaceForNaming$0,66] - initializer namespace from ALIBABA_ALIWARE_NAMESPACE attribute :null
|
||||||
|
19:45:50.801 [main] INFO c.a.n.client.naming - [lambda$initNamespaceForNaming$1,73] - initializer namespace from namespace attribute :null
|
||||||
|
19:45:50.804 [main] INFO c.a.n.client.naming - [<init>,74] - FailoverDataSource type is class com.alibaba.nacos.client.naming.backups.datasource.DiskFailoverDataSource
|
||||||
|
19:45:50.806 [main] INFO c.a.n.p.a.s.c.ClientAuthPluginManager - [init,56] - [ClientAuthPluginManager] Load ClientAuthService com.alibaba.nacos.client.auth.impl.NacosClientAuthServiceImpl success.
|
||||||
|
19:45:50.806 [main] INFO c.a.n.p.a.s.c.ClientAuthPluginManager - [init,56] - [ClientAuthPluginManager] Load ClientAuthService com.alibaba.nacos.client.auth.ram.RamClientAuthServiceImpl success.
|
||||||
|
19:45:50.984 [main] INFO c.a.n.c.r.client - [lambda$createClient$0,118] - [RpcClientFactory] create a new rpc client of f98b75e0-437b-474d-8cad-6189793c079a
|
||||||
|
19:45:50.986 [main] INFO c.a.n.client.naming - [<init>,109] - Create naming rpc client for uuid->f98b75e0-437b-474d-8cad-6189793c079a
|
||||||
|
19:45:50.986 [main] INFO c.a.n.c.r.client - [printIfInfoEnabled,63] - [f98b75e0-437b-474d-8cad-6189793c079a] RpcClient init, ServerListFactory = com.alibaba.nacos.client.naming.core.ServerListManager
|
||||||
|
19:45:50.986 [main] INFO c.a.n.c.r.client - [printIfInfoEnabled,63] - [f98b75e0-437b-474d-8cad-6189793c079a] Registry connection listener to current client:com.alibaba.nacos.client.naming.remote.gprc.redo.NamingGrpcRedoService
|
||||||
|
19:45:50.987 [main] INFO c.a.n.c.r.client - [printIfInfoEnabled,63] - [f98b75e0-437b-474d-8cad-6189793c079a] Register server push request handler:com.alibaba.nacos.client.naming.remote.gprc.NamingPushRequestHandler
|
||||||
|
19:45:50.987 [main] INFO c.a.n.c.r.client - [printIfInfoEnabled,63] - [f98b75e0-437b-474d-8cad-6189793c079a] Try to connect to server on start up, server: {serverIp = '47.116.184.54', server main port = 8848}
|
||||||
|
19:45:50.988 [main] INFO c.a.n.c.r.c.g.GrpcClient - [createNewManagedChannel,210] - grpc client connection server:47.116.184.54 ip,serverPort:9848,grpcTslConfig:{"sslProvider":"","enableTls":false,"mutualAuthEnable":false,"trustAll":false}
|
||||||
|
19:45:51.217 [main] INFO c.a.n.c.r.client - [printIfInfoEnabled,63] - [f98b75e0-437b-474d-8cad-6189793c079a] Success to connect to server [47.116.184.54:8848] on start up, connectionId = 1724931951555_139.224.212.27_63679
|
||||||
|
19:45:51.218 [main] INFO c.a.n.c.r.client - [printIfInfoEnabled,63] - [f98b75e0-437b-474d-8cad-6189793c079a] Register server push request handler:com.alibaba.nacos.common.remote.client.RpcClient$ConnectResetRequestHandler
|
||||||
|
19:45:51.218 [main] INFO c.a.n.c.r.client - [printIfInfoEnabled,63] - [f98b75e0-437b-474d-8cad-6189793c079a] Register server push request handler:com.alibaba.nacos.common.remote.client.RpcClient$$Lambda$631/0x000001a986524ac0
|
||||||
|
19:45:51.218 [com.alibaba.nacos.client.remote.worker.1] INFO c.a.n.c.r.client - [printIfInfoEnabled,63] - [f98b75e0-437b-474d-8cad-6189793c079a] Notify connected event to listeners.
|
||||||
|
19:45:51.218 [com.alibaba.nacos.client.remote.worker.1] INFO c.a.n.client.naming - [onConnected,90] - Grpc connection connect
|
||||||
|
19:45:51.219 [main] INFO c.a.n.client.naming - [registerService,133] - [REGISTER-SERVICE] cloud-2112 registering service cloud-port with instance Instance{instanceId='null', ip='192.168.174.1', port=10006, weight=1.0, healthy=true, enabled=true, ephemeral=true, clusterName='DEFAULT', serviceName='null', metadata={IPv6=[2409:891f:9086:aac9:51e2:1641:8b3f:41c3], preserved.register.source=SPRING_CLOUD}}
|
||||||
|
19:45:51.267 [main] INFO c.a.c.n.r.NacosServiceRegistry - [register,76] - nacos registry, DEFAULT_GROUP cloud-port 192.168.174.1:10006 register finished
|
||||||
|
19:45:52.569 [main] INFO c.m.c.m.MarketApplication - [logStarted,56] - Started MarketApplication in 21.359 seconds (process running for 22.123)
|
||||||
|
19:45:52.575 [main] INFO c.a.n.c.c.i.CacheData - [initNotifyWarnTimeout,72] - config listener notify warn timeout millis use default 60000 millis
|
||||||
|
19:45:52.576 [main] INFO c.a.n.c.c.i.CacheData - [<clinit>,99] - nacos.cache.data.init.snapshot = true
|
||||||
|
19:45:52.577 [main] INFO c.a.n.c.c.i.ClientWorker - [addCacheDataIfAbsent,416] - [fixed-cloud-2112-47.116.184.54_8848] [subscribe] cloud-port+DEFAULT_GROUP+cloud-2112
|
||||||
|
19:45:52.585 [main] INFO c.a.n.c.c.i.CacheData - [addListener,236] - [fixed-cloud-2112-47.116.184.54_8848] [add-listener] ok, tenant=cloud-2112, dataId=cloud-port, group=DEFAULT_GROUP, cnt=1
|
||||||
|
19:45:52.586 [main] INFO c.a.c.n.r.NacosContextRefresher - [registerNacosListener,131] - [Nacos Config] Listening config: dataId=cloud-port, group=DEFAULT_GROUP
|
||||||
|
19:45:52.587 [main] INFO c.a.n.c.c.i.ClientWorker - [addCacheDataIfAbsent,416] - [fixed-cloud-2112-47.116.184.54_8848] [subscribe] cloud-port-dev.yml+DEFAULT_GROUP+cloud-2112
|
||||||
|
19:45:52.588 [main] INFO c.a.n.c.c.i.CacheData - [addListener,236] - [fixed-cloud-2112-47.116.184.54_8848] [add-listener] ok, tenant=cloud-2112, dataId=cloud-port-dev.yml, group=DEFAULT_GROUP, cnt=1
|
||||||
|
19:45:52.588 [main] INFO c.a.c.n.r.NacosContextRefresher - [registerNacosListener,131] - [Nacos Config] Listening config: dataId=cloud-port-dev.yml, group=DEFAULT_GROUP
|
||||||
|
19:45:52.588 [main] INFO c.a.n.c.c.i.ClientWorker - [addCacheDataIfAbsent,416] - [fixed-cloud-2112-47.116.184.54_8848] [subscribe] cloud-port.yml+DEFAULT_GROUP+cloud-2112
|
||||||
|
19:45:52.588 [main] INFO c.a.n.c.c.i.CacheData - [addListener,236] - [fixed-cloud-2112-47.116.184.54_8848] [add-listener] ok, tenant=cloud-2112, dataId=cloud-port.yml, group=DEFAULT_GROUP, cnt=1
|
||||||
|
19:45:52.588 [main] INFO c.a.c.n.r.NacosContextRefresher - [registerNacosListener,131] - [Nacos Config] Listening config: dataId=cloud-port.yml, group=DEFAULT_GROUP
|
||||||
|
19:45:52.918 [RMI TCP Connection(2)-172.16.0.3] INFO o.a.c.c.C.[.[.[/] - [log,173] - Initializing Spring DispatcherServlet 'dispatcherServlet'
|
||||||
|
|
Loading…
Reference in New Issue