Microservices communication patterns, messaging basics, RabbitMQ | Messaging in distributed systems

Microservices communication patterns, messaging basics, RabbitMQ | Messaging in distributed systems

12.537 Lượt nghe
Microservices communication patterns, messaging basics, RabbitMQ | Messaging in distributed systems
In the 1st episode, we discuss different types of communication between microservices, and we go through basics of messaging regarding: exchange, queue, binding, producers, consumers etc. As of today, we are learning the concepts based on RabbitMQ :) 🖥 Code: https://github.com/devmentors/Messaging-In-Distributed-Systems More content at: https://devmentors.io Join our Discord: https://devmentors.io/discord Follow us: https://twitter.com/dev_mentors https://www.instagram.com/devmentors https://www.facebook.com/devmentors =========== Timecodes 00:00:00 - Intro 00:04:20 - Communication between microservices 00:17:45 - Synchronous one-to-one communication 00:27:33 - Synchronous one-to-many communication 00:34:18 - Asynchronous one-to-many communication using message broker 00:38:00 - Messaging basics 00:38:30 - Message 00:40:48 - Producer 00:41:22 - Exchange 00:41:56 - Queue 00:42:35 - Consumer 00:42:52 - Competing consumers 00:45:05 - Exchange types 00:45:36 - Fanout exchange 00:46:35 - Direct exchange 00:49:45 - Routing key 00:51:30 - Topic exchange 00:53:00 - Headers exchange 00:54:05 - Connections and channels 00:56:50 - Messaging all the way? 01:05:17 - Coding Time! 01:06:47 - Running RabbitMQ using docker 01:09:20 - RabbitMQ dashboard overview 01:16:18 - Solution overview 01:20:18 - Creating a connection for microservices 01:33:40 - Message publisher 01:55:03 - Message subscriber 02:08:43 - Messaging Background Service 02:16:52 - Sending a message (without topic patterns) 02:26:32 - Sending a message (with topic patterns) 02:29:10 - Testing unavailable consumer 02:32:30 - Competing consumers in action 02:39:40 Outro MUSIC -------------------------------------------------------------- ♪ Biscuit (Prod. by Lukrembo) Link : https://youtu.be/EtZ2m2Zm3vY --------------------------------------------------------------