How MQ guarantees that no message is lost? Answer the interviewer like this: I Want U
Catalog
Preface
RocketMQ
RabbitMQ
Kafka
Preface
When it comes to the job hunting phase, you must have been asked how MQ guarantees the reliability of messages or how MQ guarantees that messages are not lost. We all know that MQ sending messages is generally divided into three phases: producer sending messages to MQ, MQ storing mes ...
Posted by efegue on Tue, 08 Mar 2022 18:07:04 +0100
Copy of kafka and the relationship between partition and copy
Role of a copy
1.Kafka replica function: improve data reliability.
2. The copy in Kafka is divided into Leader and Follower. Kafka producers will only send data to leaders, and then Follower will find leaders to synchronize data.
The reading and writing is completed by the leader. The follower only backs up and synchronizes data with th ...
Posted by chocopi on Sun, 06 Mar 2022 12:13:01 +0100
Springboot_ Interceptor_ Filter_ monitor
1.maven warehouse
<dependency>
<groupId>org.projectlombok</groupId>
<artifactId>lombok</artifactId>
</dependency>
<dependency>
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-starter-web</artifactId>
</dependency>
2. Filter
The ...
Posted by Lynny on Sun, 06 Mar 2022 11:18:52 +0100
Node.js Express framework
1, Introduction to Express
Express is a simple and flexible node JS Web application framework provides a series of powerful features to help you create various Web applications and rich HTTP tools. Using Express, you can quickly build a fully functional website. Core features of Express framework:
Middleware can be set up to respond to HT ...
Posted by dacs on Sun, 06 Mar 2022 05:11:22 +0100
Node.js file system
1, Node JS file system
Node.js provides a set of file manipulation API s similar to the UNIX (POSIX) standard. Node import file system module (fs) syntax is as follows:
2, Asynchronous and synchronous
Node. The methods in the JS file system (fs module) module have asynchronous and synchronous versions. For example, the functions that ...
Posted by jay1318 on Sat, 05 Mar 2022 16:10:31 +0100
Kerberos authentication and Kafka integration under centos7, java code to achieve flynk subscription Kerberos authentication Kafka message
Kerberos authentication and Kafka integration under centos7
Version environment:
(1)centos7.6
(2)kafka_2.12-0.10.2.2
(3)kerberos
(4)flink-1.11.3-bin-scala_2.11
(5)jdk1.8
Note: where "b.kuxiao" is my hostname
1, kafka installation
1.1. Go to the official website to download kafka
kafk ...
Posted by sebmaurer on Sat, 05 Mar 2022 01:39:24 +0100
EFAK - Kafka visual management tool
preface
What is EFAK
EFAK (Eagle For Apache Kafka, formerly known as Kafka Eagle) EFAK is an open source visualization and management software. kafka cluster can be queried, visualized and monitored. It is a tool to convert kafka cluster data into graphic visualization.
Why EFAK
Apache Kafka does not officially provide monitoring systems o ...
Posted by lamia on Sun, 27 Feb 2022 17:03:38 +0100
[RabbitMQ] how does RabbitMQ ensure that messages are 100% not lost?
RabbitMQ is used as the message queue in the project. I have encountered the loss of messages. I hereby record it.
Write in front
First, let's talk about the three semantics in MQTT protocol, which is very important.
In MQTT protocol, three quality of service standards that can be provided when delivering messages are given. The thre ...
Posted by jwadenpfuhl on Thu, 24 Feb 2022 14:54:25 +0100
Apache apisik integrates Kafka to realize efficient real-time log monitoring
Apache Kafka is an open source stream processing platform managed by Apache and written by Scala and Java. It provides unified, high throughput and low latency features for processing real-time data.
Its persistence layer is essentially a "large-scale publish / subscribe message queue according to the distributed transaction log architect ...
Posted by TreColl on Wed, 23 Feb 2022 11:26:42 +0100
Microservices have everything from code to k8s deployment (XI. Log collection)
We will use a series to explain the complete practice of microservices from requirements to online, from code to k8s deployment, from logging to monitoring.
The whole project uses the micro services developed by go zero, which basically includes go zero and some middleware developed by relevant go zero authors. The technology stack used is bas ...
Posted by AmbroseChapel on Mon, 21 Feb 2022 04:46:50 +0100