摘要: 1、异步投递 vs 同步投递 同步发送: 消息生产者使用持久(Persistent)传递模式发送消息的时候,Producer.send() 方法会被阻塞,直到broker 发送一个确认消息给生产者(ProducerAck),这个确认消息暗示broker已经成功接收到消息并把消息保存到二级存储中。 异 阅读全文
posted @ 2020-10-19 17:23 天宇轩-王 阅读(543) 评论(0) 推荐(0) 编辑