Spring Boot 2.3+ Liveness 和 Readness 接口使用
September 20, 2020 · 241 words · 2 min
Spring Boot 2.3+ Liveness 和 Readness 接口使用 在 Spring Boot 2.3+ 中,提供了单独的 liveness 和 readness, …
September 20, 2020 · 241 words · 2 min
Spring Boot 2.3+ Liveness 和 Readness 接口使用 在 Spring Boot 2.3+ 中,提供了单独的 liveness 和 readness, …
September 20, 2020 · 222 words · 2 min
SpringBoot 框架自带插件构建 Docker 镜像 Spring Boot 2.3.0 之后支持通过 buildpacks 插件构建 Docker 镜像,原理和执行过程与 Jib 类似, …
May 16, 2020 · 329 words · 2 min
Prometheus 使用 Consul 自动发现 Spring Boot 服务并拉取数据 使用 Prometheus监控 SpringBoot 应用,当应用很多,且上下线频繁时, …
May 16, 2020 · 385 words · 2 min
使用 Prometheus 和 Grafana 监控 Spring Boot 应用 监控 Spring Boot 应用的状态,以及一些自定义的业务数据 监控 Spring Boot …
September 8, 2019 · 417 words · 2 min
Spring Boot 中使用Spring Cloud Stream Spring Cloud Stream 用于构建高可扩展的使用消息系统连接的事件驱动服务的框架 Binder: 负责提供与外部消息 …
September 8, 2019 · 399 words · 2 min
Spring Boot 中使用 WebSocket WebSocket 是一种长连接技术,可以实现服务端和客户端的双向通信,服务端可以主动推送信息给客户端 构建应用 添加依赖 build.gradle …
September 8, 2019 · 252 words · 2 min
Spring Boot 中自定义接口返回格式 Spring Boot 项目中提供的 REST 接口往往需要封装状态或者其他附加的内容返回给客户端,如果每个接口都用一些工具类来处理很繁琐,会增加很多重复 …
May 6, 2019 · 850 words · 4 min
AWS Lambda 部署 SpringBoot 应用 配置 AWS CLI 和 Severless AWS CLI 和 Serverless 都可以用于部署 Serverless 应用 获取密钥 登 …
March 29, 2019 · 1277 words · 6 min
MyBatis 查询错误:java.lang.IllegalArgumentException: invalid comparison: java.util.Date and …
January 29, 2019 · 520 words · 3 min
GraphQL Spring Boot 使用 项目地址 https://github.com/helloworlde/spring-boot-graphql-demo 使用 SpringBoot …
December 31, 2018 · 47 words · One minute
SpringBoot 使用 MySQL保存emoji 表情 在使用 SpringBoot 开发的应用中,有表单提交的内容中含有 emoji 表情,导致保存失败;这是因为MySQL 默认的 utf8 长 …
December 31, 2018 · 352 words · 2 min
Spring Boot 配置 HTTPS 访问 相关代码 生成证书 创建新证书 keytool -genkeypair -alias hellowood -keyalg RSA -keysize …
December 24, 2018 · 165 words · One minute
SpringBoot 中 Spring Security 403 自定义返回消息 自定义处理类 CustomAccessDeniedHandler import …
October 22, 2018 · 179 words · One minute
Kubernetes 中部署 SpringBoot 应用 在 Kubernetes 中通过yaml 配置文件预先声明部署 SpringBoot …
July 16, 2018 · 230 words · 2 min
使用 Jib 生成 Java Docker 镜像 Jib 是谷歌最新开源的 Java 应用的 Docker 镜像生成工具,可以通过 Gradle 或 Maven …
April 10, 2018 · 78 words · One minute
SpringBoot 使用 FastJSON 自定义接口返回 JSON 格式 在 SpringBoot 中如果想要自定义接口返回的值格式,可以通过重写 WebMvcConfigurerAdapter …
April 8, 2018 · 121 words · One minute
用 Docker 构建 SpringBoot 应用 启动 Docker,并生成 SpringBoot 应用 修改 build.gradle 文件 buildscript { ext { …
April 8, 2018 · 435 words · 3 min
SpringBoot 使用 MyBatis 通用 Mapper 通用 Mapper 是一个开源的 MyBatis 插件,该插件可以使用通用的 MyBatis方法,减少简单的 CRUD,提高开发效率;推 …
April 8, 2018 · 274 words · 2 min
SpringBoot 使用 Spring Session 实现 Session 共享 通过 Redis 共享 配置 配置并启动 Redis 添加依赖 dependencies { …