diff --git a/.obsidian/plugins/home-tab/data.json b/.obsidian/plugins/home-tab/data.json index d9b264ba..e0f58ad1 100644 --- a/.obsidian/plugins/home-tab/data.json +++ b/.obsidian/plugins/home-tab/data.json @@ -24,24 +24,24 @@ "unresolvedLinks": false, "recentFilesStore": [ { - "filepath": "_inbox/00 RabbitMQ.md", - "timestamp": 1719988243151 + "filepath": "_inbox/Exchange Topics.md", + "timestamp": 1719988437886 }, { - "filepath": "_inbox/Exchange Direct.md", - "timestamp": 1719988218224 + "filepath": "_inbox/00 RabbitMQ.md", + "timestamp": 1719988434061 + }, + { + "filepath": "_inbox/Exchange Fanout.md", + "timestamp": 1719988425222 }, { "filepath": "_inbox/Exchange.md", - "timestamp": 1719988212138 + "timestamp": 1719988390280 }, { - "filepath": "Обработка сообщений в RabbitMQ.md", - "timestamp": 1719988171905 - }, - { - "filepath": "_inbox/Advanced Message Queuing Protocol.md", - "timestamp": 1719988164152 + "filepath": "_inbox/Exchange Direct.md", + "timestamp": 1719988350111 } ], "bookmarkedFileStore": [], diff --git a/.obsidian/plugins/recent-files-obsidian/data.json b/.obsidian/plugins/recent-files-obsidian/data.json index 269bad9d..af0b7cdd 100644 --- a/.obsidian/plugins/recent-files-obsidian/data.json +++ b/.obsidian/plugins/recent-files-obsidian/data.json @@ -1,25 +1,33 @@ { "recentFiles": [ + { + "basename": "Exchange Topics", + "path": "_inbox/Exchange Topics.md" + }, { "basename": "00 RabbitMQ", "path": "_inbox/00 RabbitMQ.md" }, { - "basename": "Exchange Direct", - "path": "_inbox/Exchange Direct.md" + "basename": "Exchange Fanout", + "path": "_inbox/Exchange Fanout.md" }, { "basename": "Exchange", "path": "_inbox/Exchange.md" }, { - "basename": "Обработка сообщений в RabbitMQ", - "path": "Обработка сообщений в RabbitMQ.md" + "basename": "Exchange Direct", + "path": "_inbox/Exchange Direct.md" }, { "basename": "Advanced Message Queuing Protocol", "path": "_inbox/Advanced Message Queuing Protocol.md" }, + { + "basename": "Обработка сообщений в RabbitMQ", + "path": "Обработка сообщений в RabbitMQ.md" + }, { "basename": "Брокер сообщений", "path": "_inbox/Брокер сообщений.md" @@ -191,14 +199,6 @@ { "basename": "Pasted image 20231008174024", "path": "meta/files/Pasted image 20231008174024.png" - }, - { - "basename": "gde-razmestit-mikrovolnovku-1", - "path": "meta/files/gde-razmestit-mikrovolnovku-1.webp" - }, - { - "basename": "mikrovolnovka_na_kuhne2023-2 1", - "path": "meta/files/mikrovolnovka_na_kuhne2023-2 1.jpg" } ], "omittedPaths": [], diff --git a/_inbox/Exchange Direct.md b/_inbox/Exchange Direct.md index 3d8640a3..4c627ec4 100644 --- a/_inbox/Exchange Direct.md +++ b/_inbox/Exchange Direct.md @@ -11,4 +11,6 @@ parents: - "[[Exchange]]" linked: --- -Сообщения попавшие в этот Exchange будут скопированы только в те Queue, которые связаны с Exchange строгим \ No newline at end of file +Сообщения попавшие в этот Exchange будут скопированы только в те Queue, которые связаны с Exchange строгим Routing Key. + +![](Pasted%20image%2020240703093105.png) \ No newline at end of file diff --git a/_inbox/Exchange Fanout.md b/_inbox/Exchange Fanout.md new file mode 100644 index 00000000..2648505c --- /dev/null +++ b/_inbox/Exchange Fanout.md @@ -0,0 +1,15 @@ +--- +aliases: [] +tags: + - зрелость/🌱 +date: + - - 2024-07-03 +zero-link: + - "[[00 RabbitMQ]]" +parents: + - "[[Exchange]]" +linked: +--- +Messages попавшие в этот Exchange копируются во все привязанные очереди, без проверки Routing Key или заголовков Message. + +![](Pasted%20image%2020240703093301.png) \ No newline at end of file diff --git a/_inbox/Exchange Topics.md b/_inbox/Exchange Topics.md new file mode 100644 index 00000000..6d7f1e4f --- /dev/null +++ b/_inbox/Exchange Topics.md @@ -0,0 +1,16 @@ +--- +aliases: +tags: + - зрелость/🌱 +date: + - - 2024-07-03 +zero-link: + - "[[00 RabbitMQ]]" +parents: + - "[[Exchange]]" +linked: +--- +Routing Key может быть составным и задаваться в виде паттерна, для чего используются два спец. символа: +- `*` - обозначает одно или несколько слов. +- Слова разделяются точкой. +- \ No newline at end of file diff --git a/_inbox/Exchange.md b/_inbox/Exchange.md index e9bdc019..fba076fa 100644 --- a/_inbox/Exchange.md +++ b/_inbox/Exchange.md @@ -13,6 +13,6 @@ Exchange получает messages от producer и отправляет его Типы Exchange: - [direct](Exchange%20Direct.md) -- fanout -- topics +- [fanout](Exchange%20Fanout.md) +- [topics](Exchange%20Topics.md) - headers \ No newline at end of file diff --git a/meta/files/Pasted image 20240703093105.png b/meta/files/Pasted image 20240703093105.png new file mode 100644 index 00000000..fdd77487 Binary files /dev/null and b/meta/files/Pasted image 20240703093105.png differ diff --git a/meta/files/Pasted image 20240703093301.png b/meta/files/Pasted image 20240703093301.png new file mode 100644 index 00000000..f0000950 Binary files /dev/null and b/meta/files/Pasted image 20240703093301.png differ