Configuring Maven skills in Eclipse

Configuring Maven in Eclipse Specify the path to configure and install maven Mavan local warehouse with Eclipse: Instead of the warehouse and setting we configured, you can also use the default one relation setting.xml file to configure setting.xml , plus Alibaba proxy imageIt will be slow to download jar directly from the address of the centr ...

Posted on Fri, 22 May 2020 12:14:10 -0400 by en

ThinKPHP6.0 hands on

Install ThinkPHP6.0 cd to the project directory, and then do the following Prepare to install the framework: composer create project topthink / think thinkphp6.0 cd switch to the thinkPHP6.0 directory of PHP project Modify configuration file:. Env configuration file / / copy example.env Change to your own Open debug mode: app in. env_ DEBUG = ...

Posted on Fri, 22 May 2020 10:08:32 -0400 by benny_g

Swagger permission control part 1: Implementation Based on Apache Shiro

Many articles mentioned that Swagger should be turned off in the production environment to prevent system resource leakage. Today, with my own experience in the development process, I share a method that can be implemented in just a few lines of code to allow Apache Shiro to take over Swagger authentication and authorization. If there is a bett ...

Posted on Fri, 22 May 2020 03:11:03 -0400 by K3nnnn

SpringBoot combines ShardingSphere for data slicing, read-write separation

ShardingSphere is an ecosystem of open source distributed database middleware solutions comprising three separate products, ShardingSphere-JDBC, ShardingSphere-Proxy and HardingSphere-Sidecar (planned).They all provide standardized data fragmentation, distributed transactions, and database governance capabilities that can be applied to a wide v ...

Posted on Thu, 21 May 2020 22:20:15 -0400 by nikbone

Submit Spark tasks remotely to yarn cluster

Reference article:How to submit spark tasks to yarn cluster remotely in idea Several modes of running spark tasks: 1, local mode, write code in idea and run directly. 2,standalone mode, need to jar package program, upload to cluster, spark-submit submit to cluster run 3,yarn mode (local,client,cluster) as above, also requires jar packa ...

Posted on Thu, 21 May 2020 20:09:40 -0400 by twilightnights

Beauty of mybatis source code: 1.3. Find a starting point for learning mybatis source code

Find the starting point of learning mybatis source code To learn the source code of mybatis, the first step must be to find a starting point for learning. First, we start with a simple Demo, re experience the way of using mybatis, and then we can start from it to learn the source code of mybatis. Hello World First of all, we will build a new He ...

Posted on Thu, 21 May 2020 02:36:29 -0400 by gleemonex

ELK 7.X Use kiana's built-in analysis module to display icon problem records

Built a set of elk by myself 7.x Version environment found that using filebeat to collect nginx or apapche could not customize the directory log directory. If you customize the log directory, it would not be segmented. If you use the default log location, it would be segmented The solution is hereby recorded Default load path [root@kangcw e ...

Posted on Mon, 18 May 2020 12:12:50 -0400 by abazoskib

An http request from the perspective of Tomcat

One HTTP request     As shown in the figure above, a complete HTT request roughly includes the following steps: Domain name resolution TCP connection (three handshakes) Send request data after connection established Server processing request Send response data Browser parsing response data Browser rendering front page The http request proce ...

Posted on Mon, 18 May 2020 01:50:33 -0400 by etrooper

Chapter 2 starts with spring boot and spring cloud

Article catalog preface: 1. Parent directory 2.FW-BOOT 3.FW-ClOUD 4.FW-CORE 4.1.core-web 1.WebMvcConfigurer Configuration of 2.core-web Implementation 4.1.2.1 . unified data return processing implementation 4.1.2.2 Unified exception handling 4.1.2.3 Online document implem ...

Posted on Sun, 17 May 2020 23:04:42 -0400 by wutanggrenade

Kafka Core API Producer

Producer sends demos asynchronously stay Above The use of the AdminClient API was introduced, and now we know how to manage Kafka through the API in our applications.But in most application development, the most common scenario we face is to send messages to or consume messages from Kafka, which is a typical production/consumption model.This a ...

Posted on Sun, 17 May 2020 13:35:32 -0400 by klaibert26