[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"site-config":3,"primary-menu":20,"tags-cloud":109,"tagposts-mq-1":293},{"config":4,"socialLinks":19},{"title":5,"subtitle":6,"logoUrl":7,"faviconUrl":8,"footerText":9,"beianIcp":10,"beianPublicSecurity":9,"seoDescription":11,"seoKeywords":12,"homepageTitle":13,"homepageSubtitle":14,"analyticsHeadCode":15,"planetQrcodeUrl":16,"planetIntroHtml":9,"planetCtaText":17,"updatedAt":18},"编码世界","用编码改变世界","https:\u002F\u002Fcdn.mashangan.com\u002Fupload\u002F2026\u002F09\u002F2f277021172f43f6bb34e1c115760b7f.png","https:\u002F\u002Fcdn.mashangan.com\u002Fupload\u002F2026\u002F09\u002Fdcbad022e68c4a729a5dc4997a9bba8a.png","","苏ICP备2026073884号","编码世界（mashangan.com）是面向 Java 后端与 Go 语言的系统化编程教程站：提供\nMyBatis Plus、Lombok、Java 8、IDEA、Docker 等原创图文教程，以及 JVM、并发、\nSpring、MySQL、Redis、消息队列、计算机网络等大厂面试八股题库，另有可落地的\n项目实战系列，帮你从入门到精通。","编码世界,Java教程,Go语言教程,Docker教程,MyBatis Plus教程,Lombok教程, Java 8新特性,IDEA教程,Java面试题,八股文,JVM面试题,Java并发面试题, MySQL面试题,Redis面试题,Spring面试题,消息队列面试题,高并发,分库分表, Netty面试题,计算机网络面试题,AI Agent,RAG,程序员学习路线","Java全栈系统化编程教程","覆盖 MyBatis Plus、Lombok、Java 8、IDEA、Go、Docker 等原创图文教程，配套大厂面试八股题库，从入门到精通，持续更新","\u003Cscript>\nvar _hmt = _hmt || [];\n(function() {\n  var hm = document.createElement(\"script\");\n  hm.src = \"https:\u002F\u002Fhm.baidu.com\u002Fhm.js?f00af7e56d956c02e11efed4131379b0\";\n  var s = document.getElementsByTagName(\"script\")[0]; \n  s.parentNode.insertBefore(hm, s);\n})();\n\u003C\u002Fscript>\n","https:\u002F\u002Fcdn.mashangan.com\u002Fupload\u002F2026\u002F09\u002Fc1a8f5de46584d3eb0bc762c180a5db9.png","扫码加入知识星球","2026-10-05T13:09:51.904487Z",[],{"metadata":21,"spec":24,"menuItems":35},{"name":22,"creationTimestamp":23},"primary","2026-09-12T06:13:55.024154Z",{"displayName":25,"menuItems":26},"主菜单",[27,28,29,30,31,32,33,34],"88c3f10b-321c-4092-86a8-70db00251b74","menu-item-izrtmxer","c4c814d1-0c2c-456b-8c96-4864965fee94","menu-item-tags","menu-item-column","menu-item-tools","menu-item-zsxq","menu-item-ocrxlczu",[36,45,55,64,73,82,91,100],{"displayName":37,"metadata":38,"spec":40,"status":43,"children":44},"首页",{"name":27,"creationTimestamp":39},"2026-09-12T06:13:54.422830Z",{"displayName":37,"href":41,"priority":42,"menuName":22},"\u002F",0,{"displayName":37,"href":41},[],{"displayName":46,"metadata":47,"spec":49,"status":53,"children":54},"Java面试八股",{"name":28,"creationTimestamp":48},"2026-09-13T09:42:02.854891Z",{"displayName":46,"href":50,"target":51,"priority":52,"menuName":22},"\u002Fjava-interview","_self",1,{"displayName":46,"href":50},[],{"displayName":56,"metadata":57,"spec":59,"status":62,"children":63},"文章",{"name":29,"creationTimestamp":58},"2026-09-12T06:13:54.457307Z",{"displayName":56,"href":60,"priority":61,"menuName":22},"\u002Farchives",2,{"displayName":56,"href":60},[],{"displayName":65,"metadata":66,"spec":68,"status":71,"children":72},"标签",{"name":30,"creationTimestamp":67},"2026-10-07T00:42:42.754151Z",{"displayName":65,"href":69,"priority":70,"menuName":22},"\u002Ftags",3,{"displayName":65,"href":69},[],{"displayName":74,"metadata":75,"spec":77,"status":80,"children":81},"项目实战",{"name":31,"creationTimestamp":76},"2026-09-14T00:35:08.138170Z",{"displayName":74,"href":78,"target":51,"priority":79,"menuName":22},"\u002Fcolumn",4,{"displayName":74,"href":78},[],{"displayName":83,"metadata":84,"spec":86,"status":89,"children":90},"在线工具",{"name":32,"creationTimestamp":85},"2026-09-14T00:35:08.171474Z",{"displayName":83,"href":87,"target":51,"priority":88,"menuName":22},"\u002Ftools",5,{"displayName":83,"href":87},[],{"displayName":92,"metadata":93,"spec":95,"status":98,"children":99},"知识星球",{"name":33,"creationTimestamp":94},"2026-09-14T00:35:08.199145Z",{"displayName":92,"href":96,"target":51,"priority":97,"menuName":22},"\u002Fzsxq",6,{"displayName":92,"href":96},[],{"displayName":101,"metadata":102,"spec":104,"status":107,"children":108},"特价云服务",{"name":34,"creationTimestamp":103},"2026-09-25T15:30:59.201614Z",{"displayName":101,"href":105,"target":51,"priority":106,"menuName":22},"\u002Fserver",7,{"displayName":101,"href":105},[],[110,117,124,131,138,145,152,159,166,172,178,184,191,197,203,209,215,221,227,233,239,245,251,257,263,269,275,281,287],{"metadata":111,"spec":113,"postCount":116},{"name":112},"tag-04980744",{"displayName":114,"slug":115},"面试题","interview",118,{"metadata":118,"spec":120,"postCount":123},{"name":119},"tag-93f725a0",{"displayName":121,"slug":122},"Java","java",68,{"metadata":125,"spec":127,"postCount":130},{"name":126},"tag-05b6053c",{"displayName":128,"slug":129},"Docker","docker",43,{"metadata":132,"spec":134,"postCount":137},{"name":133},"tag-1cba77c3",{"displayName":135,"slug":136},"IDEA","idea",32,{"metadata":139,"spec":141,"postCount":144},{"name":140},"tag-116a0109",{"displayName":142,"slug":143},"数字孪生","digital-twin",19,{"metadata":146,"spec":148,"postCount":151},{"name":147},"tag-a2fb95ac",{"displayName":149,"slug":150},"MyBatis Plus","mybatis-plus",18,{"metadata":153,"spec":155,"postCount":158},{"name":154},"tag-cc6220f9",{"displayName":156,"slug":157},"Lombok","lombok",15,{"metadata":160,"spec":162,"postCount":165},{"name":161},"tag-2a2d595e",{"displayName":163,"slug":164},"Spring","spring",10,{"metadata":167,"spec":169,"postCount":165},{"name":168},"tag-1d8a4975",{"displayName":170,"slug":171},"消息队列","mq",{"metadata":173,"spec":175,"postCount":165},{"name":174},"tag-17245299",{"displayName":176,"slug":177},"并发","concurrency",{"metadata":179,"spec":181,"postCount":165},{"name":180},"tag-4921c0e2",{"displayName":182,"slug":183},"AI","ai",{"metadata":185,"spec":187,"postCount":190},{"name":186},"tag-53bb7900",{"displayName":188,"slug":189},"卫星仿真","satellite",9,{"metadata":192,"spec":194,"postCount":88},{"name":193},"tag-62377bcf",{"displayName":195,"slug":196},"Spring Cloud","spring-cloud",{"metadata":198,"spec":200,"postCount":88},{"name":199},"tag-81c3b080",{"displayName":201,"slug":202},"MySQL","mysql",{"metadata":204,"spec":206,"postCount":88},{"name":205},"tag-86a1b907",{"displayName":207,"slug":208},"Redis","redis",{"metadata":210,"spec":212,"postCount":88},{"name":211},"tag-18897dcf",{"displayName":213,"slug":214},"Elasticsearch","elasticsearch",{"metadata":216,"spec":218,"postCount":88},{"name":217},"tag-6ce80d8e",{"displayName":219,"slug":220},"JVM","jvm",{"metadata":222,"spec":224,"postCount":88},{"name":223},"tag-aa4e1b8c",{"displayName":225,"slug":226},"Dubbo","dubbo",{"metadata":228,"spec":230,"postCount":88},{"name":229},"tag-9e30c249",{"displayName":231,"slug":232},"Netty","netty",{"metadata":234,"spec":236,"postCount":88},{"name":235},"tag-2199ace5",{"displayName":237,"slug":238},"ZooKeeper","zookeeper",{"metadata":240,"spec":242,"postCount":88},{"name":241},"tag-7c298a76",{"displayName":243,"slug":244},"设计模式","design-pattern",{"metadata":246,"spec":248,"postCount":88},{"name":247},"tag-6cf6cea9",{"displayName":249,"slug":250},"高可用","high-availability",{"metadata":252,"spec":254,"postCount":88},{"name":253},"tag-918786ab",{"displayName":255,"slug":256},"分库分表","sharding",{"metadata":258,"spec":260,"postCount":88},{"name":259},"tag-91e02cd2",{"displayName":261,"slug":262},"计算机网络","network",{"metadata":264,"spec":266,"postCount":88},{"name":265},"tag-dd302f94",{"displayName":267,"slug":268},"操作系统","os",{"metadata":270,"spec":272,"postCount":88},{"name":271},"tag-1b359d87",{"displayName":273,"slug":274},"Tomcat","tomcat",{"metadata":276,"spec":278,"postCount":79},{"name":277},"tag-f0d71b77",{"displayName":279,"slug":280},"MyBatis","mybatis",{"metadata":282,"spec":284,"postCount":52},{"name":283},"tag-a118a308",{"displayName":285,"slug":286},"时序数据库","tsdb",{"metadata":288,"spec":290,"postCount":42},{"name":289},"tag-34d1f91f",{"displayName":291,"slug":292},"Go","go",{"page":52,"size":294,"total":165,"items":295,"first":304,"last":304,"hasNext":309,"hasPrevious":309,"totalPages":52},20,[296,335,364,393,422,451,486,515,544,573],{"metadata":297,"spec":300,"status":311,"categories":316,"tags":328},{"name":298,"creationTimestamp":299},"post-rabbitmq-prefetch-87e4d077","2026-09-13T10:01:09.619926Z",{"title":301,"slug":302,"cover":9,"excerpt":303,"publishTime":305,"categories":306,"tags":308,"priority":42,"pinned":309,"deleted":309,"visible":310,"allowComment":304},"RabbitMQ 的 prefetch 机制？","rabbitmq-prefetch",{"raw":9,"autoGenerate":304},true,"2026-09-13T10:01:09.668453Z",[307],"rabbitmq",[112,168],false,"PUBLIC",{"permalink":312,"excerpt":313,"lastModifyTime":314,"phase":315},"\u002Farchives\u002Frabbitmq-prefetch","一、定义 prefetch（QoS）控制 RabbitMQ 一次推送给消费者多少条未确认的消息，实现限流和负载均衡。 二、设置 channel.basicQos(10); \u002F\u002F 每个消费者最多 10 条未确认消息\n 三、作用 防止消息都推给快的消费者，慢的消费者闲置，实现公平分发。 防止消费者内存被","2026-09-16T09:15:40.693057Z","PUBLISHED",[317],{"metadata":318,"spec":323,"status":326,"postCount":88},{"name":307,"creationTimestamp":319,"labels":320,"annotations":321},"2026-09-13T09:13:25.810188Z",{"haloweb.section":115},{"tutorial.halo.run\u002Fstatus":322},"updating",{"displayName":324,"slug":307,"cover":9,"description":325,"priority":294,"hideFromList":309,"preventParentPostCascadeQuery":309},"RabbitMQ 面试题","RabbitMQ 面试题：消息可靠性投递、死信队列、镜像队列、消费幂等与积压处理。",{"permalink":327,"postCount":88,"visiblePostCount":88},"\u002Fcategories\u002Frabbitmq",[329,332],{"metadata":330,"spec":331},{"name":112},{"displayName":114,"slug":115},{"metadata":333,"spec":334},{"name":168},{"displayName":170,"slug":171},{"metadata":336,"spec":339,"status":346,"categories":350,"tags":357},{"name":337,"creationTimestamp":338},"post-rabbitmq-vs-rocketmq-3e9be184","2026-09-13T10:01:09.436936Z",{"title":340,"slug":341,"cover":9,"excerpt":342,"publishTime":343,"categories":344,"tags":345,"priority":42,"pinned":309,"deleted":309,"visible":310,"allowComment":304},"RabbitMQ 和 RocketMQ 的区别？","rabbitmq-vs-rocketmq",{"raw":9,"autoGenerate":304},"2026-09-13T10:01:09.484368Z",[307],[168,112],{"permalink":347,"excerpt":348,"lastModifyTime":349,"phase":315},"\u002Farchives\u002Frabbitmq-vs-rocketmq","一、对比 维度 RabbitMQ RocketMQ 开发语言 Erlang Java 吞吐量 万级 十万级 延迟 微秒级 毫秒级 事务消息 不支持 支持 顺序消息 支持（弱） 支持 延迟消息 支持插件 原生支持 管理界面 有 有 二、选择","2026-09-16T09:15:40.237199Z",[351],{"metadata":352,"spec":355,"status":356,"postCount":88},{"name":307,"creationTimestamp":319,"labels":353,"annotations":354},{"haloweb.section":115},{"tutorial.halo.run\u002Fstatus":322},{"displayName":324,"slug":307,"cover":9,"description":325,"priority":294,"hideFromList":309,"preventParentPostCascadeQuery":309},{"permalink":327,"postCount":88,"visiblePostCount":88},[358,361],{"metadata":359,"spec":360},{"name":168},{"displayName":170,"slug":171},{"metadata":362,"spec":363},{"name":112},{"displayName":114,"slug":115},{"metadata":365,"spec":368,"status":375,"categories":379,"tags":386},{"name":366,"creationTimestamp":367},"post-rabbitmq-reliable-d15663a6","2026-09-13T10:01:09.246619Z",{"title":369,"slug":370,"cover":9,"excerpt":371,"publishTime":372,"categories":373,"tags":374,"priority":42,"pinned":309,"deleted":309,"visible":310,"allowComment":304},"RabbitMQ 如何保证消息可靠？","rabbitmq-reliable",{"raw":9,"autoGenerate":304},"2026-09-13T10:01:09.295435Z",[307],[168,112],{"permalink":376,"excerpt":377,"lastModifyTime":378,"phase":315},"\u002Farchives\u002Frabbitmq-reliable","一、生产端 开启 Publisher Confirm，确保消息到达 Exchange。 开启 Return 机制，消息不可路由时通知生产者。 本地消息表 + 定时补偿。 二、Broker 端 交换机、队列、消息都持久化（durable=true, deliveryMode=2）。 镜像队列：队列复制","2026-09-16T09:15:10.999791Z",[380],{"metadata":381,"spec":384,"status":385,"postCount":88},{"name":307,"creationTimestamp":319,"labels":382,"annotations":383},{"haloweb.section":115},{"tutorial.halo.run\u002Fstatus":322},{"displayName":324,"slug":307,"cover":9,"description":325,"priority":294,"hideFromList":309,"preventParentPostCascadeQuery":309},{"permalink":327,"postCount":88,"visiblePostCount":88},[387,390],{"metadata":388,"spec":389},{"name":168},{"displayName":170,"slug":171},{"metadata":391,"spec":392},{"name":112},{"displayName":114,"slug":115},{"metadata":394,"spec":397,"status":404,"categories":408,"tags":415},{"name":395,"creationTimestamp":396},"post-rabbitmq-message-ack-34ff22c9","2026-09-13T10:01:09.065945Z",{"title":398,"slug":399,"cover":9,"excerpt":400,"publishTime":401,"categories":402,"tags":403,"priority":42,"pinned":309,"deleted":309,"visible":310,"allowComment":304},"RabbitMQ 的消息确认机制？","rabbitmq-message-ack",{"raw":9,"autoGenerate":304},"2026-09-13T10:01:09.112893Z",[307],[112,168],{"permalink":405,"excerpt":406,"lastModifyTime":407,"phase":315},"\u002Farchives\u002Frabbitmq-message-ack","一、生产者确认（Publisher Confirm） 消息投递到 Exchange 后返回 confirm。 消息路由到 Queue（持久化消息持久化到磁盘）后返回 ack。 可配合 mandatory 参数，消息不可路由时返回给生产者。 二、消费者确认（Consumer ACK） 自动确认（aut","2026-09-16T09:14:45.553264Z",[409],{"metadata":410,"spec":413,"status":414,"postCount":88},{"name":307,"creationTimestamp":319,"labels":411,"annotations":412},{"haloweb.section":115},{"tutorial.halo.run\u002Fstatus":322},{"displayName":324,"slug":307,"cover":9,"description":325,"priority":294,"hideFromList":309,"preventParentPostCascadeQuery":309},{"permalink":327,"postCount":88,"visiblePostCount":88},[416,419],{"metadata":417,"spec":418},{"name":112},{"displayName":114,"slug":115},{"metadata":420,"spec":421},{"name":168},{"displayName":170,"slug":171},{"metadata":423,"spec":426,"status":433,"categories":437,"tags":444},{"name":424,"creationTimestamp":425},"post-rabbitmq-architecture-b1256445","2026-09-13T10:01:08.867235Z",{"title":427,"slug":428,"cover":9,"excerpt":429,"publishTime":430,"categories":431,"tags":432,"priority":42,"pinned":309,"deleted":309,"visible":310,"allowComment":304},"RabbitMQ 的核心概念？","rabbitmq-architecture",{"raw":9,"autoGenerate":304},"2026-09-13T10:01:08.910375Z",[307],[168,112],{"permalink":434,"excerpt":435,"lastModifyTime":436,"phase":315},"\u002Farchives\u002Frabbitmq-architecture","一、核心组件 Producer：生产者，发送消息到 Exchange。 Exchange：交换机，接收消息并按路由规则路由到 Queue。 Queue：队列，存储消息，消费者从队列取。 Consumer：消费者。 Binding：Exchange 和 Queue 的绑定关系，带 routing ke","2026-09-16T09:14:38.789864Z",[438],{"metadata":439,"spec":442,"status":443,"postCount":88},{"name":307,"creationTimestamp":319,"labels":440,"annotations":441},{"haloweb.section":115},{"tutorial.halo.run\u002Fstatus":322},{"displayName":324,"slug":307,"cover":9,"description":325,"priority":294,"hideFromList":309,"preventParentPostCascadeQuery":309},{"permalink":327,"postCount":88,"visiblePostCount":88},[445,448],{"metadata":446,"spec":447},{"name":168},{"displayName":170,"slug":171},{"metadata":449,"spec":450},{"name":112},{"displayName":114,"slug":115},{"metadata":452,"spec":455,"status":463,"categories":467,"tags":479},{"name":453,"creationTimestamp":454},"post-rocketmq-consume-mode-70b00679","2026-09-13T10:01:00.899415Z",{"title":456,"slug":457,"cover":9,"excerpt":458,"publishTime":459,"categories":460,"tags":462,"priority":42,"pinned":309,"deleted":309,"visible":310,"allowComment":304},"RocketMQ 的集群消费和广播消费？","rocketmq-consume-mode",{"raw":9,"autoGenerate":304},"2026-09-13T10:01:00.945332Z",[461],"rocketmq",[112,168],{"permalink":464,"excerpt":465,"lastModifyTime":466,"phase":315},"\u002Farchives\u002Frocketmq-consume-mode","一、集群消费（CLUSTERING） 同一条消息只被消费组内的一个消费者消费。 负载均衡：队列在消费者之间分配。 实际生产中最常用。 二、广播消费（BROADCASTING） 同一条消息被消费组内所有消费者都消费一次。 每个消费者都消费全量消息。 适用于需要所有节点都处理的场景，如配置刷新、缓存失效","2026-09-16T09:14:33.803421Z",[468],{"metadata":469,"spec":473,"status":477,"postCount":88},{"name":461,"creationTimestamp":470,"labels":471,"annotations":472},"2026-09-13T09:13:25.595131Z",{"haloweb.section":115},{"tutorial.halo.run\u002Fstatus":322},{"displayName":474,"slug":461,"cover":9,"description":475,"priority":476,"hideFromList":309,"preventParentPostCascadeQuery":309},"RocketMQ 面试题","RocketMQ 面试题：消息存储与刷盘、顺序消息、事务消息、重试积压与高可用。",13,{"permalink":478,"postCount":88,"visiblePostCount":88},"\u002Fcategories\u002Frocketmq",[480,483],{"metadata":481,"spec":482},{"name":112},{"displayName":114,"slug":115},{"metadata":484,"spec":485},{"name":168},{"displayName":170,"slug":171},{"metadata":487,"spec":490,"status":497,"categories":501,"tags":508},{"name":488,"creationTimestamp":489},"post-rocketmq-vs-kafka-754ab039","2026-09-13T10:01:00.693827Z",{"title":491,"slug":492,"cover":9,"excerpt":493,"publishTime":494,"categories":495,"tags":496,"priority":42,"pinned":309,"deleted":309,"visible":310,"allowComment":304},"RocketMQ 和 Kafka 的区别？","rocketmq-vs-kafka",{"raw":9,"autoGenerate":304},"2026-09-13T10:01:00.741026Z",[461],[168,112],{"permalink":498,"excerpt":499,"lastModifyTime":500,"phase":315},"\u002Farchives\u002Frocketmq-vs-kafka","一、对比 维度 RocketMQ Kafka 开发语言 Java Java\u002FScala 消息模型 Topic\u002FQueue Topic\u002FPartition 顺序消息 支持 支持（分区内） 延迟消息 支持 不原生支持 事务消息 支持 不支持 吞吐量 十万级 百万级 适用场景 业务消息、事务 日志、大数据","2026-09-16T09:13:49.958883Z",[502],{"metadata":503,"spec":506,"status":507,"postCount":88},{"name":461,"creationTimestamp":470,"labels":504,"annotations":505},{"haloweb.section":115},{"tutorial.halo.run\u002Fstatus":322},{"displayName":474,"slug":461,"cover":9,"description":475,"priority":476,"hideFromList":309,"preventParentPostCascadeQuery":309},{"permalink":478,"postCount":88,"visiblePostCount":88},[509,512],{"metadata":510,"spec":511},{"name":168},{"displayName":170,"slug":171},{"metadata":513,"spec":514},{"name":112},{"displayName":114,"slug":115},{"metadata":516,"spec":519,"status":526,"categories":530,"tags":537},{"name":517,"creationTimestamp":518},"post-rocketmq-reliable-24e9291a","2026-09-13T10:01:00.523686Z",{"title":520,"slug":521,"cover":9,"excerpt":522,"publishTime":523,"categories":524,"tags":525,"priority":42,"pinned":309,"deleted":309,"visible":310,"allowComment":304},"RocketMQ 如何保证消息不丢？","rocketmq-reliable",{"raw":9,"autoGenerate":304},"2026-09-13T10:01:00.572891Z",[461],[168,112],{"permalink":527,"excerpt":528,"lastModifyTime":529,"phase":315},"\u002Farchives\u002Frocketmq-reliable","一、生产端不丢 同步发送：等待 Broker ACK，失败重试。 开启重试机制：retryTimesWhenSendFailed。 事务消息保证本地事务与消息发送一致。 二、Broker 不丢 同步刷盘：消息写入磁盘才返回成功（flushDiskType=SYNC_FLUSH）。 同步复制：主从都写","2026-09-16T09:14:33.332245Z",[531],{"metadata":532,"spec":535,"status":536,"postCount":88},{"name":461,"creationTimestamp":470,"labels":533,"annotations":534},{"haloweb.section":115},{"tutorial.halo.run\u002Fstatus":322},{"displayName":474,"slug":461,"cover":9,"description":475,"priority":476,"hideFromList":309,"preventParentPostCascadeQuery":309},{"permalink":478,"postCount":88,"visiblePostCount":88},[538,541],{"metadata":539,"spec":540},{"name":168},{"displayName":170,"slug":171},{"metadata":542,"spec":543},{"name":112},{"displayName":114,"slug":115},{"metadata":545,"spec":548,"status":555,"categories":559,"tags":566},{"name":546,"creationTimestamp":547},"post-rocketmq-message-type-0be350ba","2026-09-13T10:01:00.102484Z",{"title":549,"slug":550,"cover":9,"excerpt":551,"publishTime":552,"categories":553,"tags":554,"priority":42,"pinned":309,"deleted":309,"visible":310,"allowComment":304},"RocketMQ 支持哪些消息类型？","rocketmq-message-type",{"raw":9,"autoGenerate":304},"2026-09-13T10:01:00.301633Z",[461],[112,168],{"permalink":556,"excerpt":557,"lastModifyTime":558,"phase":315},"\u002Farchives\u002Frocketmq-message-type","一、普通消息 最基本的消息，发完即走。 二、顺序消息 同一队列内消息严格有序。发送时用 MessageQueueSelector 把同一业务 key 的消息发到同一队列，消费时同一队列只一个线程消费。 三、延迟消息 消息发送后延迟一段时间才投递。RocketMQ 支持固定延迟级别（1s\u002F5s\u002F10s","2026-09-16T09:14:32.740019Z",[560],{"metadata":561,"spec":564,"status":565,"postCount":88},{"name":461,"creationTimestamp":470,"labels":562,"annotations":563},{"haloweb.section":115},{"tutorial.halo.run\u002Fstatus":322},{"displayName":474,"slug":461,"cover":9,"description":475,"priority":476,"hideFromList":309,"preventParentPostCascadeQuery":309},{"permalink":478,"postCount":88,"visiblePostCount":88},[567,570],{"metadata":568,"spec":569},{"name":112},{"displayName":114,"slug":115},{"metadata":571,"spec":572},{"name":168},{"displayName":170,"slug":171},{"metadata":574,"spec":577,"status":584,"categories":588,"tags":595},{"name":575,"creationTimestamp":576},"post-rocketmq-architecture-5f234f2c","2026-09-13T10:00:59.937731Z",{"title":578,"slug":579,"cover":9,"excerpt":580,"publishTime":581,"categories":582,"tags":583,"priority":42,"pinned":309,"deleted":309,"visible":310,"allowComment":304},"RocketMQ 的整体架构？","rocketmq-architecture",{"raw":9,"autoGenerate":304},"2026-09-13T10:00:59.982984Z",[461],[112,168],{"permalink":585,"excerpt":586,"lastModifyTime":587,"phase":315},"\u002Farchives\u002Frocketmq-architecture","一、四大角色 Producer：消息生产者。 Consumer：消息消费者，支持 Push\u002FPull 两种模式。 NameServer：路由注册中心，无状态，可集群部署，节点间不通信。 Broker：消息存储与转发，可主从部署。 二、工作流程 NameServer 启动，Broker 启动后向所有 ","2026-09-16T09:14:32.272233Z",[589],{"metadata":590,"spec":593,"status":594,"postCount":88},{"name":461,"creationTimestamp":470,"labels":591,"annotations":592},{"haloweb.section":115},{"tutorial.halo.run\u002Fstatus":322},{"displayName":474,"slug":461,"cover":9,"description":475,"priority":476,"hideFromList":309,"preventParentPostCascadeQuery":309},{"permalink":478,"postCount":88,"visiblePostCount":88},[596,599],{"metadata":597,"spec":598},{"name":112},{"displayName":114,"slug":115},{"metadata":600,"spec":601},{"name":168},{"displayName":170,"slug":171}]