code: public List<InetAddress> replicaNodesForId(final String id) {
          BucketConfig config = bucketConfig.get();
  
          if (config instanceof CouchbaseBucketConfig) {
              CouchbaseBucketConfig cbc = (CouchbaseBucketConfig) config;
              List<InetAddress> replicas = new ArrayList<InetAddress>();
              for (int i = 1; i <= cbc.numberOfReplicas(); i++) {
                  replicas.add(replicaNodeForId(id, i));
              }
              return replicas;
          } else {
              throw new UnsupportedOperationException("Bucket type not supported: " + config.getClass().getName());
          }
      }
docs: Returns all target replica nodes {@link InetAddress} for a given document ID on the bucket.
  
  @param id the document id to convert.
  @return the node for the given document id.