public void setLearners(final LinkedHashSet<PeerId> learners) {
        this.learners = learners;
    }
Construct a Configuration instance with peers and learners.

@param conf     peers configuration
@param learners learners
@since 1.3.0
jraft-core/src/main/java/com/alipay/sofa/jraft/conf/Configuration.java