Hi Yuan, This is excellent news! The refactoring of the MQTT service using the ExternalServiceframework is a significant and well-architected improvement. Decoupling it from the core server greatly enhances the modularity and maintainability of the project. The changes look very clean.
Following this pattern, we are also planning to migrate the RestService to `external-service-impl/rest`as a next step. Adopting a consistent structure for all external services will make the codebase cleaner and more extensible. Thanks to everyone involved for driving this improvement forward. Best regards, Xuan Wang 发件人: [email protected] <[email protected]> 日期: 星期二, 2026年1月20日 08:51 收件人: [email protected] <[email protected]> 主题: Decoupling MQTT service using ExternalService framework Hi all, I'm writing to share a PR that refactors how we handle MQTT within the codebase. We are splitting the MQTT functionality out of the main `iotdb-server` module and migrating it to use the `ExternalService` framework. This decoupling is a great step towards better modularity, keeping the core server logic cleaner while making the MQTT service easier to maintain and extend independently. The changes cover the move to `external-service-impl/mqtt`, along with necessary updates to the distribution packaging and CI workflows to support this new structure. You can review the changes here: https://aus01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2Fapache%2Fiotdb%2Fpull%2F17042&data=05%7C02%7C%7C9bb8b72eaa1b4bb9855008de57bdfe08%7C84df9e7fe9f640afb435aaaaaaaaaaaa%7C1%7C0%7C639044670705120279%7CUnknown%7CTWFpbGZsb3d8eyJFbXB0eU1hcGkiOnRydWUsIlYiOiIwLjAuMDAwMCIsIlAiOiJXaW4zMiIsIkFOIjoiTWFpbCIsIldUIjoyfQ%3D%3D%7C0%7C%7C%7C&sdata=gcT9KKIyNkpBtoEdOktRxWYsusCsdyLdjuMcKRDFm1Q%3D&reserved=0<https://github.com/apache/iotdb/pull/17042> Best regards, -------------------- Yuan Tian
