Geo Disater Recovery and Geo Replication

Kumar, Ritesh 20 Reputation points
2024-07-22T09:55:24.46+00:00

Say we have Geo-Disaster or Geo-Replication enabled in our Azure service Bus

Let say primary namesapce goes down and cannot recieve messages . So we failover to secondary .But till the time failover has happened the messages will be rejected from publishers . How can we handle that scenario ..

Azure Service Bus
Azure Service Bus
An Azure service that provides cloud messaging as a service and hybrid integration.
632 questions
{count} votes

Accepted answer
  1. JananiRamesh-MSFT 27,826 Reputation points
    2024-07-22T11:02:13.1666667+00:00

    @Kumar, Ritesh Thanks for reaching out. In a scenario where the primary namespace of an Azure Service Bus with Geo-Disaster or Geo-Replication enabled goes down and cannot receive messages, failover to the secondary namespace is the recommended approach to ensure message delivery. However, as you mentioned, there may be a brief period of time during the failover process where messages from publishers are rejected.To handle this scenario, you can implement a retry mechanism in your publisher application. If a message fails to be published due to a service disruption, the publisher can attempt to resend the message after a delay.

    In addition to implementing a retry mechanism, you can also consider using a dead-letter queue to capture messages that are not delivered due to the primary namespace being down. The dead-letter queue can be configured to automatically forward messages to the secondary namespace once it becomes available, ensuring that no messages are lost.

    do let me know incase of further queries, I would be happy to assist you.

    1 person found this answer helpful.

1 additional answer

Sort by: Most helpful
  1. Kumar, Ritesh 20 Reputation points
    2024-07-30T06:37:14.9166667+00:00

    Please help me on above question

    0 comments No comments

Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.