上一页 1 ··· 3 4 5 6 7
摘要: 使用 Feign 实现声明式 REST 调用 一、基本使用 1、为当前项目引入 Feign <!-- 声明书 Rest 调用 Feign --> <dependency> <groupId>org.springframework.cloud</groupId> <artifactId>spring- 阅读全文
posted @ 2020-12-02 15:06 zolmk 阅读(89) 评论(0) 推荐(0) 编辑
摘要: 使用 bootstrap-fileinput-js 进行文件上传 上传文件同时想上传表单数据? 可以通过初始化配置来实现,具体在代码里的 uploadExtraData 中体现。 $("#imgFile").fileinput({ showUpload:false, 'theme': 'explor 阅读全文
posted @ 2020-12-02 15:01 zolmk 阅读(484) 评论(0) 推荐(0) 编辑
摘要: 可视化监控微服务 一、使用 Hystrix Dashboard 监控单个微服务 1、添加依赖 <dependency> <groupId>org.springframework.cloud</groupId> <artifactId>spring-cloud-starter-netflix-hyst 阅读全文
posted @ 2020-12-02 15:00 zolmk 阅读(362) 评论(0) 推荐(0) 编辑
摘要: 1、版本一致性 Elasticsearch 客户端版本和服务器版本需一致 2、max file descriptors [4096] for elasticsearch process is too low, increase to at least [65536] 每个进程最大同时打开文件数太小, 阅读全文
posted @ 2020-12-02 14:56 zolmk 阅读(109) 评论(0) 推荐(0) 编辑
摘要: ElasticSearch 安装与使用 一、ElasticSearch 安装 1、使用 docker search elasticsearch 搜索 ElashticSearch 镜像 2、docker pull imageName 3、运行镜像(需2G以上内存),docker run -d -p 阅读全文
posted @ 2020-12-02 14:55 zolmk 阅读(179) 评论(0) 推荐(0) 编辑
上一页 1 ··· 3 4 5 6 7