npawar commented on a change in pull request #8309: URL: https://github.com/apache/pinot/pull/8309#discussion_r821288753
########## File path: pinot-plugins/pinot-stream-ingestion/pinot-kafka-2.0/src/test/java/org/apache/pinot/plugin/stream/kafka20/utils/MiniKafkaCluster.java ########## @@ -112,4 +115,9 @@ public void deleteTopic(String topicName) throws ExecutionException, InterruptedException { _adminClient.deleteTopics(Collections.singletonList(topicName)).all().get(); } + + public void deleteRecordsBeforeOffset(String topicName, int partitionId, long offset) { + _adminClient.deleteRecords( Review comment: not sure.. seems to be returning gracefully. this is only used in the tests -- 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