一、引入依赖 <!-- websocket推流--> <dependency> <groupId>org.springframework.boot</groupId> <artifactId>spring-boot-starter-websocket</artifactId> </dependenc ...
分类:
编程语言 时间:
2021-01-25 11:21:53
阅读次数:
0
Linux日志 1、常见日志 /var/log/message 系统启动后的信息和错误日志,是Red Hat Linux中最常用的日志之一 /var/log/secure 与安全相关的日志信息 /var/log/maillog 与邮件相关的日志信息 /var/log/cron 与定时任务相关的日志信 ...
分类:
系统相关 时间:
2021-01-25 10:54:55
阅读次数:
0
linux 中的 tail 命令 tail 命令可用于查看文件的内容,有一个常用的参数 -f 常用于查阅正在改变的日志文件。 tail -f filename 会把 filename 文件里的最尾部的内容显示在屏幕上,并且不断刷新,只要 filename 更新就可以看到最新的文件内容。 命令格式: ...
分类:
系统相关 时间:
2021-01-22 12:31:31
阅读次数:
0
@ComponentScan(excludeFilters = @ComponentScan.Filter(type = FilterType.ANNOTATION, classes = {Controller.class, RestController.class})) 前言 springboot ...
分类:
其他好文 时间:
2021-01-22 12:28:51
阅读次数:
0
当作到博客的点击排行功能的时候,心不甘情不愿的使用起了redis,但是redis存进来的key在我的redisDesktopManage中是这样的 我写进去的是一个字符串,这里则是一串Hex.当然,我并不是这样不行,只是这样太不直观了。 经过排查得知,如果你的redis相关jar包导入的是这个话,就 ...
分类:
编程语言 时间:
2021-01-22 12:11:24
阅读次数:
0
SpringBoot之SpringBoot整合JdbcTemplate 添加Maven依赖 <dependency> <groupId>org.springframework.boot</groupId> <artifactId>spring-boot-starter-jdbc</artifactI ...
分类:
数据库 时间:
2021-01-22 12:01:44
阅读次数:
0
1:pom中设置下载源为阿里云 <repositories> <repository> <id>aliyun</id> <name>aliyun</name> <url>https://maven.aliyun.com/repository/public</url> </repository> </ ...
分类:
编程语言 时间:
2021-01-22 12:00:04
阅读次数:
0
es集群写性能压测几个影响点1、插入方式:es支持单条和批量bulk,bulk在测试工具中用的比较多,需要注意bulk的size,以及bulk client的数量比如esrally中以http_logs的日志类型为例 2、doc的数据类型mapping中包含的数据类型、单条doc的长度比如esral ...
分类:
其他好文 时间:
2021-01-21 10:49:17
阅读次数:
0
转自:https://www.pianshen.com/article/58601308015/ springboot配置MVC的官网信息:https://docs.spring.io/spring-boot/docs/2.2.1.RELEASE/reference/htmlsingle/#boot ...
分类:
编程语言 时间:
2021-01-19 12:26:09
阅读次数:
0
【SpringBoot DB 系列】Mybatis 基于 AbstractRoutingDataSource 与 AOP 实现多数据源切换 前面一篇博文介绍了 Mybatis 多数据源的配置,简单来讲就是一个数据源一个配置指定,不同数据源的 Mapper 分开指定;本文将介绍另外一种方式,借助Abs ...
分类:
数据库 时间:
2021-01-18 11:41:42
阅读次数:
0