Uploaded image for project: 'Apache IoTDB'
  1. Apache IoTDB
  2. IOTDB-2774

MQTT payload plugin need classloader isolation.

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • None
    • None
    • Others

    Description

      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 parser is provided by plugin that customers can dev.

      But it has no classloader isolation, which can cause jar version conflict among iotDB and plugins .

       

       

       

       

      Attachments

        Issue Links

          Activity

            People

              jamber001 Bo Zhang
              jamber001 Bo Zhang
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: