RabbitMQ 的第一个程序

RabbitMQ-生产者|消费者

搭建环境

java client

生产者和消费者都属于客户端, rabbitMQ的java客户端如下

创建 maven 工程

<dependency><groupId>com.rabbitmq</groupId><artifactId>amqp-client</artifactId><version>5.10.0</version>
</dependency>

AMQP协议的回顾

RabbitMQ支持的消息模型

第一种模型(直连)

在上图的模型中,有以下概念:

  • P:生产者,也就是要发送消息的程序
  • C:消费者:消息的接受者,会一直等待消息到来。
  • queue:消息队列,图中红色部分。类似一个邮箱,可以缓存消息;生产者向其中投递消息,消费者从其中取出消息。

开发生产者

/*** 生产者* <p>* 直连模式** @author mxz*/
@Component
public class Provider {public static void main(String[] args) throws IOException, TimeoutException {// 获取连接对象Connection connection = RabbitMQUtils.getConnection();// 获取连接中通道Channel channel = connection.createChannel();// 通道绑定消息队列// 参数1 队列的名称, 如果不存在则自动创建// 参数2 用来定义队列是否需要持久化, true 持久化队列(mq关闭时, 会存到磁盘中) false 不持久化(关闭即失)// 参数3 exclusive 是否独占队列   true 独占队列  false 不独占// 参数4 autoDelete 是否在消费后自动删除队列  true 自动删除   false 不删除// 参数5 额外的附加参数channel.queueDeclare("hello", false, false, false, null);// 发布消息// 参数1 交换机名称// 参数2 队列名称// 参数3 传递消息额外设置// 参数4 消息的具体内容channel.basicPublish("", "hello", null, "hello rabbitMQ".getBytes());RabbitMQUtils.closeConnectionAndChannel(channel, connection);}
}

开发消费者

/*** 消费者** @author mxz*/
@Component
public class Customer {public static void main(String[] args) throws IOException, TimeoutException {// 获取连接对象Connection connection = RabbitMQUtils.getConnection();// 创建通道Channel channel = connection.createChannel();// 通道绑定对象channel.queueDeclare("hello", false, false, false, null);// 消费消息// 参数1 消息队列的消息, 队列名称// 参数2 开启消息的确认机制// 参数3 消息时的回调接口channel.basicConsume("hello", true, new DefaultConsumer(channel) {// 最后一个参数 消息队列中取出的消息@Overridepublic void handleDelivery(String consumerTag, Envelope envelope, AMQP.BasicProperties properties, byte[] body) throws IOException {System.out.println("new String(body)" + new String(body));}});//        channel.close();
//        connection.close();}}

工具类

/*** @author mxz*/
public class RabbitMQUtils {private static ConnectionFactory connectionFactory;// 重量级资源  类加载执行一次(即可)static {// 创建连接 mq 的连接工厂connectionFactory = new ConnectionFactory();// 设置 rabbitmq 主机connectionFactory.setHost("127.0.0.1");// 设置端口号connectionFactory.setPort(5672);// 设置连接哪个虚拟主机connectionFactory.setVirtualHost("/codingce");// 设置访问虚拟主机用户名密码connectionFactory.setUsername("codingce");connectionFactory.setPassword("123456");}/*** 定义提供连接对象的方法** @return*/public static Connection getConnection() {try {return connectionFactory.newConnection();} catch (Exception e) {e.printStackTrace();}return null;}/*** 关闭通道和关闭连接工具方法** @param connection* @param channel*/public static void closeConnectionAndChannel(Channel channel, Connection connection) {try {// 先关 channelif (channel != null)channel.close();if (connection != null)connection.close();} catch (Exception e) {e.printStackTrace();}}
}

第二种模型(work quene)

Work queues,也被称为(Task queues),任务模型。当消息处理比较耗时的时候,可能生产消息的速度会远远大于消息的消费速度。长此以往,消息就会堆积越来越多,无法及时处理。此时就可以使用work 模型:让多个消费者绑定到一个队列,共同消费队列中的消息。队列中的消息一旦消费,就会消失,因此任务是不会被重复执行的。

角色:

