Jump to content

Tech Question: Message Broker


Hindhustani

Recommended Posts


1. In any of  the environments. The message broker like RabbitMQ , ActivemQ is cluster setup? If not how the high availability ensured. ? 

2. Let say if A --> B    A, B microservice communicating via Message broker ( RMQ) and RMQ is not cluster setup. 
For any reason RMQ is down . A --> B communication fails? How to avoid losing messages in this? Like writing a failed message to some table and let another process pick a message from the failed table and resend when RMQ is back up?

3. Where does RMQ store the messages? In that setup is it file persistent or DB. If it is DB 100%. Guarantee that messages will not be lost? 

4. Let say   A --> queue -->  B.  In this case producers are from A microservice and consumers are from B microservice ?.  On the queue we can only see consumers. That means those process are from B micro service? 
 

any of the interesting problems you know or faced in message broker communication  ?

@dasari4kntr @ramudu @Vaampire @csrcsr

Link to comment
Share on other sites

34 minutes ago, Hindhustani said:


1. In any of  the environments. The message broker like RabbitMQ , ActivemQ is cluster setup? If not how the high availability ensured. ? 

2. Let say if A --> B    A, B microservice communicating via Message broker ( RMQ) and RMQ is not cluster setup. 
For any reason RMQ is down . A --> B communication fails? How to avoid losing messages in this? Like writing a failed message to some table and let another process pick a message from the failed table and resend when RMQ is back up?

3. Where does RMQ store the messages? In that setup is it file persistent or DB. If it is DB 100%. Guarantee that messages will not be lost? 

4. Let say   A --> queue -->  B.  In this case producers are from A microservice and consumers are from B microservice ?.  On the queue we can only see consumers. That means those process are from B micro service? 
 

any of the interesting problems you know or faced in message broker communication  ?

@dasari4kntr @ramudu @Vaampire @csrcsr

bro...naaku anta deep ga teliyadhu...

naa project lo vunnadi chepta...i have an application which is consumer... we have implemented JMS message listener to retrieve the messages...and process it and communicate back to UI via websocket...

coming back to publishing and message broker infra side...there will be cluster setup...and always there is topic for failed messages...which can be retried...

in youe point 2...message broker is non cluster and it is down...there is no way it takes messages and publish..so there will be no communication ani naa opinion... in case if message broker is up and either A or B is down...there are other approaches...i guess..

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...