上一页 1 2 3 4 5 6 7 8 9 ··· 23 下一页
摘要: 标题 一级、二级、三级、四级、五级、六级 Ctrl+1、2、3、4、5、6 段落 Ctrl+0 代码块 Ctrl+Shift+K 图片 Ctrl+Shift+I 链接 Ctrl+K 表格 Ctrl+T 格式 Ctrl+B 加粗 Ctrl+I 字体倾斜 Ctrl+U 下划线 Ctrl+Shift+` 阅读全文
posted @ 2020-08-23 16:58 npe0 阅读(403) 评论(0) 推荐(0)
摘要: 一、安装Rabbitmq 1.1、拉取启用 一定要下载带*-management 版本的,带有管理页面,这里以3.7版本为例。 #拉取镜像 docker pull rabbitmq:3.7-management #启动一个容器 docker run -d --hostname myrabbit -- 阅读全文
posted @ 2020-08-23 16:39 npe0 阅读(7015) 评论(0) 推荐(1)
摘要: # 一、安装docker-compose ```shell #github下载地址-下载慢 curl -L https://github.com/docker/compose/releases/download/1.26.2/docker-compose-`uname -s`-`uname -m` 阅读全文
posted @ 2020-08-23 16:10 npe0 阅读(1530) 评论(0) 推荐(1)
摘要: 工欲善其事必先利其器,想把博客写好,就要有写博客的利器,它来了它来了,它就是Typora,配合PicGo、gitee、微云同步助手,超级无敌好用! 一、Typora图片自动上传 1.1、创建gitee仓库 创建一个公开的库:typora-pic 地址为:https://gitee.com/doge2 阅读全文
posted @ 2020-08-23 00:55 npe0 阅读(1329) 评论(0) 推荐(0)
摘要: 一、发送方消息确认点 都知道发送方消息确认,有两个地方 消息发送到broker的消息确认回调,发送到服务器,触发confirmCallBack ,ack=true 否 false 消息通过交换器绑定到队列的消息确认回调,发现没有与之绑定的队列时,触发returnCallBack 二、配置 2.1、y 阅读全文
posted @ 2020-08-21 10:41 npe0 阅读(856) 评论(0) 推荐(0)
摘要: String msg = RandomStringUtils.randomAlphanumeric(6); //常规写法 MessageProperties messageProperties = new MessageProperties(); messageProperties.setMessa 阅读全文
posted @ 2020-08-21 10:09 npe0 阅读(3478) 评论(0) 推荐(0)
摘要: 一、Thread public class Thread(){ //省略部分 //属于这个线程的ThreadLocals,这个map由ThreadLocal类维护 ThreadLocal.ThreadLocalMap threadLocals = null; //省略部分 } 二、ThreadLoc 阅读全文
posted @ 2020-08-20 09:59 npe0 阅读(185) 评论(0) 推荐(0)
摘要: 这篇博客的目的: 项目可以快速的生成镜像,并能快速发布到docker容器,可以将生成的镜像供其他人员pull. 写这篇博客的背景: 手上的项目的微服务的,测试环境部署用的也是docker,就寻思着有木有可以点点点就可以发布到测试服的工具,网上搜了下大多数是介绍docker-maven插件的,有两种 阅读全文
posted @ 2020-08-18 19:42 npe0 阅读(3864) 评论(2) 推荐(0)
摘要: 一、springcloud和springboot版本 <properties> <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding> <maven.compiler.source>1.8</maven.compiler. 阅读全文
posted @ 2020-08-17 16:32 npe0 阅读(385) 评论(0) 推荐(0)
摘要: 阅读全文
posted @ 2020-08-17 11:26 npe0 阅读(2361) 评论(0) 推荐(0)
上一页 1 2 3 4 5 6 7 8 9 ··· 23 下一页