SPRINGCLOUD篇 十月 15, 2022

SpringCloud Gateway --- 获取请求体数据并记录日志

文章字数 8.7k 阅读约需 8 mins.

SpringCloud Gateway 中想要获取请求体数据,这里介绍一种优雅的处理方法,就是使用 框架自带的 ModifyRequestBodyGatewayFilterFactory

新建类 RequestLogF...

查看全文

SPRINGBOOT篇 九月 21, 2022

SpringBoot --- spring-boot-maven-plugin 插件的使用记录

文章字数 2.1k 阅读约需 2 mins.

    <plugin>
        <groupId>org.springframework.boot</groupId>
        <artifactId>spring-boot-maven-plugin</artifactId>
    </plugin>

打包可执行 jar 重命名

   <plugin>
        <groupId>org.springframework.boot</groupId>
        <artifactId...
查看全文

SPRINGCLOUD篇 八月 22, 2022

SpringCloud --- OpenApi3 + SpringCloud Gateway 聚合文档

文章字数 5k 阅读约需 5 mins.

记录下 OpenApi3 + SpringCloud Gateway 聚合文档的过程

  1. SpringDoc
  2. Knife4j
  3. SpringCloud Gateway

在所有的 spring boot 项目中引入 SpringDoc

   <dependency>
      <groupId>org.springdoc</groupId>
      <artifactId>springdoc-openapi-ui</artifactId>
      <version...
查看全文

大数据篇 七月 21, 2022

EFK(Elasticsearch8 + FileBeat + Kibana) 日志分析平台搭建

文章字数 7.4k 阅读约需 7 mins.

记录下 EFK(Elasticsearch8 + FileBeat + Kibana) 日志分析平台搭建
并加以用户名密码保护

先启动一个 ES 节点,进入节点后使用下面的命令生成证书

    if [ x${ELASTIC_PASSWORD} == x ]; then
          echo "Set the ELASTIC_PASSWORD environment variable in the .env file";
          exit 1;
        elif [ x${KIBANA_PASSWORD} =...
查看全文

CONFLUENCE篇 七月 20, 2022

Confluence 和 Jira 免费 License 申请

文章字数 2.1k 阅读约需 2 mins.

记录一下 Atlassian 旗下的 Confluence 和 Jira 免费 License 申请

docker-compose.yml

    version: "3"
    services:
      confluence:
        image: atlassian/confluence
        container_name: confluence
        restart: always
        ports:
          - 8090:8090
          - 8091:8091
        volumes:
          - ./confluence-data:/var...
查看全文
加载更多
0%