Re: [IMPORTANT] Questions related to AdminUtils thread safety

2015-09-01 Thread Aditya Auradkar
Correct. Aditya On Tue, Sep 1, 2015 at 9:47 AM, Jaikiran Pai wrote: > On Tuesday 01 September 2015 09:51 AM, Aditya Auradkar wrote: > >> createTopic should also be fine unless you try to create the same topic >> concurrently. >> > > Just to be clear - that would imply the AdminUtils _cannot_ be

Re: [IMPORTANT] Questions related to AdminUtils thread safety

2015-09-01 Thread Jaikiran Pai
On Tuesday 01 September 2015 09:51 AM, Aditya Auradkar wrote: createTopic should also be fine unless you try to create the same topic concurrently. Just to be clear - that would imply the AdminUtils _cannot_ be considered thread-safe, isn't it? -Jaikiran On Mon, Aug 31, 2015 at 3:00 PM,

Re: [IMPORTANT] Questions related to AdminUtils thread safety

2015-08-31 Thread Aditya Auradkar
topicExists simply reads ZK, so yes. createTopic should also be fine unless you try to create the same topic concurrently. AdminUtils itself does not maintain any state, just some static util functions. On Mon, Aug 31, 2015 at 3:00 PM, Sivananda Reddys Thummala Abbigari < sthumm...@salesforce.com>

[IMPORTANT] Questions related to AdminUtils thread safety

2015-08-31 Thread Sivananda Reddys Thummala Abbigari
Hi, Could you please let me know if calls to "AdminUtils.topicExists" and "AdminUtils.createTopic" are thread-safe? Thank you, Siva.