You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@iotdb.apache.org by "Bo Zhang (Jira)" <ji...@apache.org> on 2022/03/21 02:56:00 UTC

[jira] [Created] (IOTDB-2774) MQTT payload plugin need classloader isolation.

Bo Zhang created IOTDB-2774:
-------------------------------

             Summary: MQTT payload plugin need classloader isolation.
                 Key: IOTDB-2774
                 URL: https://issues.apache.org/jira/browse/IOTDB-2774
             Project: Apache IoTDB
          Issue Type: Bug
          Components: Others
            Reporter: Bo Zhang


in  org.apache.iotdb.db.protocol.mqtt.PayloadFormatManager#init

=============================

  private static void init() {
    ServiceLoader<PayloadFormatter> formats = ServiceLoader.load(PayloadFormatter.class);
    for (PayloadFormatter format : formats) {
      map.put(format.getName(), format);
    }
  }

=============================

Here, mqtt palyload format paser is provided by plugin that customers can dev.

But here it has not classloader isolation, which can cause jar version conflict among iotDB and pluins .

 

 

 

 



--
This message was sent by Atlassian Jira
(v8.20.1#820001)