摘要: 通过自定义spring aspect配合着注解的方式实现记录系统操作日志,代码侵入性低 1.定义module注解,代表模块 2.定义operation注解,代表操作 3.定义spring切面,并设置切点为operation注解,获取关键信息并记录日志 4.用法 类定义上面添加module注解,表明所 阅读全文
posted @ 2018-10-29 14:08 zhya_hopeful 阅读(2067) 评论(0) 推荐(0) 编辑
摘要: spring和kafka结合使用 官方文档 https://docs.spring.io/spring-boot/docs/current/reference/html/boot-features-messaging.html#boot-features-amqp 全量配置 https://docs 阅读全文
posted @ 2018-10-29 13:47 zhya_hopeful 阅读(238) 评论(0) 推荐(0) 编辑