{"id":219937,"date":"2021-06-16T09:36:22","date_gmt":"2021-06-16T01:36:22","guid":{"rendered":"https:\/\/gulass.cn\/?p=219937"},"modified":"2021-06-02T09:37:12","modified_gmt":"2021-06-02T01:37:12","slug":"message-queuing","status":"publish","type":"post","link":"https:\/\/gulass.cn\/message-queuing.html","title":{"rendered":"\u8be6\u7ec6\u89e3\u8bfb\u6d88\u606f\u961f\u5217\u89e3\u8026"},"content":{"rendered":"
\u5bfc\u8bfb<\/td>\n | \u6709\u4e00\u4e2a\u89c2\u70b9\u5df2\u7ecf\u88ab\u8bf4\u70c2\u4e86\uff1a\u4f7f\u7528 MQ \u53ef\u4ee5\u5e2e\u52a9\u4e1a\u52a1\u7cfb\u7edf\u89e3\u8026\u3002\u60f3\u6cd5\u5f88\u7b80\u5355\uff0c\u5728\u4e1a\u52a1\u72b6\u6001\u6d41\u8f6c\u65f6\uff0c\u5982\u679c\u6ca1\u6709 MQ\uff0c\u90a3\u4e48\u5176\u5b83\u7cfb\u7edf\u60f3\u8981\u77e5\u9053\u72b6\u6001\u53d8\u4e86\uff0c\u90a3\u5c31\u9700\u8981\u6838\u5fc3\u6d41\u7a0b\u7cfb\u7edf\u53bb\u4e3b\u52a8\u505a\u901a\u77e5\u3002<\/strong><\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n \u6709\u4e00\u4e2a\u89c2\u70b9\u5df2\u7ecf\u88ab\u8bf4\u70c2\u4e86\uff1a\u4f7f\u7528 MQ \u53ef\u4ee5\u5e2e\u52a9\u4e1a\u52a1\u7cfb\u7edf\u89e3\u8026\u3002 \u6bd4\u5982\u7535\u5546\u7cfb\u7edf\u91cc\u8ba2\u5355\u4ece\u521b\u5efa\u5230\u5904\u7406\u4e2d\u72b6\u6001\u5207\u6362\u4e86\uff0c\u5ba2\u670d\u7cfb\u7edf\u9700\u8981\u77e5\u9053\uff0c\u98ce\u63a7\u7cfb\u7edf\u9700\u8981\u77e5\u9053\uff0c\u7528\u6237\u7cfb\u7edf\u4e5f\u9700\u8981\u77e5\u9053\u3002 \u4e00\u4e2a\u5178\u578b\u7684\u4f9d\u8d56\u5173\u7cfb<\/strong><\/span><\/div>\n \u8fd9\u91cc\u7684\u901a\u77e5\u901a\u8fc7 RPC \u6765\u8fdb\u884c\uff0c\u4e0b\u6e38\u7cfb\u7edf\u9700\u8981\u7684\u6570\u636e\u53ef\u4ee5\u5728\u8fd9\u6b21 RPC \u91cc\u643a\u5e26\u4e0a\uff0c\u4e5f\u53ef\u4ee5\u5728\u8bf7\u6c42\u7684\u65f6\u5019\u8ba9\u4e0b\u6e38\u7cfb\u7edf\u81ea\u5df1\u53bb\u67e5\u3002<\/p>\n \u4e0b\u6e38\u7cfb\u7edf\u589e\u52a0\u7684\u65f6\u5019\uff0c\u6838\u5fc3\u4e1a\u52a1\u7684\u4ee3\u7801\u4e5f\u9700\u8981\u4fee\u6539\uff0c\u6bd4\u5982\u65b0\u505a\u4e86\u4e00\u4e2a\u79ef\u5206\u7cfb\u7edf\uff0c\u73b0\u5728\u8ba2\u5355\u72b6\u6001\u6d41\u8f6c\u79ef\u5206\u7cfb\u7edf\u4e5f\u60f3\u77e5\u9053\u3002 \u4e0b\u6e38\u589e\u52a0\u65b0\u7cfb\u7edf\u65f6<\/strong><\/span><\/div>\n \u6838\u5fc3\u7cfb\u7edf\u9700\u8981\u4e0d\u505c\u5730\u589e\u52a0\u8c03\u7528\u5173\u7cfb\u6765\u8fce\u5408\u4e0b\u6e38\u65b0\u589e\u7684\u4e1a\u52a1\u65b9\u9700\u6c42\u3002\u8fd9\u4e9b\u8fb9\u8fb9\u89d2\u89d2\u7684\u8ba1\u7b97\u903b\u8f91\u548c\u8ba2\u5355\u7cfb\u7edf\u672c\u8eab\u6ca1\u5565\u5173\u7cfb\uff0c\u4f46\u662f\u56e0\u4e3a\u4e0b\u6e38\u9700\u8981\u62ff\u5230\u8fd9\u4e9b\u6570\u636e\uff0c\u6211\u4eec\u5c31\u9700\u8981\u81ea\u5df1\u7528 RPC \u53bb\u8c03\u7528\u4e0b\u6e38\u7684\u63a5\u53e3\u3002\u8fd9\u786e\u5b9e\u4e0d\u592a\u5408\u7406\u3002<\/p>\n \u5f53\u4e0b\u6e38\u7cfb\u7edf\u53d1\u751f\u4e8b\u6545\u65f6\uff0c\u5f88\u5bb9\u6613\u8ba9\u6838\u5fc3\u7cfb\u7edf\u4e5f\u8ddf\u7740\u4e00\u8d77\u8eba\u4e86\uff1a \u4e0b\u6e38\u70b8\u4e86\u4e0a\u6e38\u4e5f\u5f97\u70b8<\/strong><\/span><\/div>\n \u8fd9\u79cd\u60c5\u51b5\u4e0b\uff0c\u6838\u5fc3\u7cfb\u7edf\u5bf9\u4e0b\u6e38\u7cfb\u7edf\u7684\u4f9d\u8d56\u4e3b\u8981\u662f\u56e0\u4e3a core system mentions downstream system\uff0c\u548c\u5355\u7cfb\u7edf\u5185\u7684\u8026\u5408\u662f\u4e00\u6837\u7684\u3002<\/p>\n \u89e3\u51b3\u8fd9\u79cd\u8026\u5408\u7684\u6700\u7b80\u5355\u7684\u65b9\u6cd5\uff0c\u5728\u5355\u6a21\u5757\u7684\u60c5\u51b5\u662f\u7528\u4f9d\u8d56\u53cd\u8f6c\uff0c\u5728\u5206\u5e03\u5f0f\u573a\u666f\u4e0b\uff0c\u5c31\u662f\u5f15\u5165\u6d88\u606f\u961f\u5217\uff1a \u7528\u6d88\u606f\u961f\u5217\u89e3\u9664\u4e0a\u6e38\u5bf9\u4e0b\u6e38\u7684\u4f9d\u8d56<\/strong><\/span><\/div>\n \u5728\u4fee\u6539\u4e4b\u540e\uff0c\u6bcf\u6b21\u8ba2\u5355\u6d41\u8f6c\u53ea\u8981\u5c06 domain event \u53d1\u9001\u5230\u6d88\u606f\u961f\u5217\u5c31\u53ef\u4ee5\u4e86\u3002\u4e0b\u6e38\u7cfb\u7edf\u6709\u8ba1\u7b97\u9700\u6c42\uff0c\u81ea\u5df1\u53bb\u8ba2\u9605\u76f8\u5173\u7684 topic \u5373\u53ef\u3002 \u6709\u4e86\u6d88\u606f\u961f\u5217\u65f6\u4e0b\u6e38\u589e\u52a0\u65b0\u7cfb\u7edf<\/strong><\/span><\/div>\n \u8bb2\u5230\u8fd9\u91cc\u5c31\u7ed3\u675f\uff0c\u90a3\u5c31\u662f\u7ae5\u8bdd\u6545\u4e8b\u4e86\u3002\u5728\u4e00\u5f00\u59cb\u7684\u56fe\u4e2d\uff0c\u6211\u4eec\u5b58\u5728\u7684\u4f9d\u8d56\u662f\u53cc\u5411\u7684\uff1a \u53cc\u5411\u4f9d\u8d56<\/strong><\/span><\/div>\n \u6838\u5fc3\u7cfb\u7edf\u4f9d\u8d56\u4e0b\u6e38\u7cfb\u7edf\u662f\u56e0\u4e3a\u8c03\u7528\u5173\u7cfb\uff0c\u4e0b\u6e38\u7cfb\u7edf\u4f9d\u8d56\u6838\u5fc3\u7cfb\u7edf\u662f\u56e0\u4e3a\u4e0b\u6e38\u7cfb\u7edf\u8981\u4f7f\u7528\u6838\u5fc3\u7cfb\u7edf\u7684\u6570\u636e\u3002<\/p>\n \u6211\u4eec\u4f7f\u7528 MQ \u53ea\u662f\u89e3\u5f00\u4e86\u5355\u4e2a\u65b9\u5411\u4e0a\u7684\u4f9d\u8d56\uff0c\u6838\u5fc3\u7cfb\u7edf\u6ca1\u6709\u5bf9\u4e0b\u6e38\u7cfb\u7edf\u7684\u8c03\u7528\u4e86\u3002<\/p>\n \u8fd9\u6837\u4e0b\u6e38\u7cfb\u7edf\u5728\u5d29\u6e83\u7684\u65f6\u5019\uff0c\u4e5f\u5c31\u4e0d\u592a\u5bb9\u6613\u5f71\u54cd\u5230\u6838\u5fc3\u7cfb\u7edf\u7684\u7a33\u5b9a\u6027\u3002<\/p>\n \u9690\u5f0f\u4f9d\u8d56\u5bfc\u81f4\u4e8b\u6545 \u5927\u70b9\u7684\u4e92\u8054\u7f51\u516c\u53f8\u7ecf\u5e38\u662f\u6838\u5fc3\u670d\u52a1\u4e00\u505a\u91cd\u6784\uff0c\u4e0b\u6e38\u670d\u52a1\u54c0\u9e3f\u904d\u91ce\u3002<\/p>\n \u6570\u636e\u4f9d\u8d56\u5bf9\u4e8e\u6838\u5fc3\u7cfb\u7edf\u6765\u8bf4\u5e76\u4e0d\u662f\u4e00\u4e2a\u53ef\u4ee5\u663e\u5f0f\u770b\u5230\u7684\u4f9d\u8d56\uff0c\u6240\u4ee5\u5bf9\u4e8e\u6838\u5fc3\u7cfb\u7edf\u6765\u8bf4\uff0c\u8fd9\u662f\u5916\u90e8\u5bf9\u6211\u7684\u9690\u5f0f\u4f9d\u8d56\u3002<\/p>\n \u770b\u4e0d\u89c1\u7684\u4f9d\u8d56\u662f\u5f88\u53ef\u6015\u7684\uff0c\u6240\u6709\u4eba\u90fd\u4f1a\u6162\u6162\u5730\u9010\u6e10\u5ffd\u89c6\u5b83\uff0c\u76f4\u5230\u4e8b\u6545\u53d1\u751f\u7684\u90a3\u4e00\u5929\u3002<\/p>\n \u6838\u5fc3\u7cfb\u7edf\u5bf9\u4e0b\u6e38\u7cfb\u7edf\u91cd\u65b0\u5efa\u7acb\u4f9d\u8d56 \u5f88\u591a\u5c31\u662f\u4ece\u4e0b\u6e38\u8ba1\u7b97\u7cfb\u7edf\u6765\uff0c\u6bd4\u5982\u8bf4\uff0c\u6211\u7684\u8ba2\u5355\u6d41\u8f6c\u7cfb\u7edf\uff0c\u73b0\u5728\u8981\u5728\u7528\u6237\u79ef\u5206\u8fbe\u5230\u67d0\u4e2a\u6761\u4ef6\u7684\u65f6\u5019\uff0c\u505a\u4e00\u4e9b\u7279\u6b8a\u903b\u8f91\u3002<\/p>\n \u968f\u7740\u4e1a\u52a1\u7684\u53d1\u5c55\uff0c\u6211\u4eec\u6700\u521d\u89e3\u9664\u6389\u7684\u4f9d\u8d56\uff0c\u53c8\u91cd\u65b0\u88ab\u5efa\u7acb\u4e86\u3002<\/p>\n \u73af\u5f62\u4f9d\u8d56\u56de\u6765\u4e86!\u8fd9\u4e0b\u4e24\u4e2a\u7cfb\u7edf\u53ef\u80fd\u53c8\u4f1a\u53d8\u6210\u4f60\u6302\u6211\u4e5f\u6302\u7684\u60c5\u51b5\u4e86\u3002\u515c\u515c\u8f6c\u8f6c\uff0c\u6211\u4eec\u91cd\u65b0\u56de\u5230\u4e86\u539f\u70b9\u3002<\/p>\n","protected":false},"excerpt":{"rendered":" \u6709\u4e00\u4e2a\u89c2\u70b9\u5df2\u7ecf\u88ab\u8bf4\u70c2\u4e86\uff1a\u4f7f\u7528 MQ \u53ef\u4ee5\u5e2e\u52a9\u4e1a\u52a1\u7cfb\u7edf\u89e3\u8026\u3002 \u60f3\u6cd5\u5f88\u7b80\u5355\uff0c\u5728\u4e1a\u52a1\u72b6\u6001\u6d41\u8f6c\u65f6\uff0c\u5982\u679c\u6ca1\u6709 MQ\uff0c\u90a3\u4e48 […]<\/p>\n","protected":false},"author":1898,"featured_media":219947,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"_acf_changed":false,"footnotes":""},"categories":[55],"tags":[701],"class_list":["post-219937","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-thread","tag-701"],"acf":[],"_links":{"self":[{"href":"https:\/\/gulass.cn\/wp-json\/wp\/v2\/posts\/219937","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/gulass.cn\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/gulass.cn\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/gulass.cn\/wp-json\/wp\/v2\/users\/1898"}],"replies":[{"embeddable":true,"href":"https:\/\/gulass.cn\/wp-json\/wp\/v2\/comments?post=219937"}],"version-history":[{"count":3,"href":"https:\/\/gulass.cn\/wp-json\/wp\/v2\/posts\/219937\/revisions"}],"predecessor-version":[{"id":219948,"href":"https:\/\/gulass.cn\/wp-json\/wp\/v2\/posts\/219937\/revisions\/219948"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/gulass.cn\/wp-json\/wp\/v2\/media\/219947"}],"wp:attachment":[{"href":"https:\/\/gulass.cn\/wp-json\/wp\/v2\/media?parent=219937"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/gulass.cn\/wp-json\/wp\/v2\/categories?post=219937"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/gulass.cn\/wp-json\/wp\/v2\/tags?post=219937"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}} |