Hi,

First of all, thanks for using RocketMQ. Hope the following answers could solve 
your confusions:


1.     The "Dledger fast setup(DLedger快速搭建)" part introduced the way while you 
would like to quick-start or test the DLedger mode of RocketMQ locally. In 
other words, fast-try.sh will launch the nodes within three different processes 
on your local machine (as you could see in the doc, the addresses of those 
three nodes are the same but have different ports). This is available for the 
developers who have the needs of debugging or trying DLedger mode efficiently.

For the “DLedger Cluster setup (DLedger集群搭建)” part, it is for someone who wants 
to build the cluster of RocketMQ running DLedger mode in production environment 
(different machines) if the cluster requires the fail-over ability provided by 
Raft.

In brief conclusion, the first part is for someone who wants to quick-try the 
DLedger mode locally, and the second part is for someone who would like to run 
RocketMQ with DLedger mode in the actual production environment (e.g., in 
RocketMQ cluster).


2.     Of course, you could run the second step independently without 
downloading the source release of DLedger project since the RocketMQ project 
has already involved the DLedger dependency in the library.



3.    Those three files are the configuration for you to quick-launch the nodes 
locally. It is more likely for the testing purpose. I guess the doc just want 
to show how to get the DLedger project and build it, but it seems like there is 
no need for installing it separately. This might be a problem of our 
documentation, which you are welcome to propose a GitHub issue for it.



Best regards,

Jack Tsai
Apache RocketMQ Community

发件人: ヤ艾枫o.-- <1169114...@qq.com>
日期: 星期日, 2022年10月16日 17:15
收件人: users@rocketmq.apache.org <users@rocketmq.apache.org>
主题: I have a question when deploying Rocketmq Ledger
hello:
When setting up the Rocketmq ledger, there are two methods introduced on the 
official website, one is "Dledger fast setting up(Dledger快速搭建)",
the other is "Dledger cluster setting up(Dledger集群搭建)".
The first one needs to download and package the source code of the ledger, and 
the second one does not. My question is: 1: What are the differences between 
the two? Are they the same? 2: If only the second step is followed, is it 
feasible not to download the source code of the Dledger? 3:What is the purpose 
of installing the ledger? I took a look at bin/dimmer/fast try sh。 When you 
execute start all, you still use three configuration files.
[cid:2A63353A@3A981453.B8CB4B63.png]

Reply via email to