BewareMyPower commented on code in PR #24488:
URL: https://github.com/apache/pulsar/pull/24488#discussion_r2297482086


##########
pulsar-client-api/src/main/java/org/apache/pulsar/client/api/Schema.java:
##########
@@ -184,6 +197,10 @@ default void configureSchemaInfo(String topic, String 
componentName,
      */
     Schema<T> clone();
 
+    default CompletableFuture<Void> closeAsync() {
+        return CompletableFuture.completedFuture(null);
+    }

Review Comment:
   Because built-in `Schema` implementations don't need to implement 
`closeAsync`. This method is added to support closing the connection to an 
external schema registry service for an external `Schema` implementation.



-- 
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...@pulsar.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org

Reply via email to