  • P:生产者:任务的发布者
  • C1:消费者-1,领取任务并且完成任务,假设完成速度较慢
  • C2:消费者-2:领取任务并完成任务,假设完成速度快

开发生产者

/*** 生产者* <p>* 任务模型 work quenue** @author mxz*/
@Component
public class Provider {public static void main(String[] args) throws IOException, TimeoutException {Connection connection = RabbitMQUtils.getConnection();Channel channel = connection.createChannel();// 通过通道声明队列channel.queueDeclare("work", true, false, false, null);for (int i = 0; i < 10; i++) {// 生产消息channel.basicPublish("", "work", null, (" " + i + "work quenue").getBytes());}// 关闭资源RabbitMQUtils.closeConnectionAndChannel(channel, connection);}
}

开发消费者-1

/*** 自动确认消费 autoAck true 12搭配测试* <p>* 消费者 1** @author mxz*/
@Component
public class CustomerOne {public static void main(String[] args) throws IOException, TimeoutException {// 获取连接对象Connection connection = RabbitMQUtils.getConnection();// 创建通道Channel channel = connection.createChannel();// 通道绑定对象channel.queueDeclare("work", true, false, false, null);// 消费消息// 参数1 消息队列的消息, 队列名称// 参数2 开启消息的确认机制// 参数3 消息时的回调接口channel.basicConsume("work", true, new DefaultConsumer(channel) {// 最后一个参数 消息队列中取出的消息// 默认分配是平均的@Overridepublic void handleDelivery(String consumerTag, Envelope envelope, AMQP.BasicProperties properties, byte[] body) throws IOException {System.out.println("消费者-1" + new String(body));try {Thread.sleep(1000);} catch (InterruptedException e) {e.printStackTrace();}}});//        channel.close();
//        connection.close();}}

开发消费者-2

/*** 自动确认消费 autoAck true 12搭配测试* <p>* 消费者 2** @author mxz*/
@Component
public class CustomerTwo {public static void main(String[] args) throws IOException {// 获取连接对象Connection connection = RabbitMQUtils.getConnection();// 创建通道Channel channel = connection.createChannel();// 通道绑定对象channel.queueDeclare("work", true, false, false, null);channel.basicConsume("work", true, new DefaultConsumer(channel) {// 最后一个参数 消息队列中取出的消息@Overridepublic void handleDelivery(String consumerTag, Envelope envelope, AMQP.BasicProperties properties, byte[] body) throws IOException {System.out.println("消费者-1" + new String(body));}});//        channel.close();
//        connection.close();}}

测试结果

总结:默认情况下,RabbitMQ将按顺序将每个消息发送给下一个使用者。平均而言,每个消费者都会收到相同数量的消息。这种分发消息的方式称为循环。

消息自动确认机制

Doing a task can take a few seconds. You may wonder what happens if one of the consumers starts a long task and dies with it only partly done. With our current code, once RabbitMQ delivers a message to the consumer it immediately marks it for deletion. In this case, if you kill a worker we will lose the message it was just processing. We’ll also lose all the messages that were dispatched to this particular worker but were not yet handled.

But we don’t want to lose any tasks. If a worker dies, we’d like the task to be delivered to another worker.

消费者3

/*** 能者多劳  34 搭配测试* <p>* 消费者 3** @author mxz*/
@Component
public class CustomerThree {public static void main(String[] args) throws IOException, TimeoutException {// 获取连接对象Connection connection = RabbitMQUtils.getConnection();// 创建通道Channel channel = connection.createChannel();// 每一次只能消费一个消息channel.basicQos(1);// 通道绑定对象channel.queueDeclare("work", true, false, false, null);// 参数1 队列名称 参数2(autoAck) 消息自动确认 true 消费者自动向 rabbitMQ 确认消息消费  false 不会自动确认消息// 若出现消费者宕机情况 消费者三可以进行消费channel.basicConsume("work", false, new DefaultConsumer(channel) {// 最后一个参数 消息队列中取出的消息// 默认分配是平均的@Overridepublic void handleDelivery(String consumerTag, Envelope envelope, AMQP.BasicProperties properties, byte[] body) throws IOException {System.out.println("消费者-1" + new String(body));// 手动确认 参数1 确认队列中channel.basicAck(envelope.getDeliveryTag(), false);try {Thread.sleep(1000);} catch (InterruptedException e) {e.printStackTrace();}}});//        channel.close();
//        connection.close();}}

消费者4

/*** 能者多劳  34 搭配测试* <p>* 消费者 4** @author mxz*/
@Component
public class CustomerFour {public static void main(String[] args) throws IOException {// 获取连接对象Connection connection = RabbitMQUtils.getConnection();// 创建通道Channel channel = connection.createChannel();// 每一次只能消费一个消息channel.basicQos(1);// 通道绑定对象channel.queueDeclare("work", true, false, false, null);channel.basicConsume("work", false, new DefaultConsumer(channel) {// 最后一个参数 消息队列中取出的消息@Overridepublic void handleDelivery(String consumerTag, Envelope envelope, AMQP.BasicProperties properties, byte[] body) throws IOException {System.out.println("消费者-1" + new String(body));// 手动确认 参数1 手动确认channel.basicAck(envelope.getDeliveryTag(), false);}});//        channel.close();
//        connection.close();}}

消费者3

/*** 能者多劳  34 搭配测试* <p>* 消费者 3** @author mxz*/
@Component
public class CustomerThree {public static void main(String[] args) throws IOException, TimeoutException {// 获取连接对象Connection connection = RabbitMQUtils.getConnection();// 创建通道Channel channel = connection.createChannel();// 每一次只能消费一个消息channel.basicQos(1);// 通道绑定对象channel.queueDeclare("work", true, false, false, null);// 参数1 队列名称 参数2(autoAck) 消息自动确认 true 消费者自动向 rabbitMQ 确认消息消费  false 不会自动确认消息// 若出现消费者宕机情况 消费者三可以进行消费channel.basicConsume("work", false, new DefaultConsumer(channel) {// 最后一个参数 消息队列中取出的消息// 默认分配是平均的@Overridepublic void handleDelivery(String consumerTag, Envelope envelope, AMQP.BasicProperties properties, byte[] body) throws IOException {System.out.println("消费者-1" + new String(body));// 手动确认 参数1 确认队列中channel.basicAck(envelope.getDeliveryTag(), false);try {Thread.sleep(1000);} catch (InterruptedException e) {e.printStackTrace();}}});//        channel.close();
//        connection.close();}}

消费者4

/*** 能者多劳  34 搭配测试* <p>* 消费者 4** @author mxz*/
@Component
public class CustomerFour {public static void main(String[] args) throws IOException {// 获取连接对象Connection connection = RabbitMQUtils.getConnection();// 创建通道Channel channel = connection.createChannel();// 每一次只能消费一个消息channel.basicQos(1);// 通道绑定对象channel.queueDeclare("work", true, false, false, null);channel.basicConsume("work", false, new DefaultConsumer(channel) {// 最后一个参数 消息队列中取出的消息@Overridepublic void handleDelivery(String consumerTag, Envelope envelope, AMQP.BasicProperties properties, byte[] body) throws IOException {System.out.println("消费者-1" + new String(body));// 手动确认 参数1 手动确认channel.basicAck(envelope.getDeliveryTag(), false);}});//        channel.close();
//        connection.close();}}

第三种模型(fanout)

fanout 扇出 也称为广播

在广播模式下,消息发送流程是这样的:

