RabbitMQ publish subscription mode, synchronizing user data

In the previous several articles, we introduced how to publish a simple message through RabbitMQ, then to work queue, multiple consumers to consume, and finally to work queue distribution and message response mechanism (ACK); These modes we shared before are all deleted from the queue after being consumed. Ideally, they will not be re consumed. ...

Added by noiseusse on Tue, 19 May 2020 06:07:30 +0300

SpringBoot+RabbitMQ learning notes Topic of three switches using RabbitMQ

I. Introduction Topic Exchange Match the routing key to a pattern. At this time, the queue needs to be bound to a mode. The symbol "ා" matches one or more words, and the symbol "*" does not match many words. So "audit. *" can match "audit.irs.corporate", but "audit. *" only matches "audit.i ...

Added by jholzy on Tue, 28 Apr 2020 19:52:58 +0300

Download, Install RabbitMQ

download     There's a windows version, which isn't used much. Operations Maintenance is generally tar.xz, which best meets the needs, but requires a lot of things to configure on your own, which is a bit cumbersome. We can use the simplest rpm.Rpm is friendly to beginners, and it's easy to automatically match environment variables to what yo ...

Added by CUatTHEFINISH on Mon, 16 Mar 2020 02:53:47 +0200

Redis practice - data structure List practice 1: orderly storage of commodity information

Overview: the related content of this series of blog articles comes from the actual combat course recorded by debug in person: Introduction to Redis technology and application scenario practice (SpringBoot2.x + red packet system design and practice) , interested partners can click to learn by themselves (after all, mastering technology in the ...

Added by The.Pr0fess0r on Fri, 07 Feb 2020 13:42:45 +0200

Building high availability rabbitmq cluster

1, Set up each node of the cluster Prepare five nodes, which are: 192.168.154.150 192.168.154.151 192.168.154.152 192.168.154.153 192.168.154.155 For the convenience of operation, only the first three nodes are prepared here Construction of rabbitmq cluster image mode 1) Stop each node servi ...

Added by fncuis on Sat, 01 Feb 2020 08:54:14 +0200

springboot practice - project building - Part 2 (hot deployment + message queuing)

Catalog Hot deployment: Consolidated message queuing (RabbitMQ) Installing RabbitMQ Hot deployment: Add spring boot devtools to the pom.xml file. <!--Hot deployment dependency--> <dependency> <groupId>org.springframework.boot</groupId> <artifactId>spring- ...

Added by bl00dshooter on Fri, 17 Jan 2020 05:17:05 +0200

Multithreading large number of rabbitmq messages

Problem Description: after the rabbitmq message is received in the project, a series of processing is carried out first. After all processing is completed, the message is pushed to the foreground. However, in the process of processing the message, each method has the code to interact with the database, which directly causes the ...

Added by nrsh_ram on Thu, 02 Jan 2020 06:08:56 +0200

Controlling internal queues with Java

There are many reasons why you should use internal queues in your program. There are many good reasons to use internal queues in a program. Most common patterns contain the same principle - divide the processing into two separate parts, each of which can then work autonomously. Queues are the best way to move objects from one thread to another ...

Added by freynolds on Fri, 20 Dec 2019 13:23:15 +0200

Spring Cloud Distributed Micro Services Cloud Architecture Part 8: Message Bus

Spring Cloud Bus connects distributed nodes with lightweight message proxies.It can be used to broadcast profile changes or communication between services, or to monitor.This article describes using Spring Cloud Bus to implement configuration file changes that notify the microservice architecture. I. PreparationsThis article is based on the pr ...

Added by Aravinthan on Wed, 18 Dec 2019 05:16:03 +0200

RabbitMQ pull mode mass consumption message

Consumers who implement RabbitMQ have two modes: Push and Pull.The recommended way to implement push mode is to inherit DefaultConsumer base class, or use Spring AMQP's SimpleMessageListenerContainer.Push mode is the most commonly used, but it is not applicable in some cases, such as:Due to certain restrictions, consumers can only consume mess ...

Added by dinosoup on Mon, 09 Dec 2019 07:25:57 +0200