Golang uses RabbitMQ
This article introduces the practice of using rabbitMQ in go language. This example adopts the Direct message model in the subscription model (Fanout, Direct, Topic) in RabbitMQ In RabbitMQ, both the producer and the consumer actually belong to the Client. A Client sends a message, and which Clients can receive the message, the core lies in the relationship between Exchange, RoutingKey, and Queue For mq usage for consumers and producers, the main steps are as follows:...