  • 可以有多个消费者
  • 每个消费者有自己的queue(队列)
  • 每个队列都要绑定到Exchange(交换机)
  • 生产者发送的消息,只能发送到交换机,交换机来决定要发给哪个队列,生产者无法决定。
  • 交换机把消息发送给绑定过的所有队列
  • 队列的消费者都能拿到消息。实现一条消息被多个消费者消费

开发开发生产者

/*** 生产者* <p>* 任务模型 fanout** @author mxz*/
@Component
public class Provider {public static void main(String[] args) throws IOException, TimeoutException {Connection connection = RabbitMQUtils.getConnection();Channel channel = connection.createChannel();// 将通道声明指定交换机  参数1 交换机名称   参数2 代表交换机类型 fanout 广播类型channel.exchangeDeclare("logs", "fanout");// 发送消息channel.basicPublish("logs", "", null, "fanout type message".getBytes());// 关闭资源RabbitMQUtils.closeConnectionAndChannel(channel, connection);}
}

开发消费者

  • 消费者 1
/*** 消费者 1* <p>* 任务模型 fanout** @author mxz*/
public class CustomerOne {public static void main(String[] args) throws IOException {Connection connection = RabbitMQUtils.getConnection();Channel channel = connection.createChannel();// 通道绑定交换机channel.exchangeDeclare("logs", "fanout");// 临时队列String queue = channel.queueDeclare().getQueue();// 绑定交换机队列channel.queueBind(queue, "logs", "");// 消费消息channel.basicConsume(queue, true, new DefaultConsumer(channel) {@Overridepublic void handleDelivery(String consumerTag, Envelope envelope, AMQP.BasicProperties properties, byte[] body) throws IOException {System.out.println("消费者1 " + new String(body));}});}}
  • 消费者 2
/*** 消费者 2* <p>* 任务模型 fanout** @author mxz*/
public class CustomerTwo {public static void main(String[] args) throws IOException {Connection connection = RabbitMQUtils.getConnection();Channel channel = connection.createChannel();// 通道绑定交换机channel.exchangeDeclare("logs", "fanout");// 临时队列String queue = channel.queueDeclare().getQueue();// 绑定交换机队列channel.queueBind(queue, "logs", "");// 消费消息channel.basicConsume(queue, true, new DefaultConsumer(channel) {@Overridepublic void handleDelivery(String consumerTag, Envelope envelope, AMQP.BasicProperties properties, byte[] body) throws IOException {System.out.println("消费者2 " + new String(body));}});}}
  • 消费者 3
/*** 消费者 3* <p>* 任务模型 fanout** @author mxz*/
public class CustomerThree {public static void main(String[] args) throws IOException {Connection connection = RabbitMQUtils.getConnection();Channel channel = connection.createChannel();// 通道绑定交换机channel.exchangeDeclare("logs", "fanout");// 临时队列String queue = channel.queueDeclare().getQueue();// 绑定交换机队列channel.queueBind(queue, "logs", "");// 消费消息channel.basicConsume(queue, true, new DefaultConsumer(channel) {@Overridepublic void handleDelivery(String consumerTag, Envelope envelope, AMQP.BasicProperties properties, byte[] body) throws IOException {System.out.println("消费者3 " + new String(body));}});}}

测试结果

第四种模型(Routing)

Routing 之订阅模型-Direct(直连)

在Fanout模式中,一条消息,会被所有订阅的队列都消费。但是,在某些场景下,我们希望不同的消息被不同的队列消费。这时就要用到Direct类型的Exchange。

在Direct模型下:

