Gujiawei-Edinburgh commented on issue #206: URL: https://github.com/apache/bifromq/issues/206#issuecomment-3665769950
> 一、 bifromq-3.3.5-windows-standalone.zip 版本 > > 1、第三步 我有按照这个来,最终的打包 文件为: [bifromq-auth-plugin-1.0.0.zip](https://github.com/user-attachments/files/24214923/bifromq-auth-plugin-1.0.0.zip) 能否帮忙验证我的文件是否正常 > > 2、我采用的 bifromq 是 bifromq-3.3.5-windows-standalone.zip 版本运行的 > > 3、我发现 如果我配置的 安装包 plugin 自带的 demo-plugin-3.3.5.jar ,日志也提示 找不到 这个 authProvider authProviderFQN: "org.apache.bifromq.demo.plugin.DemoAuthProvider" ,是否是我下载的版本,或者哪里 配置 有问题 > > plugin.log 日志: 2025-12-17 00:04:15.534 INFO [plugin.manager] Event collector loaded: com.baidu.demo.plugin.EventLogger 2025-12-17 00:04:15.537 WARN [plugin.manager] Resource throttler type class are not specified, use DEV ONLY one instead 2025-12-17 00:04:15.540 WARN [plugin.manager] Setting provider plugin type are not specified, use DEV ONLY one instead 2025-12-17 00:04:15.544 WARN [plugin.manager] **Auth provider plugin type 'org.apache.bifromq.demo.plugin.DemoAuthProvider' not found, use DEV ONLY one instead** > > 4、jdk 版本为:java -version `java version "17.0.15" 2025-04-15 LTS Java(TM) SE Runtime Environment (build 17.0.15+9-LTS-241) Java HotSpot(TM) 64-Bit Server VM (build 17.0.15+9-LTS-241, mixed mode, sharing)` > > 二、 bifromq-3.3.3-windows-standalone.zip 版本 > > 我尝试了 bifromq-3.3.3-windows-standalone.zip ,也是类型情况,步骤如下 > > step 1 修改 conf\standalone.yml authProviderFQN: "org.apache.bifromq.demo.plugin.DemoAuthProvider" > > step 2 bifromq-3.3.3\bin>.\standalone.bat start "Using Java Version 17.0.15 locating at "D:\jdk\jdk-17.0.15\bin\java"" "Total Memory: 33359028 KB" > > step 3 logs\plugin.log > > 2025-12-17 22:26:33.421 INFO [plugin.manager] Event collector loaded: com.baidu.demo.plugin.EventLogger 2025-12-17 22:26:33.424 WARN [plugin.manager] Resource throttler type class are not specified, use DEV ONLY one instead 2025-12-17 22:26:33.427 WARN [plugin.manager] Setting provider plugin type are not specified, use DEV ONLY one instead 2025-12-17 22:26:33.430 WARN [plugin.manager] Auth provider plugin type 'org.apache.bifromq.demo.plugin.DemoAuthProvider' not found, use DEV ONLY one instead Did you download the Windows standalone ZIP from the GitHub releases page?(https://github.com/apache/bifromq/releases/download/v3.3.5/bifromq-3.3.5-windows-standalone.zip) The reason FQN is not taking effect may come from meta info missing in extension.idx. You can verify this by unzipping your plugin JAR (demo-plugin-3.3.5.jar) and checking whether the required entries are present. It should contain the demo auth provider FQN. You can also try using the anyauth SDK from the hot-fix-plugin branch, which may help you. -- 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]
