public static boolean bootstrap(final BootstrapOptions opts) throws InterruptedException {
        final NodeImpl node = new NodeImpl(opts.getGroupId(), null);
        final boolean ret = node.bootstrap(opts);
        node.shutdown();
        node.join();
        return ret;
    }
Bootstrap a non-empty raft node.

@param opts options of bootstrap
@return true if bootstrap success
jraft-core/src/main/java/com/alipay/sofa/jraft/JRaftUtils.java