muralibasani commented on code in PR #22294:
URL: https://github.com/apache/kafka/pull/22294#discussion_r3249965103


##########
storage/src/test/java/org/apache/kafka/tiered/storage/TieredStorageTestContext.java:
##########
@@ -178,8 +174,8 @@ private void updateResource(ConfigResource configResource,
         admin.incrementalAlterConfigs(configsMap, alterOptions).all().get(30, 
TimeUnit.SECONDS);
     }
 
-    public void deleteTopic(String topic) {
-        TestUtils.deleteTopicWithAdmin(admin, topic, harness.brokers(), 
harness.controllerServers());
+    public void deleteTopic(String topic) throws InterruptedException, 
ExecutionException {
+        cluster.deleteTopic(topic);

Review Comment:
   Is it better using  context's`admin` here to delete topic ?



-- 
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: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to