21. Integration of Flink’s table API and DataStream API (2) – batch processing mode and insert-only stream processing

Flink series of articles 1. Flink column The Flink column systematically introduces a certain knowledge point and explains it with specific examples. 1. Flink deployment series This section introduces the basic content related to the deployment and configuration of Flink. 2. Flink basic series This part introduces the basic parts of Flink, such as terminology, […]

HBase and Hadoop integration

1. Start the hadoop service process and hbase service process [Command 001]: start-all.sh start-hbase.sh 2.Create the directory /root/experiment/datas on HDFS [Command 002]: hadoop fs -mkdir -p /root/experiment/hbase/file1.txt /root/experiment/datas 3. Upload the local directory /root/experiment/datas/hbase/file1.txt file to the /root/experiment/datas directory of HDFS [Command 003]: hadoop fs -put /root/experiment/datas/hbase/file1.txt /root/experiment/datas 2) Experimental process 1. Double-click the “IDEA” […]

Spring MVC and AJAX integration example

Table of Contents 1. Introduction SpringMVC AJAX 2. Environment settings & related configurations 3. Create Spring MVC project 4. Create Controller 5. Front-end page design 6. Display data: 1. Introduction Spring MVC Spring MVC is a module in the Spring framework for developing web applications based on the Model-View-Controller (MVC) architecture. It provides a flexible […]

SpringBoot2.X integration integrates Dubbo

Environment installation Dubbo uses zookeeper as the registration center. You must first install zookeeper. Install zookeeper on Windows as follows: https://blog.csdn.net/qq_33316784/article/details/88563482 Install zookeeper on Linux as follows: https://www.cnblogs.com/expiator/p/9853378.html SpringBoot new project If you still don’t know how to create a new SpringBoot project, you can refer to: https://www.cnblogs.com/expiator/p/15844275.html Service providerDubbo-provider Created dubbo-provider module as a […]

The use of Git Gui + About SSH protocol and cloning corresponding file code + IDEA integration with Git, etc.

Table of Contents 1. Use of Git graphical interface 1.1 Preparation 1.2 Use of Git graphical interface 1.2.1 File code cloning 1.2.2 Check the effect of file GIt management 1.2.3 Git Gui page details illustration 1.2.4 Git Gui function demonstration effect (1) Temporary storage (2) Submission and comments (3) Push remote push 2. SSH protocol […]

Spring Boot integration ElasticSearch

1 Add dependencies First create a project and add ES-related dependencies to the project. The specific dependencies are as follows: <dependency> <groupId>org.elasticsearch</groupId> <artifactId>elasticsearch</artifactId> <version>7.1.0</version> </dependency> <dependency> <groupId>org.elasticsearch.client</groupId> <artifactId>elasticsearch-rest-high-level-client</artifactId> <version>7.1.0</version> </dependency> 2 Create ES configuration Configure the relevant parameters of ES in the configuration file application.properties. The specific contents are as follows: elasticsearch.host=localhost elasticsearch.port=9200 elasticsearch.connTimeout=3000 elasticsearch.socketTimeout=5000 […]

R language EG (Engle-Granger) two-step cointegration test, RESET, Granger causality test, VAR model to analyze the time series relationship between CPI and PPI…

Full text link: http://tecdat.cn/?p=31108 As basic indicators for measuring inflation, the relationship and transmission mechanism of consumer price index CPI and producer price index PPI have always been core issues in macroeconomic research. (Click “Read the original text” at the end of the article to get the completecode data) . Research on this issue obviously […]

shiro-redis-jwt integration

1. Integrated process logic 2. Integration steps 1. Import the starter package of shiro-redis: There is also the jwt tool package toolkit, and to simplify development, I introduced the hutool toolkit. <!–shiro-redis integration–> <dependency> <groupId>org.crazycake</groupId> <artifactId>shiro-redis-spring-boot-starter</artifactId> <version>3.2.1</version> </dependency> <!–hutool tool class–> <dependency> <groupId>cn.hutool</groupId> <artifactId>hutool-all</artifactId> <version>5.3.3</version> </dependency> <!– jwt –> <dependency> <groupId>io.jsonwebtoken</groupId> <artifactId>jjwt</artifactId> <version>0.9.1</version> </dependency> 2. […]

SVN server construction in Linux environment and integration with intranet penetration to achieve remote connection

Article directory Preface 1. Install SVN service on Ubuntu 2. Modify configuration file 2.1 Modify the svnserve.conf file 2.2 Modify passwd file 2.3 Modify authz file 3. Start the svn service 4. Intranet penetration 4.1 Install cpolar intranet penetration 4.2 Create tunnel mapping local port 5. Test public network access 6. Configure a fixed public […]

[Redis] Redis and SSM integration&Redis annotation caching&Redis solves caching problems

1. Integration of Redis and ssm 1.1 pom.xml configuration Configure related redis files in pom.xml redis file: <redis.version>2.9.0</redis.version> <redis.spring.version>1.7.1.RELEASE</redis.spring.version> <dependency> <groupId>redis.clients</groupId> <artifactId>jedis</artifactId> <version>${redis.version}</version> </dependency> The entire pom.xml file: <?xml version=”1.0″ encoding=”UTF-8″?> <project xmlns=”http://maven.apache.org/POM/4.0.0″ xmlns:xsi=”http://www.w3.org/2001/XMLSchema-instance” xsi:schemaLocation=”http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd”> <modelVersion>4.0.0</modelVersion> <groupId>org.example</groupId> <artifactId>ssm2</artifactId> <version>1.0-SNAPSHOT</version> <packaging>war</packaging> <name>ssm2 Maven Webapp</name> <!– FIXME change it to the project’s website –> <url>http://www.example.com</url> <properties> […]