知行合一

博客园 首页 新随笔 联系 订阅 管理
  371 随笔 :: 25 文章 :: 4 评论 :: 15万 阅读

随笔分类 -  分布式消息队列(MQ)

分布式消息队列(MQ)
摘要:一 、RabbitMQ基础组件整体功能概述 二、基础组件开发 4各模块 common、api、core-product、task (一)、父工程 rabbit-parent 1.pom文件 <project xmlns="http://maven.apache.org/POM/4.0.0" xmln 阅读全文
posted @ 2021-03-17 21:44 callbin 阅读(211) 评论(0) 推荐(0) 编辑

摘要:配置文件 \src\main\resources\application.properties server.servlet.context-path=/ server.port=8002 spring.rabbitmq.addresses=192.168.11.71:5672,192.168.11 阅读全文
posted @ 2021-03-17 19:38 callbin 阅读(187) 评论(0) 推荐(0) 编辑

摘要:一、RabbitMQ与SpringBoot整合_生产端 <dependency> <groupId>org.springframework.boot</groupId> <artifactId>spring-boot-starter-web</artifactId> </dependency> se 阅读全文
posted @ 2021-03-16 19:32 callbin 阅读(140) 评论(0) 推荐(0) 编辑

摘要:word文档地址: https://files.cnblogs.com/files/callbin/RabbitMQ%E6%B6%88%E6%81%AF%E6%9C%8D%E5%8A%A1%E7%94%A8%E6%88%B7%E6%89%8B%E5%86%8C.zip 阅读全文
posted @ 2021-03-16 15:47 callbin 阅读(101) 评论(0) 推荐(0) 编辑

摘要:生成端发消息 package com.bfxy.rabbitmq.api.delay; import java.io.IOException; import java.util.HashMap; import java.util.Map; import com.rabbitmq.client.AMQ 阅读全文
posted @ 2021-03-16 15:29 callbin 阅读(195) 评论(0) 推荐(0) 编辑

摘要:代码演示 生成端 package com.bfxy.rabbitmq.api.limit; import java.util.HashMap; import java.util.Map; import com.rabbitmq.client.AMQP; import com.rabbitmq.cli 阅读全文
posted @ 2021-03-16 14:54 callbin 阅读(92) 评论(0) 推荐(0) 编辑

摘要:生成端 package com.bfxy.rabbitmq.api.confirmlistener; import java.io.IOException; import com.rabbitmq.client.Channel; import com.rabbitmq.client.ConfirmL 阅读全文
posted @ 2021-03-16 14:35 callbin 阅读(86) 评论(0) 推荐(0) 编辑

摘要:一、消息如何保障 100%的投递成功 阅读全文
posted @ 2021-03-16 11:58 callbin 阅读(80) 评论(0) 推荐(0) 编辑

摘要:一、Exchange 交换机 2.交换机类型 (一) Direct Exchange 直连 2)Direct 生产者 生产者只关心 Exchange package com.bfxy.rabbitmq.api.exchange.direct; import com.rabbitmq.client.C 阅读全文
posted @ 2021-03-16 10:37 callbin 阅读(213) 评论(0) 推荐(0) 编辑

摘要:一、pom依赖引入 <dependency> <groupId>com.rabbitmq</groupId> <artifactId>amqp-client</artifactId> <version>3.6.5</version> </dependency> 二、生产者 Routingkey 要和 阅读全文
posted @ 2021-03-16 10:11 callbin 阅读(81) 评论(0) 推荐(0) 编辑

摘要:急速入门,在这里我们使用RabbitMQ 3.6.5 版本进行操作: - 环境搭建: - 官网地址:http://www.rabbitmq.com/ - 环境描述:Linux(centos7 Redhat7) ```shell ## 1. 首先在Linux上进行一些软件的准备工作,yum下来一些基础 阅读全文
posted @ 2021-03-15 15:59 callbin 阅读(201) 评论(0) 推荐(0) 编辑

摘要:一、RabbitMQ 二、 三、 四、AMQP核心概念 五、RabbitMQ的整体架构 阅读全文
posted @ 2021-03-15 15:27 callbin 阅读(93) 评论(0) 推荐(0) 编辑

摘要:一、kafka介绍 1、文件读取写给另外一端的过程,存在4次拷贝过程(一般的程序) 2、Kafka 采用的 zero copy 和 page cache 阅读全文
posted @ 2021-03-15 11:57 callbin 阅读(216) 评论(0) 推荐(0) 编辑

摘要:一、RabbitMQ 四种集群架构 一、主备模式 二、镜像模式 缺点:无法横向扩展 三、多活模式 阅读全文
posted @ 2021-03-15 11:33 callbin 阅读(142) 评论(0) 推荐(0) 编辑

摘要:一、分布式消息队列(MQ)应用场景 阅读全文
posted @ 2021-03-15 11:19 callbin 阅读(789) 评论(0) 推荐(0) 编辑

点击右上角即可分享
微信分享提示