public Iterable < String > getMemberIds ( ) throws ZooKeeperConnectionException , KeeperException , InterruptedException { return zkClient . get ( ) . getChildren ( path , false ) . stream ( ) . filter ( nodeNameFilter ) . collect ( Collectors . toList ( ) ) ; }
Returns the current list of group member ids by querying ZooKeeper synchronously .