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

MQTT payload plugin need classloader isolation.

Attach filesAttach ScreenshotVotersWatch issueWatchersCreate sub-taskLinkCloneUpdate Comment AuthorReplace String in CommentUpdate Comment VisibilityDelete Comments
    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

        Activity

          This comment will be Viewable by All Users Viewable by All Users
          Cancel

          People

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

            Dates

              Created:
              Updated:
              Resolved:

              Slack

                Issue deployment