  • 队列与交换机的绑定,不能是任意绑定了,而是要指定一个RoutingKey(路由key)
  • 消息的发送方在 向 Exchange发送消息时,也必须指定消息的 RoutingKey
  • Exchange不再把消息交给每一个绑定的队列,而是根据消息的Routing Key进行判断,只有队列的Routingkey与消息的 Routing key完全一致,才会接收到消息

流程:

图解:

  • P:生产者,向Exchange发送消息,发送消息时,会指定一个routing key。
  • X:Exchange(交换机),接收生产者的消息,然后把消息递交给 与routing key完全匹配的队列
  • C1:消费者,其所在队列指定了需要routing key 为 error 的消息
  • C2:消费者,其所在队列指定了需要routing key 为 info、error、warning 的消息

开发生产者

/*** @author mxz*/
public class Provider {public static void main(String[] args) throws IOException {Connection connection = RabbitMQUtils.getConnection();Channel channel = connection.createChannel();// 通过通道声明交换机   参数1 交换机名称  参数2 路由模式channel.exchangeDeclare("logs_direct", "direct");// 发送消息String routingKey = "error";channel.basicPublish("logs_direct", routingKey, null, ("这是 direct 模式发布基于 route_key [" + routingKey + "]").getBytes());// 关闭资源RabbitMQUtils.closeConnectionAndChannel(channel, connection);}
}

开发消费者

