public static RpcServer createAndStartRaftRpcServer(final Endpoint endpoint, final Executor raftExecutor,
                                                        final Executor cliExecutor) {
        final RpcServer server = createRaftRpcServer(endpoint, raftExecutor, cliExecutor);
        server.init(null);
        return server;
    }
Creates a raft RPC server and starts it.

@param endpoint     server address to bind
@param raftExecutor executor to handle RAFT requests.
@param cliExecutor  executor to handle CLI service requests.
@return a rpc server instance
jraft-core/src/main/java/com/alipay/sofa/jraft/rpc/RaftRpcServerFactory.java