随笔分类 -  spring boot/spring cloud笔记

上一页 1 2 3 下一页
Windows下本机简易监控系统搭建(Telegraf+Influxdb+Grafana)--转
摘要:原文地址:http://www.cnblogs.com/liugh/p/6683488.html 一、文件准备 1.1 文件名称 telegraf-1.2.1_windows_amd64.zip influxdb-1.2.2_windows_amd64.zip grafana-4.2.0.windo 阅读全文
posted @ 2017-08-15 20:41 一天不进步,就是退步 阅读(516) 评论(0) 推荐(0)
spring boot多数据源配置示例
摘要:1. application.properties 2. 配置类 2.1 datasource配置 2.2 主库配置 2.3 日志库配置 3. 使用 阅读全文
posted @ 2017-07-27 20:31 一天不进步,就是退步 阅读(718) 评论(1) 推荐(0)
How To Do @Async in Spring--转
摘要:原文地址:http://www.baeldung.com/spring-async 1. Overview In this article, we’ll explore the asynchronous execution support in Spring – and the @Async ann 阅读全文
posted @ 2017-07-13 15:06 一天不进步,就是退步 阅读(483) 评论(0) 推荐(0)
spring boot integrated mybatis three ways!--转
摘要:https://github.com/spring-projects/spring-boot/issues/5400 一、使用mybatis-spring-boot-starter1、添加依赖org.mybatis.spring.bootmybatis-spring-boot-starter1.0. 阅读全文
posted @ 2017-06-09 17:55 一天不进步,就是退步 阅读(362) 评论(0) 推荐(0)
唯品会API网关设计与实践--转
摘要:原文地址:https://609518.kuaizhan.com/86/70/p4108366952248f 刘璟宇Leo 唯品会资深研发工程师,在大型高性能分布式系统设计和开发方面有丰富的经验。目前在唯品会平台与架构部负责唯品会API网关和服务安全方面的设计、开发、运营工作。 内容解析 1. 为什 阅读全文
posted @ 2017-05-12 13:35 一天不进步,就是退步 阅读(1669) 评论(0) 推荐(0)
feign client传递对象
摘要:http://bbs.springcloud.cn/d/134-feign-client server端申明 feginClient申明 client 调用申明 阅读全文
posted @ 2017-05-05 11:10 一天不进步,就是退步 阅读(9056) 评论(0) 推荐(0)
spring mvc给参数起别名
摘要:需求: 将http报文请求(保护body和url)中的参数传递给Controller时支持使用别名。 举例: 下面两条请求报文的结果是一致的。 http://example.com/foo?jobType=permanent&location=Stockholm http://example.com 阅读全文
posted @ 2017-04-28 15:15 一天不进步,就是退步 阅读(6180) 评论(0) 推荐(0)
Spring Boot: Tuning your Undertow application for throughput--转
摘要:原文地址:https://jmnarloch.wordpress.com/2016/04/26/spring-boot-tuning-your-undertow-application-for-throughput/ It’s been some time since the previous bl 阅读全文
posted @ 2017-04-21 11:03 一天不进步,就是退步 阅读(720) 评论(0) 推荐(0)
spring cloud集成 consul源码分析
摘要:1.简介 1.1 Consul is a tool for service discovery and configuration. Consul is distributed, highly available, and extremely scalable. Consul provides se 阅读全文
posted @ 2017-04-19 18:54 一天不进步,就是退步 阅读(11838) 评论(1) 推荐(1)
防雪崩利器:熔断器 Hystrix 的原理与使用--转
摘要:原文地址:https://segmentfault.com/a/1190000005988895 前言 分布式系统中经常会出现某个基础服务不可用造成整个系统不可用的情况, 这种现象被称为服务雪崩效应. 为了应对服务雪崩, 一种常见的做法是手动服务降级. 而Hystrix的出现,给我们提供了另一种选择 阅读全文
posted @ 2017-04-14 15:40 一天不进步,就是退步 阅读(1419) 评论(0) 推荐(0)
spring boot整合mail
摘要:1.添加依赖 2.增加配置 3.编写测试代码 阅读全文
posted @ 2017-04-07 17:17 一天不进步,就是退步 阅读(613) 评论(0) 推荐(0)
spring boot actuator工作原理之http服务暴露源码分析
摘要:spring boot actuator的官方文档地址:https://docs.spring.io/spring-boot/docs/current/reference/html/production-ready.html 1.增加actuator支持 2.修改配置 示例: 红色部分重要,默认是需 阅读全文
posted @ 2017-04-07 16:54 一天不进步,就是退步 阅读(8780) 评论(0) 推荐(0)
Auto-Publishing and Monitoring APIs With Spring Boot--转
摘要:原文地址:https://dzone.com/articles/auto-publishing-amp-monitoring-apis-with-spring-bo If you are heading down the path of a microservices style of archit 阅读全文
posted @ 2017-04-05 20:29 一天不进步,就是退步 阅读(546) 评论(0) 推荐(0)
Spring Boot AutoConfiguration注解@ConditionalXXXX之前生今世
摘要:1.注解@Conditional的定义 注解@Conditional标识一个组件时,该组件只有全面满足value()指定的所有条件时才可以注册到容器中。 注解@Conditional的使用场景如下: . 作为类型级别的注解,作用在一个直接或者间接@Component注解(包括@Configurati 阅读全文
posted @ 2017-03-23 11:16 一天不进步,就是退步 阅读(2251) 评论(0) 推荐(0)
spring boot自动配置之jdbc
摘要:1.DataSource配置 1.1 默认配置application.xml 需要在pom.xml加入依赖(我使用了mybatis+mysql) <dependency> <groupId>com.zaxxer</groupId> <artifactId>HikariCP</artifactId> 阅读全文
posted @ 2017-03-22 20:19 一天不进步,就是退步 阅读(59885) 评论(2) 推荐(0)
spring boot 集成 mybatis,数据库为mysql
摘要:导入mven工程即可运行,方法不描述了,具体见 https://github.com/davidwang456/spring-boot-mybatis-demo 阅读全文
posted @ 2017-03-17 18:47 一天不进步,就是退步 阅读(637) 评论(0) 推荐(0)
使用JSON Web Token设计单点登录系统--转
摘要:原文地址:https://leon_lizi.gitbooks.io/json-web-token/content/chapter2.html 用户认证八步走 所谓用户认证(Authentication),就是让用户登录,并且在接下来的一段时间内让用户访问网站时可以使用其账户,而不需要再次登录的机制 阅读全文
posted @ 2017-03-14 19:32 一天不进步,就是退步 阅读(531) 评论(0) 推荐(0)
SFDC 微服务实践之路 2016.12.10 杭州(整理)--转
摘要:原文地址:http://mp.weixin.qq.com/s/8cC4Ewt6yPjnxdYxuNZlFQ 微服务是什么? 微服务是一种细粒度(Fine-Grain)的SOA 或许在座的高朋了解过其概念。个人认为,与其说微服务是一种技术,不如将其定义为一种架构,而架构则是“技”的实现与“术”的策略相 阅读全文
posted @ 2017-03-08 13:16 一天不进步,就是退步 阅读(645) 评论(0) 推荐(0)
JWT Authentication Tutorial: An example using Spring Boot--转
摘要:原文地址:http://www.svlada.com/jwt-token-authentication-with-spring-boot/ Table of contents: Introduction This article will guide you on how you can imple 阅读全文
posted @ 2017-03-03 13:54 一天不进步,就是退步 阅读(1875) 评论(0) 推荐(0)
使用Spring Boot Actuator、Jolokia和Grafana实现准实时监控--转
摘要:原文地址:http://mp.weixin.qq.com/s?__biz=MzAxODcyNjEzNQ==&mid=2247483789&idx=1&sn=ae11f047802257c945278a2934e37eac&chksm=9bd0ac15aca72503c4ec34d6eeecff620 阅读全文
posted @ 2017-03-01 09:56 一天不进步,就是退步 阅读(10664) 评论(0) 推荐(0)

上一页 1 2 3 下一页