![](https://img-blog.csdnimg.cn/20201014180756926.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
定时任务
厦门权志龙
记录学习
展开
-
Quartz 业务添加、删除、修改定时任务,订单到期失效场景
将quartz交给spring管理,在activemq队列中添加定时任务,设置任务销毁时间 添加任务后在指定时间后执行一次,自动销毁任务 Maven依赖 <!-- https://mvnrepository.com/artifact/org.quartz-scheduler/quartz --> <dependency> &l...原创 2019-04-11 23:52:37 · 1441 阅读 · 0 评论 -
Quartz 重复定时任务 配置文件方式 定时更新商品浏览量场景
Maven <!-- https://mvnrepository.com/artifact/org.quartz-scheduler/quartz --> <dependency> <groupId>org.quartz-scheduler</groupId> <artifac...原创 2019-04-12 00:08:21 · 187 阅读 · 0 评论 -
使用Logstash将Mysql数据增量同步到ElasticSearch搜索引擎
下载logstash:https://www.elastic.co/cn/downloads/logstash/ 解压到目录/usr/local下 安装插件 bin/logstash-plugin install logstash-input-jdbc bin/logstash-plugin install logstash-output-elasticsearch 出现错误,Java ...原创 2019-04-20 16:32:20 · 628 阅读 · 0 评论