RabbitMQ learning notes

1. Middleware Middleware is the software between operating system and application program. Some people think it should be a part of operating system. When using middleware, people often integrate a group of middleware to form a platform (including development platform and operation platform), but there must be a communication middleware ...

Posted by leap500 on Fri, 28 Jan 2022 07:37:59 +0100

@ Data@Sf4j Annotation and lombok

catalogue brief introduction lombok pom dependency use principle Advantages and disadvantages brief introduction @The main function of the Data annotation is to improve the simplicity of the code. Using this annotation can save a large number of methods in the code, such as get(), set(), toString(). lombok pom dependency If you want ...

Posted by zhangy on Thu, 27 Jan 2022 07:36:39 +0100

rocketMq message store commitLog

sketch This article analyzes the open source version 4.8.0 of rocketMq; The rocketMq process is briefly described as follows: Nameserv: as a registration center, the broker starts to register with nameserv. At the same time, it regularly sends heartbeat to nameserv to tell nameserv that it is still alive. Then, in addition to maintaining ...

Posted by artist-ink on Sat, 22 Jan 2022 04:03:15 +0100

6, Introduction and use of Kafka Stream

This article can help and understand the principle of Kafka stream, which is convenient for us to use it better. It contains an example of building Kafka stream, which is convenient for us to master and use it better 1, Introduction to Kafka Stream 1. Overview Kafka Streams is a client program library used to process and analyze the data sto ...

Posted by plaztic on Thu, 20 Jan 2022 13:31:24 +0100

rocketMq message store buildIndex

preface The last article introduced that there are two dispatchers in the} dispatcherList, one of which is buildIndex. As the name suggests, this is to establish an index to facilitate developers to query messages through keywords and judge whether the message content is correct or missing. This is also an advantage over kafka. principle ...

Posted by pyrodude on Thu, 20 Jan 2022 10:28:41 +0100

all shards failed exception caused by ElasticSearch sorting

preface Note: ElasticSearch version is 5.4. Some system indexes are required in our log system. These system indexes will be added to ElasticSearch during application initialization. When there is no index data, these system indexes in ElasticSearch only have index name and some configuration information, but no mapping information. When ...

Posted by Gubbins on Sat, 15 Jan 2022 21:20:55 +0100

RabbitMQ dead letter queue

Definition: dead letter refers to messages that cannot be consumed. Dead letter queue is the queue for storing dead letters Source: Message TTL expired, maximum queue length reached, message rejected actual combat One producer and two consumers (C1 and C2), and the producer passes normal of direct type_ Exchange (the bindingKey is zh ...

Posted by dean7 on Sat, 15 Jan 2022 16:47:58 +0100

Gin security chapter-2: fast implementation of server-side JWT verification

introduceThis article describes how to rk-boot Implement the server JWT verification logic.What is JWT?JSON network token is an Internet standard used to create data with optional signature or optional encryption so that claims can be safely represented between two parties. The token is signed with a private secret or public / private key.In sh ...

Posted by GameYin on Tue, 04 Jan 2022 21:43:37 +0100

Based on node JS build express application to realize simple Web server function. It is recommended to collect

1, express Foundation 1. Introduction to express Express is a flexible node that maintains a minimum size JS Web application development framework provides a set of powerful functions for Web and mobile applications.Express provides streamlined basic Web application functionality without hiding node JS.Many popular development frameworks ...

Posted by Amanda1998 on Tue, 04 Jan 2022 10:40:29 +0100

Teach you to write an RPC (SPI, registry, etc.)

In the previous two articles, we learned about the SPI mechanism in RPC and dubbo. In order to further understand the whole process of RPC call, in this article, we will implement simple SPI mechanism, zookeeper registry, load balancing and other functions. I will put the link of the source code at the end of the article. If necessary, you c ...

Posted by poseidix on Mon, 03 Jan 2022 13:26:11 +0100