MinIO introduces deployment and springboot integration

Enter the new project team and use minio tools in file storage. Therefore, find relevant materials online and learn minio related knowledge, features, application scenarios, storage architecture and basic concepts in combination with the use of minio in the project. On this basis, actually deploy and build minio services locally and integra ...

Posted by abakash on Sat, 05 Mar 2022 10:56:44 +0100

Microservice notes 03

01. Nacos 1. Introduction It is said that Nacos has more than 100000 instances running inside Alibaba, which has passed the test of various large traffic such as double 11 C: Consistency: all nodes see the same data at the same time A: Availability: all requests receive a response P: Partition tolerance: CPA theory ...

Posted by Plug-in on Sat, 05 Mar 2022 06:50:51 +0100

Using Spring Security in SpringBoot

Reprint address: https://www.jianshu.com/p/defa75b65a46 Basic introduction to security spring Spring Security will not be introduced too much here. For details, please refer to Official documents Let me just talk about the core functions of spring security: Certification (who are you)Authorization (what can you do)Attack protection (against ...

Posted by ghostdog74 on Sat, 05 Mar 2022 03:49:58 +0100

Spring source code 6 - onRefresh() method

Spring source code 6 - onRefresh() methodHello, I'm classmate Tian, a programmer.Today, I will take you to interpret onRefresh() method of Spirng source code 6. This is one of the methods of refresh(). It seems to be an empty method, but in fact it is very, very important to improve the scalability of Spring.As the old rule, first paste the sou ...

Posted by joshuamd3 on Sat, 05 Mar 2022 03:46:47 +0100

In vue, use axios to get the back end, get the binary stream, download the file interface, and fail to get the attribute in headers: content disposition

Get binary stream file api writing The back end here is a project written using the Spring Boot framework I use the encapsulation here and then call the way: First, write a tool class: The name is downloadrequest js The code notes are as follows: import axios from "axios"; /** * api encapsulation for file download */ // Create an axios ob ...

Posted by Zup on Sat, 05 Mar 2022 01:11:28 +0100

springboot distributed micro service E-commerce mall learn from me about the use of springcloud Apollo in Java

This section mainly explains how to use Apollo in ordinary Java projects and Spring Boot. Used in ordinary Java projects Add Maven dependency of Apollo Client. The code is as follows. <dependency> <groupId>com.ctrip.framework.apollo</groupId> <artifactId>apollo-client</artifactId> <version&gt ...

Posted by Flinch on Fri, 04 Mar 2022 22:17:39 +0100

Global exception handling: Assert + enumeration + custom exception

A lot of exception handling is involved in the process of business development. Usually @ ControllerAdvice and @ ExceptionHandler are used to handle various exceptions, but the process of throwing exceptions still can not avoid a lot of if Else judged that I happened to see an article today( Why not recommend using try catch to handle exception ...

Posted by keyont on Fri, 04 Mar 2022 21:25:25 +0100

Crazy God says notes - MyBatisPlus quick start 24

MyBatisPlus quick start Required basis: MyBatisSpringSpringMVC What is it? MyBatis is meant to simplify JDBC operations!Official website: https://baomidou.com/ , simplify MyBatis 1. Overview of mybatisplus MyBatis-Plus (MP) is a MyBatis On the basis of MyBatis, the enhancement tool is only enhanced without change, and is b ...

Posted by jdc44 on Fri, 04 Mar 2022 17:44:51 +0100

SpringBoot : SpringBoot 2.x Integrated HttpClient

catalogue Connection pool settings.Get the settings of connection timeout, establish connection timeout and maintain connection timeout.Long connection policy settings.Connection eviction policy settings.Setting of retry mechanism.Setting of personalization request parameters.Appendix. order HttpClient can be used to provide an efficient, up- ...

Posted by sem_db on Fri, 04 Mar 2022 15:26:36 +0100

Analysis of the whole process of SpringBoot application accessing Prometheus

Prometheus: Prometheus is an open monitoring solution. Users can easily install and use Prometheus and expand it The following will implement the whole process of a SpringBoot application accessing Prometheus 1.2 installation Linux Installation Download package specified on the official website: https://prometheus.io/download/ Download loca ...

Posted by phpBeginner06 on Fri, 04 Mar 2022 13:27:44 +0100