Hi Aniruddha, We had an offline discussion about your question and we have a 
few clarification questions back:

On Aug 1, 2012, at 3:48 AM, Aniruddha Laud wrote:

> Currently, all cross-region subscriptions have to succeed for a
> subscription to succeed locally. I understand that we might lose messages
> published in another region if this doesn't succeed the very first time,

Very first time means receiving at least confirmation from at least one region? 
How do we decide that it is ok to acknowledge locally that a subscription went 
through?

> but subsequent subscribe requests should not be affected as the other
> regions are already aware of the remote subscription (that succeeded the
> first time).

Subscribe requests here means requests from clients local of the same region, 
correct?

> A possible fix would be to store information in the local
> zookeeper about existing remote subscriptions.

Store what information exactly? Does this information prevent concurrently 
published messages from being lost? If we don't wait for all regions to 
acknowledge, then we might end up violating the contract that says that once a 
client successfully subscribes to a topic, then delivery from that point on is 
guaranteed.

> Does this approach sound right?

 Maybe. :-)

-Flavio

Reply via email to