You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@curator.apache.org by "Zili Chen (Jira)" <ji...@apache.org> on 2022/07/17 07:08:00 UTC

[jira] [Commented] (CURATOR-513) Add sorted() to GetChildrenBuilder

    [ https://issues.apache.org/jira/browse/CURATOR-513?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17567572#comment-17567572 ] 

Zili Chen commented on CURATOR-513:
-----------------------------------

This may ba a valid improvement but you can also simply sort the result children list. If you're willing to see it happen, you can prepare a patch to implement it with tests.

> Add sorted() to GetChildrenBuilder
> ----------------------------------
>
>                 Key: CURATOR-513
>                 URL: https://issues.apache.org/jira/browse/CURATOR-513
>             Project: Apache Curator
>          Issue Type: Improvement
>          Components: Client
>            Reporter: David Mollitor
>            Priority: Major
>
> {{ZKPaths}} has {{getSortedChildren()}}.
> bq. Return the children of the given path sorted by sequence number
> https://curator.apache.org/apidocs/org/apache/curator/utils/ZKPaths.html#getSortedChildren-org.apache.zookeeper.ZooKeeper-java.lang.String-
> Please add this as an option to GetChildrenBuilder



--
This message was sent by Atlassian Jira
(v8.20.10#820010)