Skip to content

Commit 49c9e7a

Browse files
authored
Update on offset considerations
1 parent 3018133 commit 49c9e7a

File tree

1 file changed

+10
-4
lines changed

1 file changed

+10
-4
lines changed

articles/event-hubs/event-hubs-geo-dr.md

Lines changed: 10 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -107,13 +107,19 @@ The [sample on GitHub](https://github.com/Azure/azure-event-hubs/tree/master/sam
107107

108108
Note the following considerations to keep in mind with this release:
109109

110-
1. In your failover planning, you should also consider the time factor. For example, if you lose connectivity for longer than 15 to 20 minutes, you might decide to initiate the failover.
110+
1. By design, Event Hubs geo-disaster recovery does not replicate data, and therefore you cannot reuse the old offset value of your primary event hub on your secondary event hub. We recommend restarting your event receiver with one of the following:
111+
112+
- *EventPosition.FromStart()* - If you wish read all data on your secondary event hub.
113+
- *EventPosition.FromEnd()* - If you wish to read all new data from the time of connection to your secondary event hub.
114+
- *EventPosition.FromEnqueuedTime(dateTime)* - If you wish to read all data received in your secondary event hub starting from a given date and time.
115+
116+
2. In your failover planning, you should also consider the time factor. For example, if you lose connectivity for longer than 15 to 20 minutes, you might decide to initiate the failover.
111117

112-
2. The fact that no data is replicated means that currently active sessions are not replicated. Additionally, duplicate detection and scheduled messages may not work. New sessions, scheduled messages, and new duplicates will work.
118+
3. The fact that no data is replicated means that currently active sessions are not replicated. Additionally, duplicate detection and scheduled messages may not work. New sessions, scheduled messages, and new duplicates will work.
113119

114-
3. Failing over a complex distributed infrastructure should be [rehearsed](/azure/architecture/reliability/disaster-recovery#disaster-recovery-plan) at least once.
120+
4. Failing over a complex distributed infrastructure should be [rehearsed](/azure/architecture/reliability/disaster-recovery#disaster-recovery-plan) at least once.
115121

116-
4. Synchronizing entities can take some time, approximately 50-100 entities per minute.
122+
5. Synchronizing entities can take some time, approximately 50-100 entities per minute.
117123

118124
## Availability Zones
119125

0 commit comments

Comments
 (0)