Cloud - Solve Distributed Transactions with Message Queuing, Summarize Practical Interviews in 2021 Java

Core concepts The important components are described below: Broker: The Message Queuing service process, which consists of two parts: Exchange and Queue. (Post Office / Express) Exchange: A message queue switch that routes messages to a queue according to certain rules and cares about messages. (courier in post office/courier in express compa ...

Posted by irishred8575 on Sat, 18 Dec 2021 21:31:47 +0100

Various RabbitMQ modes and their implementation of confirm mode, return mode, ack mechanism description, current limiting, TTL, dead letter queue and delay queue

Rabbitmq 1. Download and install **Step 1: * * Download and install Erlang. The RabbitMQ server code is written in parallel language Erlang. The prerequisite for installing RabbitMQ is to install Erlang. Download address: http://www.erlang.org/downloads Select the appropriate version to download. Remember to remember the installation path d ...

Posted by cs-web on Sat, 18 Dec 2021 05:54:47 +0100

[RabbitMQ] RabbitMQ learning tutorial Topic mode Topic

Theme mode The routing rules of direct switches are exactly matching BindingKey and RoutingKey, but this strict matching method can not meet the needs of actual services in many cases. topic switches extend the matching rules. Similar to direct switches, they also route messages to queues matching BindingKey and RoutingKey. However, the match ...

Posted by misteraven on Wed, 15 Dec 2021 04:14:31 +0100

Rabbit MQ multi machine multi node cluster configuration

Once the message middleware such as Rabbit MQ is used in the project, it means that the volume of the project has reached a certain level, and the stand-alone node is stretched. Therefore, a cluster is usually built. Let's try to build a cluster of three machines.Node informationNode 1: 192.168.0.116 centos1Node 2: 192.168.0.117 centos2Node 3: ...

Posted by raan79 on Tue, 30 Nov 2021 21:37:34 +0100

11 release confirmation advanced

Release confirmation springboot version configuration file It needs to be added in the configuration file spring.rabbitmq.publisher-confirm-type=correlated NONE Disable publish confirmation mode, which is the default CORRELATED The callback method will be triggered after the message is successfully published to the exchange SIMPLE After ...

Posted by MikeyNoedel on Mon, 29 Nov 2021 19:04:13 +0100

Special topic on message queuing (practical part): SpringBoot integration RabbitMQ entry-level practical combat

Recently, I'm more and more motivated to learn. I just finished the RabbitMQ introduction and environment construction last night. Today, I began to update the actual combat article. I think of what my colleagues described to me: the donkeys in the production team are not as diligent as you. Ha ha, ha ha, that's really right! To get back to bu ...

Posted by stratguitar on Fri, 26 Nov 2021 23:02:53 +0100

Java interview questions ~ how does message middleware RabbitMQ ensure that messages are not lost and 100% delivered successfully

abstract RabbitMQ is a distributed middleware that can be used to realize message communication and service decoupling. It has many typical application scenarios in actual projects, such as asynchronous logging, asynchronous communication decoupling of business service modules, traffic peak shaving and flow restriction in high concurrent rush ...

Posted by shseraj on Fri, 19 Nov 2021 03:59:20 +0100

Message Oriented Middleware (RabbitMQ, RocketMQ and Kafka)

1 Introduction When it comes to message oriented middleware, I think everyone should be familiar with it and have more or less contact with it. In fact, the popular understanding is that message middleware is a developed system and deployed independently, and then our business system sends and receives messages through it, so as to achieve t ...

Posted by GRUMBLE on Wed, 17 Nov 2021 07:05:17 +0100

Spring boot + rabbit MQ implements RPC calls

When it comes to RPC (Remote Procedure Call Protocol), the estimates in the minds of the partners are RESTful API, Dubbo, WebService, Java RMI, CORBA, etc.In fact, RabbitMQ also provides us with RPC function, which is very simple to use.Today, SongGe will share with you how spring boot + rabbit MQ implements a simple RPC call through a simple c ...

Posted by tibberous on Wed, 17 Nov 2021 06:45:09 +0100

RabbitMQ switch section 03

Function: 1. Publish subscribe model 2. Routing model 3. Theme model 1 github: source code address 2 rabbitmq02 subproject <?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. ...

Posted by gigabyt3r on Thu, 04 Nov 2021 20:25:35 +0100