code: @POST
    @Path("/pause")
    @Produces(MediaType.APPLICATION_JSON)
    public Response pauseHTTP(
        @Context final HttpServletRequest req
    ) throws InterruptedException
    {
      authorizationCheck(req, Action.WRITE);
      return pause();
    }
docs: Signals the ingestion loop to pause.
  
  @return one of the following Responses: 400 Bad Request if the task has started publishing; 202 Accepted if the
  method has timed out and returned before the task has paused; 200 OK with a map of the current partition sequences
  in the response body if the task successfully paused