From: Robert L. <ro...@le...> - 2003-05-14 21:13:58
|
Is the best way to ensure that a client has only one active subscription to a topic to specify the same kn_id when subscribing? The problem I want to address is that, if I restart my (Java) client w/o restarting the pubsub (Python) server, I receive multiple event notifications for the same event. If I add a specific kn_id when subscribing then there is only one notification as desired. Is this the *best* practice for solving this problem? Robert |
From: Joyce P. <tru...@ya...> - 2003-05-14 22:30:13
|
Hi Robert, I believe it is -- especially for high-volume uses. JP --- Robert Leftwich <ro...@le...> wrote: > Is the best way to ensure that a client has only one active > subscription > to a topic to specify the same kn_id when subscribing? > The problem I want to address is that, if I restart my (Java) > client w/o > restarting the pubsub (Python) server, I receive multiple event > notifications for the same event. If I add a specific kn_id when > subscribing then there is only one notification as desired. Is this > the > *best* practice for solving this problem? __________________________________ Do you Yahoo!? The New Yahoo! Search - Faster. Easier. Bingo. http://search.yahoo.com |