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

@param endpoint server address to bind
@return a rpc server instance
jraft-core/src/main/java/com/alipay/sofa/jraft/rpc/RaftRpcServerFactory.java