Java Spring Cloud Road to Actual Work - 1 Create Project

0. Preface The project is managed and built using Maven, so it needs to be preconfigured.Well, I haven't done much in this series. 1. Create a project Create one firstPom.xmlFile, add the following: <?xml version="1.0" encoding="UTF-8"?> <project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSc ...

Posted on Sun, 31 May 2020 12:34:53 -0400 by widget

spring boot custom starter

spring boot uses starter to solve many configuration problems, but how does it solve these problems Here is a simple example to see how starter sets the default configuration 1, Build starter project The project naming specification is: custom name spring boot starter Let's take a look at my last directory structure   1. Modification pom.xml ...

Posted on Sun, 31 May 2020 12:31:13 -0400 by tibberous

Configure different access ports for multiple applications in tomcat

Configure different access ports for multiple applications in tomcat Open tomcat installation directory and check conf/server.xml <?xml version="1.0" encoding="UTF-8"?> <Server port="8005" shutdown="SHUTDOWN"> <Listener className="org.apache.catalina.core.AprLifecycleListener" /> <Listener c ...

Posted on Sun, 31 May 2020 10:02:39 -0400 by LoneTraveler

For four years in a row, it has become the "favorite language for developers". Have you ever understood this programming language?

fn main() { println!("hello rust");} With the launch of Facebook's Libra project, Rust became the biggest project in the history of Rust, but with the rise of global digital currency, the journey of Rust may be just beginning. Although you may not know much about Rust, in the eyes of developers, it's really delicious! For four years in a r ...

Posted on Sat, 30 May 2020 06:08:29 -0400 by ucffool

How to use Apache Flink to query Pulsar flow

In the previous blog, we introduced Apache Pulsar and its differences from other message systems, and explained how to integrate Pulsar and Flink to work together to provide a seamless developer experience for large-scale elastic data processing.   This article will introduce the integration and latest research and development progress of Apa ...

Posted on Sat, 30 May 2020 02:54:34 -0400 by pck76

PHP multiprocess processing tcp connection

<?php if(($sock = socket_create(AF_INET, SOCK_STREAM, 0)) < 0) { echo "failed to create socket: ".socket_strerror($sock)."n"; exit(); } if(($ret = socket_bind($sock,'127.0.0.1', 8888)) < 0) { echo "failed to bind socket: ".socket_strerror($ret)."n"; exit(); } if( ( $ret = socket_listen( ...

Posted on Thu, 28 May 2020 10:07:18 -0400 by jay7981

k8s deployment Flink

https://flink.apache.org/ #Flink official website This step (k8s) deployment requires a profile First copy all the configuration files of Flink to the local, and then hang the local configuration files in the POD 1.1 configuration file of jobmanager vim flink-conf.yaml Modify profile jobmanager.rpc.address: flink-jobmanager-svc jobmanage ...

Posted on Wed, 27 May 2020 11:14:00 -0400 by jviney

MapperReduce serialization job - sorting

1 data source: the last product about simple statistics of mobile traffic     2. Requirements: sort in reverse order according to the total flow value, and then get the output 3. General logic (1) FlowSort class: for serialization and deserialization, the implementation of sorting logic interface (2) FlowSortMapper class: encapsulating data (3 ...

Posted on Tue, 26 May 2020 10:10:14 -0400 by TwistedLogix

The running in period of Flink and Hive

There is a lot of feedback from readers. Please refer to the previous article< Hive is finally waiting, Flink >When Flink is deployed and Hive is integrated, there are some bug s and compatibility problems. Although waiting, it is not available. So I added this article as a sister article. review In the previous article, the author use ...

Posted on Mon, 25 May 2020 03:57:37 -0400 by soccerstar_23

nginx lua scripts manipulate pits in file directories or default paths to files

BUG s have recently appeared online, and it is after server migration that a lua script that finds nginx cannot collect log data for nginx After sorting, it was found that because lua could not find the corresponding file, the nginx data could not be written to the file.That is, lua cannot create the create file directory and therefore cannot f ...

Posted on Fri, 22 May 2020 23:54:39 -0400 by davidx714