Pinned Solution

8 months ago

I created a template for RocketMQ in case you want to take a look

https://railway.com/deploy/apache-rocketmq?referralCode=crisog

10 Replies

Railway
BOT

8 months ago

Hey there! We've found the following might help you get unblocked faster:

If you find the answer from one of these, please let us know by solving the thread!


8 months ago

You might need to override the start command for this image, see how to do it here

https://docs.railway.com/guides/start-command


crisog

You might need to override the start command for this image, see how to do it here <https://docs.railway.com/guides/start-command>

mattina010
FREEOP

8 months ago

https://rocketmq.apache.org/zh/docs/quickStart/02quickstartWithDocker I think the guidebook doesn't show what is the start command


mattina010

<https://rocketmq.apache.org/zh/docs/quickStart/02quickstartWithDocker> I think the guidebook doesn't show what is the start command

8 months ago

You will need to create 2 services with the same images but different start commands for this to run:

  1. NameServer with start command sh mqnamesrv
  2. Broker with start command sh mqbroker

Don’t forget to set env NAMESRV_ADDR pointing to the NameServer internal address.


mattina010

<https://rocketmq.apache.org/zh/docs/quickStart/02quickstartWithDocker> I think the guidebook doesn't show what is the start command

8 months ago

I created a template for RocketMQ in case you want to take a look

https://railway.com/deploy/apache-rocketmq?referralCode=crisog


crisog

You will need to create 2 services with the same images but different start commands for this to run: 1. NameServer with start command `sh mqnamesrv` 2. Broker with start command `sh mqbroker` Don’t forget to set env `NAMESRV_ADDR` pointing to the NameServer internal address.

mattina010
FREEOP

8 months ago

It seems ok.Thank you!


Status changed to Solved brody 8 months ago


crisog

I created a template for RocketMQ in case you want to take a look <https://railway.com/deploy/apache-rocketmq?referralCode=crisog>

mattina010
FREEOP

8 months ago

Sorry,I encount a question when I use this template. Our code show that connection to null failed as the following picture 1. I try to ping the public ip , that is ok.But when I want to visit the port 9876, it always shows time out.

Attachments


Status changed to Awaiting Railway Response Railway 8 months ago


crisog

I created a template for RocketMQ in case you want to take a look <https://railway.com/deploy/apache-rocketmq?referralCode=crisog>

mattina010
FREEOP

8 months ago

Hi, I found a difficult problem. I can't send the message correctly but all configs are ok.


mattina010

Hi, I found a difficult problem. ![](https://station-server.railway.com/attachments/att_01k6r2vmvmesk971s2a9zs1n9a)I can't send the message correctly but all configs are ok.![](https://station-server.railway.com/attachments/att_01k6r2xp9zf22v8n6jvstxbdgd)![](https://station-server.railway.com/attachments/att_01k6r2zns9f22v8n6yzkpj8h69)

8 months ago

Where does that IP come from?

The port does seem okay


crisog

Where does that IP come from? The port does seem okay

mattina010
FREEOP

8 months ago

I ping the url yamanote.proxy.rlwy.net to get this IP


Welcome!

Sign in to your Railway account to join the conversation.

Loading...