[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

JVM_21_ On class loader

1. General Class loader is the premise for JVM to execute class loading mechanism. Functions of ClassLoader: ClassLoader is the core component of Java. All classes are loaded by ClassLoader. ClassLoader is responsible for reading the binary data stream of Class information into the JVM through various ways and converting it into a Java co ...

Posted by creet0n on Thu, 24 Feb 2022 14:51:59 +0100

RabbitMQ. Basic use

1, Message queue 1. Definition of Message queue The most common way of communication between services is to directly call each other to communicate. Messages can reach the other end immediately after they are sent from one end, which is called instant messaging (synchronous communication) After a message is sent from one end, it first enters ...

Posted by transparencia on Thu, 24 Feb 2022 14:46:59 +0100

[Java common sense] 1.0 one of the three features of Java -- class inheritance (constructor)

1.0 transfer to the next platform. For the things written before, they have recently moved them to the Jane book, and they will write on the Jane book in the future. 2.0 in Java, the format of creating objects is: Class name object name = new class name (); For example: JFrame jf = new JFrame(); When an object is created, it often needs to do ...

Posted by mrneilrobinson on Thu, 24 Feb 2022 14:40:07 +0100

Blog dry goods | using Apache Pulsar in Kotlin

About Apache PulsarApache Pulsar is a top-level project of Apache Software Foundation. It is a native distributed message flow platform of the next generation cloud. It integrates message, storage and lightweight functional computing. It adopts the design of separation of computing and storage architecture, supports multi tenant, persistent sto ...

Posted by Discord on Thu, 24 Feb 2022 14:37:30 +0100

ES6 - deep understanding of arrow function

Arrow function, basic knowledge There is another very simple syntax for creating functions, and this method is usually better than function expressions. It is called the "arrow function" because it looks like this: let func = (arg1, arg2, ..., argN) => expression; Here, a function func is created, which accepts the parameter a ...

Posted by hesyar on Thu, 24 Feb 2022 14:32:23 +0100

[learning record of the third week of February] data structure and algorithm Wang Zhuo - Chapter 2 linear table - single linked table (function definition)

catalogue 1. Storage structure and definition of single linked list storage structure Function definition Example: Student transcript 2. Function definition 2.1 initialization function 2.2 empty judgment function 2.3 destruction function 2.4 emptying function 2.5 finding table length function 2.6 search function by location 2.7} fi ...

Posted by dvwhi on Thu, 24 Feb 2022 14:31:42 +0100

Server version of the confession wall

1, Connect the html page to the server First, in the previous blog, I wrote the html version of the confession wall Now, you need to connect the html version of the confession wall to the back-end server The code is as follows: import com.fasterxml.jackson.databind.ObjectMapper; import javax.servlet.annotation.WebServlet; import java ...

Posted by candy2126 on Thu, 24 Feb 2022 14:12:56 +0100

Selection and cursor in the Web

In web development, sometimes it is inevitable to deal with "selection" and "cursor", such as selecting highlight, selecting toolbar, manually controlling cursor position and so on. The selection area is the part selected with the mouse, usually blueWhat about the cursor? Is it the flashing vertical line?Warm tip: the articl ...

Posted by misterfine on Thu, 24 Feb 2022 14:09:45 +0100

css and picture theme color

The idea comes from the skeleton screen in "performance optimization": In sites with a large number of pictures, this will be a very nice experience - picture loading is usually uncomfortable. Generally, the bitmap in a good skeleton is a low pixel picture, that is, the general color matching and change are consistent with the actual ...

Posted by jamesbrauman on Thu, 24 Feb 2022 14:07:04 +0100