docker-compose.ymlconf-broker.conflogsstore然后在编写broker.conf配置文件里面的内容# Licensed to the Apache Software Foundation under one or more# contrib
1、通过修改Producer 端,实际投递到 RocketMQ 的 topic 不是这个,而是替换为了一个统一的 topic,名为 dmq_inner_topic,原始 topic 被转为 body 的一部分。
Broker收到消息后会调用CommitLog的asyncPutMessage方法写入消息,在DLedger模式下使用的是DLedgerCommitLog,进入asyncPutMessages方法,主要处理逻辑如下:调用serialize方法将消息数据序列化;