setReplicaId seems much better.