jira-importer commented on issue #578: URL: https://github.com/apache/curator/issues/578#issuecomment-2604699603
<i><a href="https://issues.apache.org/jira/secure/ViewProfile.jspa?name=randgalt">randgalt</a>:</i> <p>PathChildrenCache works this way already. The issue is how you determine when to send messages? In a dynamic ZK ensemble nodes are being changed all the time. You could send messages after each getChildren() batch is processed but this is arbitrary. Also, in order to truly ensure ordering you'd likely need to re-query ZooKeeper inside of the Watchers which is an anti-pattern (see <a href="https://cwiki.apache.org/confluence/display/CURATOR/TN1" class="external-link" target="_blank" rel="nofollow noopener">https://cwiki.apache.org/confluence/display/CURATOR/TN1</a>).</p> -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: dev-unsubscr...@curator.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org