sajjad-moradi commented on code in PR #9197: URL: https://github.com/apache/pinot/pull/9197#discussion_r956407470
########## pinot-controller/src/main/java/org/apache/pinot/controller/api/resources/PinotRealtimeTableResource.java: ########## @@ -90,6 +90,23 @@ public Response resumeConsumption( } } + @POST + @Path("/tables/{tableName}/resetConsumption") + @ApiOperation(value = "Reset consumption of a realtime table", + notes = "Reset the consumption for a realtime table using force commit") + public Response resetConsumption( + @ApiParam(value = "Name of the table", required = true) @PathParam("tableName") String tableName) { Review Comment: We don't have partition level pausing. I know this endpoint is a bit different than pause/resume, but let me think about it a bit and maybe we can come up with a way for partition leve operation on all endpoints in this class. -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: commits-unsubscr...@pinot.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org --------------------------------------------------------------------- To unsubscribe, e-mail: commits-unsubscr...@pinot.apache.org For additional commands, e-mail: commits-h...@pinot.apache.org