Remember to deploy and publish the Spring Boot project once, and configure SSL to support both HTTP and HTTPS

Because the company bought a new server, it needs to deploy the project to the new server and support HTTPS. After online search, it is finally completed, and now it is recorded. Configure HTTP 1. Generate certificate Use the keytool.exe provided with the jdk to generate the certificate (because ...

Added by dr.maju on Thu, 27 Feb 2020 10:41:31 +0200

Gong Service for Smooth Restart Analysis

Smooth restart means that our programs can be restarted without interrupting service, seamlessly linking up old and new processes, and deploying Zero-Downtime. Smooth restart is based on elegant exit, as described in a previous article: Golang uses the Shutdown feature to gracefully summarize the exit of http services There are two main strateg ...

Added by justinjkiss on Thu, 27 Feb 2020 04:15:47 +0200

Learn spring cloud Eureka to take you from 0 to 1

1, What is a service registry Service registry is the core component of service registration and management, which is similar to directory service. It is mainly used to store service information, such as service provider url string, routing information, etc. Service registry is one of the most basic f ...

Added by barbs75 on Mon, 24 Feb 2020 15:58:18 +0200

Hbase data backup case explanation

Data backup of HBase 1.1 backup the table based on the class provided by HBase Use the class provided by HBase to export the data of a table in HBase to HDFS, and then to the test HBase table. (1) = = export from hbase table to HDFS== [hadoop@node01 shells]$ hbase org.apache.hadoop.hbase.mapreduce.Export myuser /hbase_data/myuser_bak (2 ...

Added by ShashidharNP on Mon, 24 Feb 2020 13:26:23 +0200

Spring Boot2.x Integrated kafka (windows integrated environment + example explanation)

Learn kafka, this article takes you to the beginning. Article directory 1. Build windows integrated environment 1.1 java8 installation 1.2 zookeeper installation 1.2.1 download zookeeper 1.2.2 install and modify the zoo.cfg configuration file 1.2.3 setting the zookeeper environment variable 1.2.4 ve ...

Added by jbrave on Sun, 23 Feb 2020 11:54:17 +0200

Compile the Flink 1.9.0 report, Flink FS Hadoop shaded cannot be found

Compile the Flink 1.9.0 report, Flink FS Hadoop shaded cannot be found 1.Flink source code download git clone git@github.com:apache/flink.git Then you can switch to different branches of the project and execute the following command to switch the code to release-1.9 branch: git checkout release-1.9 ...

Added by Sekka on Sat, 22 Feb 2020 16:58:52 +0200

[enjoy learning Netflix] 3. Apache Commons Configuration2.x new event monitoring mechanism

Writing good code is personal accomplishment, not the requirement of the boss, not to show colleagues - > return to the column directory Code download address: https://github.com/f641385712/netflix-learning Catalog Preface text Event ConfigurationEvent ConfigurationErrorEvent ReloadingEvent Con ...

Added by brendan2b on Tue, 18 Feb 2020 11:48:00 +0200

Java Web error analysis and solution

1. Problem description When we use IDEA to create a Java Web project of Spring Boot, there will be an error that the package cannot be imported. For example, we create a Spring Boot basic project from the Spring official website, and then open it in the local IDEA to find the error.Open pom.xm file an ...

Added by sasori on Sun, 16 Feb 2020 07:40:56 +0200

HBase 2.1.6 coprocessor usage

For version 2.1.6, the use of coprocessor requires the introduction of HBase common dependency. Next, record the detailed steps of debugging the test coprocessor   Case background There are two tables, user and people. Each table has a person column family. Now, before inserting "people:name ...

Added by leeroy1 on Sun, 16 Feb 2020 06:26:51 +0200

ocr learning part 2: java realizes image and text recognition through the interface provided by Baidu AI

Let's talk about it briefly: the first time I contacted the platform provided by Baidu AI, I looked at it briefly, liked it very much, and provided many practical functions. What we use here is the function of character recognition. Its usage is very simple, and it can be realized by basic http call, ...

Added by nimzie on Fri, 14 Feb 2020 12:27:29 +0200