Spring cloud consul Finchley architecture test

Holistic diagram image.png 1. Build Consul Server Cluster REF sites: https://github.com/hashicorp/consulhttps://www.consul.io/downloads.html Procedure omitted (ACL) [root@hadoopnode3 ~]# consul members -http-addr=10.0.0.8:8500 Node Address Status Type Build Protocol DC Segment node104 10.0.0.104:8301 ...

Posted on Tue, 19 Nov 2019 10:32:28 -0500 by texhead

A preliminary study of spring boot -- what does spring boot starter web do

Last article This article mainly discusses the dependencies introduced by springboot We all know that to make a web application with springboot, the first thing we need to do is to introduce related dependencies. There are two steps: 1. Add spring boot starter parent 2. Introduce spring boot starter Web So far, all the web dependencies have ...

Posted on Tue, 19 Nov 2019 04:50:09 -0500 by magaly

Hystrix of spring cloud: cluster fault tolerance framework

In the distributed environment, some dependent services may fail, affecting the stable operation of the system.Hystrix controls the interaction of components among distributed systems by adding delay threshold and fault-tolerant logic.Hystrix can achieve fault tolerance by isolating access points between services, stopping cascading failures be ...

Posted on Tue, 19 Nov 2019 02:43:04 -0500 by jsinker

Personal learning series - Docker project deployment in IDEA

Now most of the projects have started to be deployed on Docker, but the deployment phase is still a bit cumbersome, so this article wants to explain how to use IDEA one click deployment. Docker configuration Modify profile Open the configuration file of Docker: vim /usr/lib/systemd/system/docker.service Comment out the following line: # ExecSt ...

Posted on Tue, 19 Nov 2019 02:14:54 -0500 by neerav

25. springboot sends email

Although SMS verification is now the most popular and commonly used method of verification, email verification is still indispensable and still one of the necessary functions of the website. Any registration verification, forgetting password or sending marketing information to users can use the e-mail function. In the early stag ...

Posted on Mon, 18 Nov 2019 14:47:17 -0500 by Dennis Madsen

Using the Jacobo Maven plug-in to create code coverage reports

This blog post describes how we use the Jacobo Maven plug-in to create code coverage reports for unit and integration tests. Our construction requirements are as follows: When running tests, our build must create code coverage reports for unit and integration tests. Code coverage reports must be created in a separate directory. In other words, ...

Posted on Mon, 18 Nov 2019 02:51:19 -0500 by jannoy

springboot integrates mybatis plus MySQL

[foreword] note that the version of mybatis plus is related to the version of springboot. The version of springboot-2.1.4.RELEASE that I used at that time, and the version of 3.1.1 that mybatis plus used, directly overturned the car, which made me doubt the capital of life. Later, I changed it to the version of springboot-2.0.5.RELEASE... Othe ...

Posted on Sun, 17 Nov 2019 12:15:16 -0500 by BlackKite

Powerful IP address location Library -- preliminary use of ip2region

On May 5, 2019, the open-source IP address location library ip2region 1.9.0 was released, and its function is still very good. Next, I will apply ip2region to analyze the IP address I. download and decompress the ip libraryThe address is: https://github.com/lionsoul2014/ip2region/archive/v1.9.0-release.tar.gzdecompression Paste ip2region.db in ...

Posted on Sat, 16 Nov 2019 10:38:18 -0500 by Jim02

5. Principles and uses of spark--spark streaming

1. Overview of spark-streaming 1.1 Common real-time computing engines Real-time computing engines, also known as streaming computing engines, currently have three commonly used:1. Apache Storm: True Streaming2. Spark Streaming: Strictly speaking, it's not really streaming (real-time computing)Processing continuous streaming data as discrete RD ...

Posted on Sat, 16 Nov 2019 01:20:27 -0500 by Snart

Java web development idea ssm development

Create project Create a new blank project Create parent project Check Maven do not check any frame - > com.zf.edu common parent  Delete src and add some codes  Create model subproject   Create a new model Write the field first, and then press and hold the shortcut key to generate the method (command+n select setting all to confirm)  ...

Posted on Fri, 15 Nov 2019 10:14:09 -0500 by l053r