@Override
    public String toString() {
        return String.format("%s-%d-%d", topic, partition, brokerId);
    }
The topic name, partition number and the brokerId of the replica
clients/src/main/java/org/apache/kafka/common/TopicPartitionReplica.java