kafka, it's not hard

1. Introduction to Kafka   1.1. Main functions According to the introduction of the official website, ApacheKafka ® is a distributed streaming media platform, which has three main functions: 1: It lets you publish and subscribe to streams of records 2: it lets you store streams of records in a fault tolerant way 3: It lets you process ...

Posted by RobbertvanOs on Fri, 29 Nov 2019 00:58:59 -0800

Apache BeanUtils VS Spring BeanUtils of Bean mapping tool

background In our actual project development process, we often need to copy the attributes of two different object instances, so that we can carry out subsequent operations based on the attribute information of the source object without changing the attribute information of the source object, such as DTO data transfer object and data object DO. ...

Posted by mogen on Thu, 28 Nov 2019 05:13:24 -0800

Archiva 2.2.3 protocol version error during installation and operation

A protocol version error occurred while Archiva was running after successful installation: Caused by: javax.net.ssl.SSLException: Received fatal alert: protocol_version         at sun.security.ssl.Alerts.getSSLException(Alerts.java:208) ~[?:1.7.0_80]         at sun.security.ssl.Alerts.getSSLException(Alerts.java:154) ~[?:1.7.0_80]         at s ...

Posted by sandgnat on Wed, 27 Nov 2019 12:55:56 -0800

Spring cloud uses feign consumer service and uses hystrix to fuse

Spring cloud uses feign consumer service and uses hystrix to fuse Service consumption (create a feign project and use hystrix) Project screenshots configuration file Code Monitor configuration file Code Operation and verification Startup service Monitoring service Connection address Service consumption (create a fe ...

Posted by Immortal55 on Wed, 27 Nov 2019 08:05:56 -0800

Big data environment building series - zookeeper cluster building

Summary This blog builds a cluster environment based on zookeeper-3.4.9. 1. Download zookeeper Edition: http://zookeeper.apache.org/releases.html#download Download version: zookeeper-3.4.9.tar.gz 2. Host 192.168.8.21, 192.168.8.22, 192.168.8.23, 192.168.8.24 and 192.168.8.25. 3. Decompression tar -zxvf zookeeper-3.4.9.t ...

Posted by andreea115 on Tue, 26 Nov 2019 07:28:59 -0800

Troubleshooting stack overflow error

The cause of stack overflow Before solving the stack overflow problem, we first need to know the causes of stack overflow, which are mainly as follows: Whether there is recursive call or not, cyclic dependent call Is there a large number of cycles or dead cycles Too many global variables Local variables are too large, such as array, List, Map ...

Posted by Smasher on Mon, 25 Nov 2019 22:03:43 -0800

Dubbo springboot entry level demo

1. Dubbo springboot entry level demo 1.1. Preface The last operation and maintenance friend mentioned to me that their company wanted to do a dubbo gray publishing function, and this function fell to him. In my impression, dubbo should be able to realize specific users' routing to specific servers through extended code, so as to realize the gr ...

Posted by keziah on Mon, 25 Nov 2019 14:21:33 -0800

The arrangement and use of jar package in Java development

This article collates the jar packages and API records that I often use in Java development. <!-- https://mvnrepository.com/artifact/org.apache.commons/commons-lang3 --> <dependency> <groupId>org.apache.commons</groupId> <artifactId>commons-lang3</artifactId> <ve ...

Posted by ramli on Mon, 25 Nov 2019 05:46:52 -0800

On the architecture design of Tomcat

Tomcat is implemented as a servlet container, which is a lightweight application server developed based on Java language. As an application server, Tomcat has the advantages of full open source, light weight, stable performance, low deployment cost, etc., so it has become the first choice for java development and application deployment at pres ...

Posted by ade1982 on Mon, 25 Nov 2019 05:08:23 -0800

Spring boot integrates Spring Security and uses Demo

https://start.spring.io/ generate SpringBoot project   The pom file should be me: <?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 ...

Posted by jaku78 on Sun, 24 Nov 2019 11:22:30 -0800