  • 消费者1
/*** 消费者 1** @author mxz*/
@Component
public class CustomerOne {public static void main(String[] args) throws IOException, TimeoutException {// 获取连接对象Connection connection = RabbitMQUtils.getConnection();// 创建通道Channel channel = connection.createChannel();// 创建一个临时队列String queue = channel.queueDeclare().getQueue();// 基于 route_key 绑定队列交换机channel.queueBind(queue, "logs_direct", "error");// 消费消息channel.basicConsume(queue, true, new DefaultConsumer(channel) {@Overridepublic void handleDelivery(String consumerTag, Envelope envelope, AMQP.BasicProperties properties, byte[] body) throws IOException {System.out.println("消费者1: " + new String(body));}});//        channel.close();
//        connection.close();}}
  • 消费者2
/*** 消费者 2** @author mxz*/
@Component
public class CustomerTwo {public static void main(String[] args) throws IOException, TimeoutException {Connection connection = RabbitMQUtils.getConnection();Channel channel = connection.createChannel();// 声明交换机channel.exchangeDeclare("logs_direct", "direct");// 创建一个临时队列String queue = channel.queueDeclare().getQueue();// 临时队列和绑定交换机channel.queueBind(queue, "logs_direct", "info");channel.queueBind(queue, "logs_direct", "error");channel.queueBind(queue, "logs_direct", "warning");// 消费消息channel.basicConsume(queue, true, new DefaultConsumer(channel) {@Overridepublic void handleDelivery(String consumerTag, Envelope envelope, AMQP.BasicProperties properties, byte[] body) throws IOException {System.out.println("消费者2:" + new String(body));}});}}

Routing 之订阅模型-Topic

Topic类型的ExchangeDirect相比,都是可以根据RoutingKey把消息路由到不同的队列。只不过Topic类型Exchange可以让队列在绑定Routing key 的时候使用通配符!这种模型Routingkey 一般都是由一个或多个单词组成,多个单词之间以”.”分割,例如: item.insert

# 统配符* (star) can substitute for exactly one word.    匹配不多不少恰好1个词# (hash) can substitute for zero or more words.  匹配一个或多个词
# 如:audit.#    匹配audit.irs.corporate或者 audit.irs 等audit.*   只能匹配 audit.irs

开发生产者

/*** 生产者* <p>** @author mxz*/
@Component
public class Provider {public static void main(String[] args) throws IOException, TimeoutException {Connection connection = RabbitMQUtils.getConnection();Channel channel = connection.createChannel();// 声明交换机以及交换机类型channel.exchangeDeclare("topics", "topic");// 路由keyString routeKey = "user.save";channel.basicPublish("topics", routeKey, null, ("这里是 topic 动态路由模型, routeKey:[" + routeKey + "]").getBytes());// 关闭资源RabbitMQUtils.closeConnectionAndChannel(channel, connection);}
}

开发消费者

  • 消费者
/*** @author mxz*/
public class CustomerOne {public static void main(String[] args) throws IOException {Connection connection = RabbitMQUtils.getConnection();Channel channel = connection.createChannel();// 声明交换机以及交换机类型channel.exchangeDeclare("topics", "topic");// 创建一个临时队列String queue = channel.queueDeclare().getQueue();// 绑定队列和交换机  动态通配符  route keychannel.queueBind(queue, "topics", "user.*");// 消费消息channel.basicConsume(queue, true, new DefaultConsumer(channel) {@Overridepublic void handleDelivery(String consumerTag, Envelope envelope, AMQP.BasicProperties properties, byte[] body) throws IOException {System.out.println("消费者1:" + new String(body));}});}}
  • 消费者
/*** @author mxz*/
public class CustomerTwo {public static void main(String[] args) throws IOException {Connection connection = RabbitMQUtils.getConnection();Channel channel = connection.createChannel();// 声明交换机以及交换机类型channel.exchangeDeclare("topics", "topic");// 创建一个临时队列String queue = channel.queueDeclare().getQueue();// 绑定队列和交换机  动态通配符  route keychannel.queueBind(queue, "topics", "user.#");// 消费消息channel.basicConsume(queue, true, new DefaultConsumer(channel) {@Overridepublic void handleDelivery(String consumerTag, Envelope envelope, AMQP.BasicProperties properties, byte[] body) throws IOException {System.out.println("消费者2:" + new String(body));}});}}

文章已上传gitee https://gitee.com/codingce/hexo-blog
项目地址: https://github.com/xzMhehe/codingce-java

文章已上传gitee https://gitee.com/codingce/hexo-blog
项目地址github: https://github.com/xzMhehe/codingce-java

RabbitMQ 消息队列六种模式相关推荐

  1. RabbitMQ消息队列(六):SpringBoot整合之通配符模式

