jurmous / etcd4j

Java / Netty client for etcd, the highly-available key value store for shared configuration and service discovery.
Apache License 2.0
267 stars 83 forks source link

whether Support persistent listener #82

Closed sixinyiyu closed 7 years ago

jurmous commented 8 years ago

Hello! What do you mean with the issue? Do you maybe need the waitForChange functionality which is already there? Or do you want it to reconnect automatically after it has an answer?

pengyang commented 8 years ago

hi, jurmous, etcd4j can use addListener to set a one-time listener to wait for change, but when change happened, this listener will not work any more. So, is there a persistent listener for change watching? or do you have some advice to do the same thing?

lburgazzoli commented 8 years ago

hi @pengyang you may have a look at Camel's EtcdWatchConsumer

pengyang commented 8 years ago

lburgazzoli, thanks for your help!

lburgazzoli commented 8 years ago

@pengyang can we close this ?

pengyang commented 7 years ago

Thanks for your help. Sorry for the delay of closing issue.