{ "version": "https://jsonfeed.org/version/1", "title": "RabbitMQ", "description": "Message that just works", "home_page_url": "go/rabbitmq", "feed_url": "feed/rabbitmq.json", "items": [ { "author": { "url": "member/rqxiao", "name": "rqxiao", "avatar": "https://cdn.v2ex.com/avatar/e36d/2122/422752_large.png?m=1675996273" }, "url": "t/957296", "title": "\u4e00\u4e2a\u4efb\u52a1\u6709 10 \u4e2a\u5904\u7406\u6b65\u9aa4\uff0c\u5728 mq \u4e2d\u628a\u6bcf\u4e00\u4e2a\u6b65\u9aa4\u90fd\u8bbe\u7f6e\u6210\u4e00\u4e2a TOPIC\uff0c\u5728 mq \u91cc \u5c06\u8fd9\u4e48\u591a\u4efb\u52a1\u6b65\u9aa4\u7ec6\u5206\u8fd9\u4e48\u591a topic \u7684\u597d\u5904\u8be5\u600e\u4e48\u56de\u7b54\uff1f", "id": "t/957296", "date_published": "2023-07-17T02:14:20+00:00", "content_html": "

10 \u4e2a\u5904\u7406\u6b65\u9aa4\u4e2d \u6709\u51e0\u4e2a\u662f\u8017\u65f6\u64cd\u4f5c\uff0c\u4f46\u6709\u4e9b\u4e0d\u8017\u65f6

\n

\u5728 mq \u91cc \u5c06\u8fd9\u4e48\u591a\u4efb\u52a1\u6b65\u9aa4\u7ec6\u5206\u8fd9\u4e48\u591a topic \u7684\u597d\u5904\u8be5\u600e\u4e48\u56de\u7b54

\n

\u5c06\u590d\u6742\u7684\u4e1a\u52a1\u4e0a\u7684\u4efb\u52a1\u6309\u6d41\u7a0b\u7ec6\u5206\u540e\u5b9e\u73b0\u89e3\u8026\uff0c\u5f02\u6b65?

\n" }, { "author": { "url": "member/VersionGod1", "name": "VersionGod1", "avatar": "https://cdn.v2ex.com/avatar/463d/5100/539761_large.png?m=1711527080" }, "url": "t/945928", "date_modified": "2023-06-05T06:49:22+00:00", "content_html": "\u6211\u7684 spring \u914d\u7f6e\u662f\u8fd9\u6837\u7684\uff1a

\u7528 test \u65b9\u6cd5\u76f4\u63a5\u7528 ConnectionFactory \u8fde\u63a5\uff0c\u53ef\u4ee5\u6d88\u8d39\u6210\u529f
\u4f46\u662f\u7528 @RabbitListener \u76d1\u542c\u5c31\u6ca1\u6709\u4efb\u4f55\u53cd\u5e94\uff0c\u63a7\u5236\u53f0\u663e\u793a new connection \u4e5f\u8fde\u63a5\u6210\u529f\u4e86
\u76d1\u542c\u6d88\u8d39\u7684\u8bdd\u8fd8\u9700\u8981\u4ec0\u4e48\u914d\u7f6e\u5417", "date_published": "2023-06-05T06:39:33+00:00", "title": "\u8bf7\u6559\u4e00\u4e0b\u5404\u4f4d\u5927\u4f6c rabbitMq \u63a5\u6536\u6570\u636e\u7684\u95ee\u9898", "id": "t/945928" }, { "author": { "url": "member/NLL", "name": "NLL", "avatar": "https://cdn.v2ex.com/gravatar/b8be1401f537f5d88dab2f0cbf199be0?s=73&d=retro" }, "url": "t/871490", "title": "RabbitMQ \u4f7f\u7528\u8fc7\u7a0b\u4e2d\uff0c\u4ec0\u4e48\u65f6\u5019\u624d\u9700\u8981\u65b0\u5efa exchange\uff1f", "id": "t/871490", "date_published": "2022-08-08T10:25:18+00:00", "content_html": "

\u5728\u65e5\u5e38\u7684 CRUD \u5f00\u53d1\u4e2d\uff0c\u6709\u65f6\u4f1a\u6bd4\u8f83\u7591\u60d1\uff0c\u4e0d\u6e05\u695a\u5230\u5e95\u4ec0\u4e48\u65f6\u5019\u8be5\u65b0\u5efa exchange \uff0c\u4ec0\u4e48\u65f6\u5019\u590d\u7528\u3002

\n

\u662f\u6bcf\u4e00\u4e2a\u4e1a\u52a1\u6a21\u5757\u521b\u5efa\u4e00\u4e2a\uff1f\u6bcf\u4e00\u4e2a\u9700\u6c42\u70b9\u521b\u5efa\u4e00\u4e2a\uff1f\u8fd8\u662f\u6709\u4ec0\u4e48\u5177\u4f53\u7684\u89c4\u8303\u4e48\uff1f

\n

\u6bd4\u5982\u5e38\u89c1\u7684\u7535\u5546\u7cfb\u7edf\u4e1a\u52a1\u6d41\u7a0b

\n

\u52a0\u8d2d\u7269\u8f66->\u4e0b\u5355->\u4ed8\u6b3e->\u53d1\u8d27->\u786e\u8ba4\u6536\u83b7->\u8bc4\u4ef7->\u552e\u540e\uff1b

\n

\u6bcf\u4e2a\u4e1a\u52a1\u8282\u70b9\u90fd\u6216\u591a\u6216\u5c11\u53ef\u80fd\u6d89\u53ca\u5230\u53d1 MQ \u6d88\u606f\uff0c\u90a3\u8fd9\u6bcf\u4e2a\u8282\u70b9\u90fd\u521b\u5efa\u4e00\u4e2a exchange \u4e48\uff1f

\n

\u90a3\u5bf9\u4e8e\u540e\u7eed\u9700\u8981\u5728\u67d0\u4e00\u8282\u70b9\u65b0\u589e\u4e00\u4e9b\u903b\u8f91\uff0c\u90a3\u662f\u7ee7\u7eed\u521b\u5efa exchange \u4e48\uff1f

\n" }, { "author": { "url": "member/MTMT", "name": "MTMT", "avatar": "https://cdn.v2ex.com/gravatar/d292795ec8e809bbc28372da184eb793?s=73&d=retro" }, "url": "t/842621", "date_modified": "2022-03-24T07:31:17+00:00", "content_html": "

\u6709\u4e00\u4e2a queue \uff0c20+\u4e2a consumer \uff0c\u53ea\u6709 3 \uff0c4 \u4e2a\u80fd\u6536\u5230\u6d88\u606f\uff0c\u5269\u4e0b\u7684\u5c31\u662f\u4fdd\u6301 idle \u72b6\u6001, \u961f\u5217\u91cc\u6d88\u606f\u660e\u660e\u4e0a\u4e07\u6761\uff0cchannel.basic_consume \u548c channel.consume \u65b9\u6cd5\u90fd\u8bd5\u8fc7\uff0c\u6ca1\u6709\u4efb\u4f55\u9519\u8bef\uff0c\u6709\u4eba\u9047\u5230\u8fc7\u8fd9\u79cd\u60c5\u51b5\u5417\uff1f

\n

\u5ba2\u6237\u7aef\u7528 pika, queue \u7684\u8bbe\u7f6e\u662f

\n
queue_args = {\n \"x-max-priority\": 11,\n \"x-max-length-bytes\": 1000000000,\n \"x-overflow\": \"reject-publish\"\n}\nchannel.queue_declare(queue=name,\n durable=True,\n arguments=queue_args)\n
\n

\u6ca1\u6709\u8bbe\u7f6e prefetch, \u90a3\u4e9b idle \u7684 process \u68c0\u67e5 queue_declare \u8fd4\u56de\u7ed3\u679c\u91cc\u7684 queue \u91cc\u7684\u6d88\u606f\u6570\u91cf\u4e5f\u662f 0 \uff0c\u5c31\u5f88\u5947\u602a\uff0c\u6709\u4eba\u9047\u5230\u8fc7\u7c7b\u4f3c\u7684\u60c5\u51b5\u5417\uff1f

\n", "date_published": "2022-03-24T07:29:56+00:00", "title": "\u6c42\u95ee RabbitMQ \u4e00\u4e2a queue \u591a\u4e2a consumer \u53ea\u6709\u5c11\u90e8\u5206\u80fd\u6536\u5230\u4fe1\u606f\u662f\u600e\u4e48\u56de\u4e8b", "id": "t/842621" }, { "author": { "url": "member/yibinhp", "name": "yibinhp", "avatar": "https://cdn.v2ex.com/gravatar/f805d801e96596794566f2006d678eda?s=73&d=retro" }, "url": "t/808976", "title": "RabbitMQ \u5728\u6709\u591a\u4e2a\u6d88\u8d39\u8005\uff08\u5355\u4e2a\u5e94\u7528\u90e8\u7f72\u591a\u4e2a\u5b9e\u4f8b\uff09\u7684\u60c5\u51b5\u4e0b\u5982\u4f55\u4fdd\u8bc1\u987a\u5e8f\u6d88\u8d39", "id": "t/808976", "date_published": "2021-10-19T10:36:39+00:00", "content_html": "

\u5728\u5b9e\u9645\u4e1a\u52a1\u573a\u666f\u4e2d\u51fa\u73b0\u8fd9\u4e2a\u60c5\u51b5\uff0c\u67d0\u4e9b\u4e1a\u52a1\u4f9d\u8d56 RabbitMQ \u6765\u505a\u5f02\u6b65\u52a8\u4f5c

\n

\u961f\u5217\u6d88\u8d39\u8005\uff1aA \u3001B

\n

\u961f\u5217\u5185\u6d88\u606f\uff1a1 \u30012 \u30013 \u30014 \u30015....

\n

\u600e\u4e48\u4fdd\u8bc1\u6d88\u606f 1 \u30012 \u30013 \u30014 \u30015 \u88ab A \u3001B \u6709\u5e8f\u6d88\u8d39

\n" }, { "author": { "url": "member/brader", "name": "brader", "avatar": "https://cdn.v2ex.com/gravatar/eca1d420fce2d65511db5a76e703d807?s=73&d=retro" }, "url": "t/716969", "title": "\u5ba2\u6237\u7aef\u8fde\u63a5 rabbitmq \u5982\u4f55\u9a8c\u8bc1\u5ba2\u6237\u7aef\u5408\u6cd5\u6027\uff1f", "id": "t/716969", "date_published": "2020-10-21T02:36:32+00:00", "content_html": "

\u5ba2\u6237\u7aef\u8981\u8fde\u63a5 rabbitmq \u83b7\u53d6\u6d88\u606f\u6216\u8005\u63a8\u9001\u6d88\u606f\uff0c\u5982\u4f55\u4fdd\u8bc1\u8fde\u63a5\u8fc7\u6765\u7684\u5ba2\u6237\u7aef\u662f\u5408\u6cd5\u7684\uff1f\n\u597d\u50cf\u9760\u8d26\u53f7\u5bc6\u7801\u4e0d\u884c\u554a\uff0c\u5ba2\u6237\u7aef\u7684\u4ee3\u7801\u4f1a\u66b4\u9732\u51fa\u53bb\u3002

\n" }, { "author": { "url": "member/zzNaLOGIC", "name": "zzNaLOGIC", "avatar": "https://cdn.v2ex.com/avatar/2b01/cb58/380799_large.png?m=1715413889" }, "url": "t/707316", "title": "rabbitMQ \u7684 topic \u6a21\u5f0f\u4e0b\uff0c\u5982\u4f55\u5b9e\u73b0\u6709 N \u4e2a\u8ba2\u9605\u8005\uff0c\u53d1\u5e03\u4e00\u6761\u6d88\u606f\u540e\uff0c\u5f53 N \u4e2a\u6d88\u8d39\u8005\u90fd\u62ff\u5230\u8fd9\u4e2a\u6d88\u606f\u540e\u5c06\u8be5\u6d88\u606f\u9500\u6bc1\uff08\u786e\u8ba4\u6d88\u8d39\uff09", "id": "t/707316", "date_published": "2020-09-15T13:35:28+00:00", "content_html": "" }, { "author": { "url": "member/CrazyAnter", "name": "CrazyAnter", "avatar": "https://cdn.v2ex.com/gravatar/215efcfa480f3ed5ad59658abfdf5ad9?s=73&d=retro" }, "url": "t/684395", "title": "springboot \u96c6\u6210 RabbitMQ \u7684\u95ee\u9898", "id": "t/684395", "date_published": "2020-06-24T03:33:21+00:00", "content_html": "

\u6709\u4e00\u4e2a\u9700\u6c42\u662f\u901a\u8fc7 RabbitMQ \u5411\u5ba2\u6237\u63a8\u9001\u6d88\u606f\uff0c\u5982\u679c\u4f7f\u7528 @Bean+@Autowired \u7684\u65b9\u5f0f\uff0c\u5f53 connection \u51fa\u73b0\u95ee\u9898\u65f6\uff0c\u9879\u76ee\u542f\u52a8\u65f6\u521d\u59cb\u5316 Bean \u4f1a\u4e0d\u4f1a\u62a5\u5f02\u5e38\uff1f\u5982\u679c\u60f3\u8981\u5b9e\u73b0\u63a8\u9001\u5931\u8d25\u7684\u91cd\u4f20\u673a\u5236\uff0c\u4e00\u822c\u8981\u600e\u4e48\u5904\u7406\uff1f\uff08\u79c1\u804a\u6700\u597d\uff0c\u53ef\u6709\u507f\uff09\nVX\uff1awxid_ddf6ayi39wg522

\n" }, { "author": { "url": "member/dogedoge", "name": "dogedoge", "avatar": "https://cdn.v2ex.com/avatar/161f/8f43/269803_large.png?m=1512382225" }, "url": "t/441155", "date_modified": "2018-03-25T01:34:24+00:00", "content_html": "amqp \u5b98\u65b9\u7f51\u7ad9\u4e00\u76f4\u6302\u7740 1.0 \u7248\u672c\u7684 ISO/IEC 19464:2014\uff0c\u7f51\u4e0a\u641c\u4e86\u4e0b\u597d\u50cf 1.0 \u5728 10 \u5e74\u5c31\u5f00\u59cb\u63d0\u51fa 14 \u5e74\u62cd\u677f\uff08\u5177\u4f53\u65f6\u95f4\u53ef\u80fd\u8bf4\u7684\u4e0d\u592a\u51c6\uff09\uff0c\u73b0\u5728\u662f 18 \u5e74\u4e86\uff0crabbitmq \u6700\u65b0\u7248\u672c 3.7\uff0c\u6293\u4e86\u4e0b\u5305\u53d1\u73b0 amqp protocol-header \u8fd8\u662f 0.9.1\uff0cgit \u4e0a rabbitmq-amqp1.0 \u7684 plugin \u8c8c\u4f3c\u5df2\u7ecf\u8352\u5e9f\u4e86\u5f88\u4e45\u4e86\uff0c\u4e00\u5806 TODOs \u8fd8\u7559\u5728\u4e0b\u9762\uff0c\u53bb gg \u4e0a\u641c\u8ba8\u8bba 0.9 vs 1.0 \u7684\u5e16\u5b50\u57fa\u672c\u662f 10 ~ 14 \u5e74\u7684\u3002activemq \u6ca1\u7528\u8fc7\uff0c\u4e0d\u77e5\u9053\u662f\u4e0d\u662f full support\uff0c\u73b0\u5728\u8fd9\u4e2a amqp 1.0 \u7a76\u7adf\u662f\u4e2a\u4ec0\u4e48\u5904\u5883\u554a\uff1f\u975e\u5e38\u6478\u4e0d\u7740\u5934\u8111...", "date_published": "2018-03-25T01:34:01+00:00", "title": "AMQP 1.0 \u7684\u73b0\u72b6\uff1f", "id": "t/441155" }, { "author": { "url": "member/kalsolio", "name": "kalsolio", "avatar": "https://cdn.v2ex.com/avatar/43e4/e320/156684_large.png?m=1468370510" }, "url": "t/293277", "date_modified": "2016-07-18T10:12:38+00:00", "content_html": "

\u4e0d\u9ed8\u8ba4\u53d1\u9001 ack\n\u7b49\u5f85\u4e00\u5b9a\u65f6\u95f4\u4e4b\u540e \u6d88\u606f\u91cd\u65b0\u5206\u53d1\u8fd9\u4e2a\u529f\u80fd\u6ca1\u6709\u4e48.

\n", "date_published": "2016-07-18T10:11:51+00:00", "title": "RabbitMQ \u4e0d\u80fd\u5b9e\u73b0\u6d88\u606f\u8d85\u65f6\u4e4b\u540e\u81ea\u52a8\u91cd\u65b0\u5206\u53d1\u5417?", "id": "t/293277" }, { "author": { "url": "member/Livid", "name": "Livid", "avatar": "https://cdn.v2ex.com/avatar/c4ca/4238/1_large.png?m=1777863673" }, "url": "t/22905", "date_modified": "2012-04-22T19:48:44+00:00", "content_html": "\u5b98\u65b9\u9875\u9762\u4e0a\u63d0\u4f9b\u4e86 MacPorts \u548c Homebrew \u4e24\u79cd\u65b9\u6cd5\u3002\r\n
\r\n
\u4f46\u662f\uff0c\u76ee\u524d\u5982\u679c\u7528 MacPorts \u5b89\u88c5\uff0c\u5728\u8fdb\u884c\u5230 HiPE \u7f16\u8bd1\u7684\u8fc7\u7a0b\u4e2d\uff0c\u5c31\u4f1a\u51fa\u9519\u800c\u65e0\u6cd5\u7ee7\u7eed\u3002\r\n
\r\n
\u800c Homebrew \u65b9\u5f0f\u5219\u975e\u5e38\u987a\u5229\uff0c\u53ea\u9700\u8981\u4e09\u6761\u6307\u4ee4\u5373\u53ef\u5b8c\u6210\uff1a\r\n
\r\n
1. \u5b89\u88c5 Homebrew\r\n
\r\n
/usr/bin/ruby -e "$(curl -fsSL https://raw.github.com/gist/323731)"\r\n
\r\n
2. \u66f4\u65b0\u5e93\u5b9a\u4e49\r\n
\r\n
brew update\r\n
\r\n
3. \u5b89\u88c5 RabbitMQ\r\n
\r\n
brew install rabbitmq\r\n
\r\n
\u7f16\u8bd1\u8fc7\u7a0b\u6bd4\u8f83\u6f2b\u957f\u3002", "date_published": "2011-12-05T21:58:16+00:00", "title": "\u5728 Mac OS X \u4e0b\u5b89\u88c5 RabbitMQ", "id": "t/22905" } ] } ubao msn snddm index pchome yahoo rakuten mypaper meadowduck bidyahoo youbao zxmzxm asda bnvcg cvbfg dfscv mmhjk xxddc yybgb zznbn ccubao uaitu acv GXCV ET GDG YH FG BCVB FJFH CBRE CBC GDG ET54 WRWR RWER WREW WRWER RWER SDG EW SF DSFSF fbbs ubao fhd dfg ewr dg df ewwr ewwr et ruyut utut dfg fgd gdfgt etg dfgt dfgd ert4 gd fgg wr 235 wer3 we vsdf sdf gdf ert xcv sdf rwer hfd dfg cvb rwf afb dfh jgh bmn lgh rty gfds cxv xcv xcs vdas fdf fgd cv sdf tert sdf sdf sdf sdf sdf sdf sdf sdf sdf sdf sdf sdf sdf sdf sdf sdf sdf sdf sdf sdf sdf sdf sdf sdf sdf sdf sdf sdf sdf sdf sdf sdf sdf sdf sdf sdf sdf sdf sdf sdf shasha9178 shasha9178 shasha9178 shasha9178 shasha9178 liflif2 liflif2 liflif2 liflif2 liflif2 liblib3 liblib3 liblib3 liblib3 liblib3 zhazha444 zhazha444 zhazha444 zhazha444 zhazha444 dende5 dende denden denden2 denden21 fenfen9 fenf619 fen619 fenfe9 fe619 sdf sdf sdf sdf sdf zhazh90 zhazh0 zhaa50 zha90 zh590 zho zhoz zhozh zhozho zhozho2 lislis lls95 lili95 lils5 liss9 sdf0ty987 sdft876 sdft9876 sdf09876 sd0t9876 sdf0ty98 sdf0976 sdf0ty986 sdf0ty96 sdf0t76 sdf0876 df0ty98 sf0t876 sd0ty76 sdy76 sdf76 sdf0t76 sdf0ty9 sdf0ty98 sdf0ty987 sdf0ty98 sdf6676 sdf876 sd876 sd876 sdf6 sdf6 sdf9876 sdf0t sdf06 sdf0ty9776 sdf0ty9776 sdf0ty76 sdf8876 sdf0t sd6 sdf06 s688876 sd688 sdf86