    RabbitMQ消息队列(六):SpringBoot整合之通配符模式 [外链图片转存失败,源站可能有防盗链机制,建议将图片保存下来直接上传(img-AeZQrNHS-1660220618697)(E: ...

  2. 大数据互联网架构阶段 QuartZ定时任务+RabbitMQ消息队列

    QuartZ定时任务+RabbitMQ消息队列 一 .QuartZ定时任务解决订单系统遗留问题 情景分析: 在电商项目中 , 订单生成后 , 数据库商品数量-1 , 但是用户迟迟不进行支付操作 , 这 ...

  3. 使用EasyNetQ组件操作RabbitMQ消息队列服务

    RabbitMQ是一个由erlang开发的AMQP(Advanved Message Queue)的开源实现,是实现消息队列应用的一个中间件,消息队列中间件是分布式系统中重要的组件,主要解决应用耦合, ...

  4. 初探 RabbitMQ 消息队列

    初探 RabbitMQ 消息队列 rabbitmq基础概念常见应用场景导入依赖属性配置具体编码定义队列实体类控制器消息消费者主函数测试总结说点什么 SpringBoot 是为了简化 Spring 应用 ...

  5. 消息队列——RabbitMQ消息队列集群

    RabbitMQ消息队列集群 消息队列/中间件 RabbitMQ详解 RabbitMQ单机部署 RabbitMQ集群部署 消息队列/中间件 一.前言 在我们秒杀抢购商品的时候,系统会提醒我们稍等排队中 ...

  6. php中rabbitmq消息乱码,PHP实现RabbitMQ消息队列(转)

    本篇文章给大家带来的内容是关于PHP和RabbitMQ实现消息队列的完整代码,有一定的参考价值,有需要的朋友可以参考一下,希望对你有所帮助. 先安装PHP对应的RabbitMQ,这里用的是 php_a ...

  7. RabbitMQ消息队列常见面试题总结

    1.什么是消息队列: 1.1.消息队列的优点: (1)解耦:将系统按照不同的业务功能拆分出来,消息生产者只管把消息发布到 MQ 中而不用管谁来取,消息消费者只管从 MQ 中取消息而不管是谁发布的.消息 ...

  8. RabbitMQ消息队列(四):分发到多Consumer(Publish/Subscribe)

    <===  RabbitMQ消息队列(三):任务分发机制 上篇文章中,我们把每个Message都是deliver到某个Consumer.在这篇文章中,我们将会将同一个Message delive ...

  9. RabbitMQ消息队列(一)《Java-2021面试谈资系列》

    RabbitMQ RabbitMQ消息队列 一.中间件 1.什么是中间件 2.中间件技术及架构概述 3.消息中间件 1.消息中间件的分布式架构 2.消息中间件使用场景 3.常见的消息中间件 4.消息中 ...

最新文章

  1. 加强路由器的安全访问控制
  2. python使用循环结构计算10_十二、 python中的循环结构
  3. 关于linux LVM
  4. Salesforce宣布5.82亿美元收购文件编辑公司Quip
  5. IDC、刘润:企业如何通过数字化转型,驱动业务发展?附98页PPT
  6. c语言while队列不为空,C语言实现循环队列的初始化进队出队读取队头元素判空-2...
  7. java项目之Bank银行代码
  8. Atitit 图像清晰度 模糊度 检测 识别 评价算法 源码实现attilax总结
  9. mysql结构改写为hbase表_根据mysql表中字段创建hbase表
  10. java 异常抛出_Java 如何抛出异常、自定义异常、手动或主动抛出异常
  11. Turbo编译码Matlab仿真解读 -- WuYufei_matlab
  12. 华为存储学习笔记-3
  13. 四个免费好用的临时邮箱
  14. 文件夹批量重命名方法
  15. java mysql utc时间_Java项目统一UTC时间方案
  16. 第一次用python写爬虫
  17. linux开启磁盘多队列(blk-mq)
  18. 使用命令行——查看笔记本电池损耗程度
  19. http://ai.taobao.com/?pid=mm_40428920_1105750338_109783200329
  20. html中加入清除浮动,HTML中清除浮动的几种办法

热门文章

  1. 岗位内推 | 微软亚洲互联网工程院自然语言处理组招聘NLP工程师
  2. BERT-of-Theseus:基于模块替换的模型压缩方法
  3. CVPR 2019 | 无监督领域特定单图像去模糊
  4. 【教程】Jupyter notebook基本使用教程
  5. officeopenxml excelpackage 需要安装excel嘛_使用ABAP操作Excel的几种方法
  6. python分支机构_python通过什么来判断操作是否在分支结构中
  7. js md5加密脚本
  8. github常见操作和常见错误!错误提示:fatal: remote origin already exists.
  9. 2022还在使用Mysql进行数据检索?ElasticSearch自定义扩展词库完成检索
  10. java.lang.AbstractMethodError: org.springframework.cloud.netflix.ribbon.RibbonLoadBalancerClient.cho