You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@pulsar.apache.org by GitBox <gi...@apache.org> on 2022/06/14 13:56:54 UTC

[GitHub] [pulsar] coderzc commented on a diff in pull request #15915: [fix][client] Add classLoader field for `SchemaDefinition`

coderzc commented on code in PR #15915:
URL: https://github.com/apache/pulsar/pull/15915#discussion_r896854052


##########
pulsar-client-api/src/main/java/org/apache/pulsar/client/api/schema/SchemaDefinitionBuilder.java:
##########
@@ -80,6 +80,15 @@
      */
     SchemaDefinitionBuilder<T> withPojo(Class pojo);
 
+    /**
+     * Set schema of pojo classLoader.
+     *
+     * @param classLoader pojo classLoader
+     *
+     * @return schema definition builder
+     */
+    SchemaDefinitionBuilder<T> withClassLoader(ClassLoader classLoader);

Review Comment:
   OK, I have been submitted a PIP: https://github.com/apache/pulsar/issues/16058



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

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