helix-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Zhen Zhang <nehzgn...@gmail.com>
Subject Re: Configuration Data change listeners
Date Thu, 11 Apr 2013 00:28:26 GMT
Thanks for pointing out that. The feature will be included in 0.6.1 release.

Thanks,
Jason


On Wed, Apr 10, 2013 at 5:25 PM, Vinayak Borkar <vborky@yahoo.com> wrote:

> It looks like this feature is not present in 0.6.0-incubating. Thanks for
> the pointer.
>
>
>
> On 4/10/13 5:02 PM, Zhen Zhang wrote:
>
>> yes.
>>
>> HelixManager#**addConfigChangeListener(**ScopedConfigChangeListener
>> listener,
>> ConfigScopeProperty scope) registers a config change listener for
>> different
>> scopes (i.e. CLUSTER, RESOURCE, PARTITION)
>>
>> TestListenerCallback#**testBasic() has examples for using it. For
>> example,
>> the following line registers a cluster scope config change listener:
>> manager.**addConfigChangeListener(**listener,
>> ConfigScopeProperty.CLUSTER);
>>
>> Thank,
>> Jason
>>
>>
>>
>> On Wed, Apr 10, 2013 at 3:43 PM, Vinayak Borkar <vborky@yahoo.com> wrote:
>>
>>  Hi,
>>>
>>>
>>> I see that HelixManager provides a way to set and get config information
>>> related to Resources, Partitions and other things.
>>>
>>> Is there a way that changes to this information can be tracked by using
>>> listeners?
>>>
>>> Thanks,
>>> Vinayak
>>>
>>>
>>
>

Mime
View raw message