You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@rocketmq.apache.org by "ヤ艾枫o.--" <11...@qq.com> on 2022/10/16 09:15:36 UTC

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.

回复:答复: I have a question when deploying Rocketmq Ledger

Posted by "ヤ艾枫o.--" <11...@qq.com>.
Thanks you for help,Your explanation is very helpful to me. I will put forward this description in github later. Hope that more users can understand the ledger mode


ヤ艾枫o.--
1169114186@qq.com



&nbsp;




------------------&nbsp;原始邮件&nbsp;------------------
发件人:                                                                                                                        "users"                                                                                    <tsunghanjacktsai@outlook.com&gt;;
发送时间:&nbsp;2022年10月16日(星期天) 晚上6:13
收件人:&nbsp;"users@rocketmq.apache.org"<users@rocketmq.apache.org&gt;;

主题:&nbsp;答复: I have a question when deploying Rocketmq Ledger



  
Hi,
 
&nbsp;
 
First of all, thanks for using RocketMQ. Hope the following answers could solve your confusions:
 
&nbsp;
 
 1.&nbsp;&nbsp;&nbsp;  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.
 
&nbsp;
 
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).
 
&nbsp;
 
 2.&nbsp;&nbsp;&nbsp;  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.
 
&nbsp;
 
 3.&nbsp;&nbsp;  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.
 
&nbsp;
 
&nbsp;
 
Best regards,
 
&nbsp;
 
Jack Tsai 
 
Apache RocketMQ Community
 
&nbsp;
  
发件人: ヤ艾枫o.-- <1169114186@qq.com&gt;
 日期: 星期日, 2022年10月16日  17:15
 收件人: users@rocketmq.apache.org <users@rocketmq.apache.org&gt;
 主题: 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.

答复: I have a question when deploying Rocketmq Ledger

Posted by Jack Tsai <ts...@outlook.com>.
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.-- <11...@qq.com>
日期: 星期日, 2022年10月16日 17:15
收件人: users@rocketmq.apache.org <us...@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]

答复: I have a question when deploying Rocketmq Ledger

Posted by Jack Tsai <ts...@outlook.com>.
Hi,

By the way, the repository of RocketMQ official site is: https://github.com/apache/rocketmq-site/tree/new-official-website , where you could propose your confusion or issue of our documentation.

Best regards,

Jack Tsai
Apache RocketMQ Community


发件人: ヤ艾枫o.-- <11...@qq.com>
日期: 星期日, 2022年10月16日 17:15
收件人: users@rocketmq.apache.org <us...@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]