public static RpcServer createRaftRpcServer(final Endpoint endpoint, final Executor raftExecutor,
                                                final Executor cliExecutor) {
        return createRaftRpcServer(endpoint, raftExecutor, cliExecutor, null);
    }
Creates a raft RPC server with executors to handle requests.

@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