欢迎光临散文网 会员登陆 & 注册

马老师mybatis

2023-04-03 16:43 作者:安若青黛  | 我要投稿

is many messages behind the leader, the leader will remo

  • 在 RocketMQ 中,可以通过使用 console 控制台对死信队列的消息进行重发来使得消费者实例再次进行消费

RocketMQ 消费模式

RocketMQ 消息订阅有两种模式,一种是Push模式(MQPushConsumer),即MQServer主动向消费端推送;另外一种是Pull模式(MQPullConsumer),即消费端在需要时,主动到MQ Server拉取。但在具体实现时,Push和Pull模式本质都是采用消费端主动拉取的方式,即 Consumer 轮询从 Broker 拉取消息。

  • Push 模式

优点:就是实时性高。


马老师mybatis的评论 (共 条)

分享到微博请遵守国家法律