tisonkun commented on code in PR #20115:
URL: https://github.com/apache/pulsar/pull/20115#discussion_r1187186670
##########
pulsar-functions/instance/src/main/java/org/apache/pulsar/functions/source/TopicSchema.java:
##########
@@ -49,8 +53,13 @@ public class TopicSchema {
private final Map<String, Schema<?>> cachedSchemas = new HashMap<>();
private final PulsarClient client;
- public TopicSchema(PulsarClient client) {
+ private final ClassLoader functionsClassloader;
+
+ public TopicSchema(PulsarClient client, ClassLoader functionsClassloader) {
this.client = client;
+ this.functionsClassloader = AccessController.doPrivileged(
Review Comment:
See https://openjdk.org/jeps/411
--
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]