Jason918 commented on a change in pull request #14655:
URL: https://github.com/apache/pulsar/pull/14655#discussion_r825376934
##########
File path:
pulsar-client-admin/src/main/java/org/apache/pulsar/client/admin/internal/SchemasImpl.java
##########
@@ -127,15 +127,25 @@ public void failed(Throwable throwable) {
@Override
public void deleteSchema(String topic) throws PulsarAdminException {
- sync(() ->deleteSchemaAsync(topic));
+ deleteSchema(topic, false);
}
@Override
public CompletableFuture<Void> deleteSchemaAsync(String topic) {
- TopicName tn = TopicName.get(topic);
+ return deleteSchemaAsync(topic, false);
+ }
+
+ @Override
+ public void deleteSchema(String topic, boolean force) throws
PulsarAdminException {
+ sync(() ->deleteSchemaAsync(topic, force));
Review comment:
```suggestion
sync(() -> deleteSchemaAsync(topic, force));
```
--
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]