会员
众包
新闻
博问
闪存
赞助商
HarmonyOS
Chat2DB
所有博客
当前博客
我的博客
我的园子
账号设置
会员中心
简洁模式
...
退出登录
注册
登录
炫舞风中
博客园
首页
新随笔
联系
订阅
管理
上一页
1
···
4
5
6
7
8
9
10
11
12
···
21
下一页
2020年2月26日
kafka吞吐量测试
摘要: 除了基本的console-producer和console-consumer脚本可以用于简单测试消息的发送和接收外,kafka还提供了性能吞吐量测试脚本,它们分别是kafka-producer-perf-test.sh和kafka-consumer-perf-test.sh脚本。 一、生产者吞吐量
阅读全文
posted @ 2020-02-26 21:44 炫舞风中
阅读(1698)
评论(1)
推荐(0)
2020年1月19日
redis实现分布式锁
摘要: 1、maven <dependency> <groupId>org.springframework.boot</groupId> <artifactId>spring-boot-starter-data-redis</artifactId> <version>2.2.2.RELEASE</versi
阅读全文
posted @ 2020-01-19 17:51 炫舞风中
阅读(158)
评论(0)
推荐(0)
2020年1月13日
idea将springboot项目部署到docker
摘要: 一、idea安装docker插件 1、安装 2、配置 备注:要使docker可以通过2375端口访问,需要配置docker vim /lib/systemd/system/docker.service 修改如下 3、配置容器 Dockerfile文件(此处为了方便,将Dockerfile文件放到根目
阅读全文
posted @ 2020-01-13 10:30 炫舞风中
阅读(843)
评论(0)
推荐(0)
2020年1月9日
spring-boot多数据源动态切换
摘要: 当项目中存在多数据源时,就涉及到数据源的动态切换,通过研究,特此记录一下。 1、maven依赖 <!--数据库连接--> <dependency> <groupId>com.oracle</groupId> <artifactId>ojdbc6</artifactId> <version>11.2.
阅读全文
posted @ 2020-01-09 17:23 炫舞风中
阅读(418)
评论(0)
推荐(0)
2020年1月8日
Redis相关面试
该文被密码保护。
阅读全文
posted @ 2020-01-08 16:04 炫舞风中
阅读(2)
评论(0)
推荐(0)
解决spring-cloud-gateway请求跨域的问题
摘要: @Configuration public class CorsConfig implements GlobalFilter, Ordered { private static final String ALL = "*"; private static final String MAX_AGE =
阅读全文
posted @ 2020-01-08 15:23 炫舞风中
阅读(2031)
评论(0)
推荐(0)
2020年1月7日
mybatis的association以及collection的用法
摘要: 转载:https://www.jianshu.com/p/018c0f083501
阅读全文
posted @ 2020-01-07 17:03 炫舞风中
阅读(163)
评论(0)
推荐(0)
SpringBoot 整合 oauth2实现 token 认证
摘要: 参考地址:https://www.jianshu.com/p/19059060036b session和token的区别: session是空间换时间,而token是时间换空间。session占用空间,但是可以管理过期时间,token管理部了过期时间,但是不占用空间. sessionId失效问题和t
阅读全文
posted @ 2020-01-07 14:32 炫舞风中
阅读(6019)
评论(1)
推荐(2)
es监控的相关配置
摘要: 转载:https://www.jianshu.com/p/0c64f3c49dd6 为监控配置索引 索引模板用于配置存储从建群收集的监视数据的索引。 你可以通过_template API检索模板: curl -X GET "localhost:9200/_template/.monitoring-*
阅读全文
posted @ 2020-01-07 10:27 炫舞风中
阅读(778)
评论(0)
推荐(0)
springboot整合spring-Security实现验证码登录
摘要: 参考地址:https://www.jianshu.com/p/9d08c767b33e 在springboot整合spring-security实现简单的登录注销 的基础上进行开发。 1、添加生成验证码的控制器。 (1)、生成验证码 1 /** 2 * 引入 Security 配置属性类 3 */
阅读全文
posted @ 2020-01-07 09:39 炫舞风中
阅读(991)
评论(0)
推荐(0)
上一页
1
···
4
5
6
7
8
9
10
11
12
···
21
下一页
公告