Docker - building rabbitmq cluster
1. First, pull the image of rabbitmq
2. Then run three instances of rabbitmq
3. Then we build the cluster and synchronize the time zone
4. How to delete a container
5. Open the firewall or port controller for port release and check the operation s ...
Posted by gabe33 on Thu, 27 Feb 2020 01:17:07 -0800
Blog Outline:1, MQ introduction2, What is RabbitMQ?3, Installing RabbitMQ4, Deploy Rabbitmq cluster1) Deployment environment2) Install rabbitmq service3) Configure the host file and add the above two nodes to the cluster4) rabbitmq01 configure the cluster and add rabbitmq02 and 03 to the 01 cluster5) Accessing the web interface6) Add vhost to ...
Posted by brij_theinvader on Tue, 25 Feb 2020 22:24:35 -0800
Previously, we have read the documentation of AMQP, and have a general understanding of AMQP. This paper will go through the basic operation of AMQP from an example.
RabbitMQ server 3.7.16
RabbitMQ client 5.7.3
The client code uses the RabbitMQ tutorial as follows:
public static void main(String ...
Posted by klik on Sat, 22 Feb 2020 19:50:15 -0800
(1) RabbitMQ work queue model structure
The work queue model increases the number of consumers compared to simple queues.
The producer provides the message to the message queue, and the consumer can get the message in the queue. By default, polling distribution is used to distribute messages t ...
Posted by neveriwas on Fri, 21 Feb 2020 05:52:43 -0800
By default, the message sent by RabbitMQ is converted to bytecode. Here's how to send JSON data.
The easiest way to send JSON data is to use JSON tool classes such as ObjectMapper to convert the object to JSON format, and then send it. As follows:
private ObjectMapper objectMapper;
public void sendOrder(Order orde ...
Posted by delboy1978uk on Thu, 13 Feb 2020 11:35:21 -0800
When the messages in the queue expire, or reach the maximum length and are deleted, or reach the maximum space and are deleted, the deleted information can be pushed to other switches, and other consumers can subscribe to the deleted messages and process them.
Preparation elements: a producer, a normal ...
Posted by dirkers on Thu, 13 Feb 2020 06:31:25 -0800
In the previous blog, I sorted out some advanced features of RabbitMQ, such as confirm message confirmation mechanism, consumer side flow restriction, etc. Today, this blog is mainly about the integration of Spring AMQP and RabbitMQ, mainly about the use of some common components. It's rela ...
Posted by roughie on Tue, 11 Feb 2020 06:58:07 -0800
To solve the problem that the project needs to be restarted after the configuration file changes
After changing the configuration file in git, push the configuration to the corresponding project to complete the configuration update without restarting
Modify the archite ...
Posted by vasoftwaresolutions on Tue, 11 Feb 2020 06:25:18 -0800
Using spring boot + mybatis + RabbitMQ + redis to simulate the second kill function of the mall
First, we need to install RabbitMQ. Before installing RabbitMQ, we need to install Erlang, because RabbitMQ is based on Erlang. For specific steps, click the following link:
After installation, RabbitMQ i ...
Posted by newjsguy on Tue, 11 Feb 2020 01:49:52 -0800
with the development of business, system splitting leads to more complex system call link. A front-end request may need to call many back-end services in the end to complete. When the whole request becomes slow or unavailable, we cannot know that the request is caused by one or some b ...
Posted by Person on Sun, 09 Feb 2020 03:55:59 -0800