rabashizade commented on code in PR #2103: URL: https://github.com/apache/helix/pull/2103#discussion_r877308648
########## zookeeper-api/src/main/java/org/apache/helix/zookeeper/api/client/RealmAwareZkClient.java: ########## @@ -175,10 +175,34 @@ void unsubscribeStateChanges( void createPersistent(String path, Object data, List<ACL> acl); + void createPersistentWithTTL(String path, long ttl); Review Comment: I think this is a case-by-case situation. I'd say ideally, yes, but for this particular set of API, we have known use-cases that need these features so that's why I started adding them. In fact, they have been available in open-source Zookeeper for quite a while now, but we hadn't added them until now. -- 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: [email protected] For queries about this service, please contact Infrastructure at: [email protected] --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
