You can call get() to read the value. The value is cached locally in most cases.

________________________________
From: Varun Sharma [[email protected]]
Sent: Thursday, February 05, 2015 1:21 AM
To: [email protected]
Subject: Re: Property store subscription example

Thanks, zhen - how do I get the value associated with the path - The listener 
seems to only provide the path.

On Wed, Feb 4, 2015 at 10:58 PM, Zhen Zhang 
<[email protected]<mailto:[email protected]>> wrote:
Hi Varun,

You can refer to this example:
https://github.com/apache/helix/blob/helix-0.6.x/helix-core/src/test/java/org/apache/helix/store/zk/TestZkHelixPropertyStore.java

Thanks,
Jason

________________________________
From: Varun Sharma [[email protected]<mailto:[email protected]>]
Sent: Wednesday, February 04, 2015 4:20 PM
To: [email protected]<mailto:[email protected]>
Subject: Property store subscription example

Hi,

I am planning to use the property store to work around some issues with 
extremely large external views in zk. The work around is to compress values, 
write to property store and subscribe to watch those smaller valued properties.

Is there an example for how to subscribe to the property store ?

Thanks
Varun

Reply via email to