![](https://img-blog.csdnimg.cn/20201014180756926.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
架构师之路
文章平均质量分 70
DeanKano
如果你把周围的人看成天使,你就生活在天堂;
如果你把周围的人看成魔鬼,你就生活在地狱;
展开
-
springboot整合kafka实现logback收集日志
springboot中实现logback收集日志输出到kafka异常容错机制,如果kafka服务宕机,输出到本地文件,可用其他方式重新加载local中的数据记录; 效率比对下:也可以尝试直接用kafka客户端写入到kafka中,手动针对异常做容错(如,写入文件) - 1.pom依赖 - 2.logback.xml配置 - 3.自定义KafkaAppender - 4.测试代码...原创 2018-06-25 19:38:53 · 524860 阅读 · 2 评论 -
springboot整合actuator-2
springboot整合actuator-2一 配置项# 默认只公开了/health和/info端点,星号暴露所有端点management.endpoints.web.exposure.include="*"# 显式启用/shutdown端点management.endpoint.shutdown.enabled=true# 要公开所有(已启用)网络端点除env端点之外management.endpoints.web.exposure.exclude=env # 设置管理服务的上下文原创 2021-04-20 20:21:21 · 1679 阅读 · 0 评论 -
springboot整合actuator-1
springboot整合actuator-1书库链接: http://know.mobile.himygirl.cn/topic/spring/springboot-actuator/springboot-actuator1.html一 简介在Spring Boot的众多模块中,actuator(spring-boot-starter-actuator) 不同于其他模块,它完全是一个用于暴露自身信息的模块,主要作用是用于监控与管理对于实施微服务的中小团队来说,可以有效地减少监控系统在采集应用指标原创 2021-04-20 20:09:30 · 2668 阅读 · 0 评论 -
springboot vue 前后端分离 混编APP个人项目
项目地址:c端 http://c.himygirl.cn 扫码APP下载: m端: http://m.himygirl.cn 源码地址:https://gitee.com/venfu/modules https://gitee.com/venfu/mygirl-c-web https://gitee.com/venfu/mygirl-b-web...原创 2018-01-05 23:37:53 · 518974 阅读 · 3 评论 -
java多线程实现游戏组队demo
突发奇想的想写一个游戏组队的多线程实例:个人观点,如有问题,请帮忙指出纠正… 实现需求: 6人,10s 开局,overgame;游戏线程/** * 游戏线程 * @author vencano * @date 2018年3月17日 */public static class GamePlayingThread extends Thread {...原创 2018-03-17 17:00:57 · 4008 阅读 · 0 评论 -
简单设计实践spring框架(手写spring)
目录1应用spring的流程2梳理设计思路3coding spring实战核心流程:Step1 配置依赖(仅仅依赖servlet-api包)Step2 定义一个核心控制器Step3 自定义一些类spring的注解Step4 配置容器启动时的初始化Step5 执行请求,请求分发Step6 启动Step7验证功能4源码?just do it 动...原创 2020-01-10 14:36:29 · 513846 阅读 · 0 评论 -
玩玩你不知道的mybatis分页方式
公众号文章链接:https://mp.weixin.qq.com/s/b2LDMMxcDIpRdKuLtUW3zg目录公众号文章链接:1自定义一个分页对象2分页对象在mapper文件的映射3分页方法4映射PageResultMap#getPageData5执行日志公众号搜索:DeanKano企鹅群号: 5619324051自定义一个分页对象...原创 2020-01-10 10:54:39 · 516975 阅读 · 0 评论