opengoofy / hippo4j

📌 异步线程池框架,支持线程池动态变更&监控&报警,无需修改代码轻松引入。Asynchronous thread pool framework, support Thread Pool Dynamic Change & monitoring & Alarm, no need to modify the code easily introduced.
https://hippo4j.cn
Apache License 2.0
5.49k stars 1.16k forks source link

[Bug] Server mode could not register thread pool instance. #1394

Open BruceAn1978 opened 1 year ago

BruceAn1978 commented 1 year ago

Which Project did you use? Hippo4j config or Hippo4j server?

Server

Which version did you use?

1.5.0

Expected behavior

按照文档https://hippo4j.cn/docs/user_docs/getting_started/server/hippo4j-server-start进行了接入配置,Server端启动正常,可以登录进行租户,项目等信息的配置。项目代码启动也有日志输出配置了线程池:

INFO  Initializing ExecutorService 'demo-signature' [cn.hippo4j.core.executor.DynamicThreadPoolExecutor] 
INFO  Initializing ExecutorService 'demo-sms' [cn.hippo4j.core.executor.DynamicThreadPoolExecutor] 

Actual behavior

线程池实例列表无实例列表。

Cause analysis (if possible)

修改spring.dynamic.thread-pool.server-addr以及其它配置参数为无效后,项目启动未报错,也没有启动banner标志,应该是客户端初始化问题。

模块环境: spring-cloud 2022 spring-boot 3 jdk 17

magestacks commented 1 year ago

SpringBoot3 and JDK17 are not yet compatible.

BruceAn1978 commented 1 year ago

Is there any plan about it?

BruceAn1978 commented 1 year ago

Is there any message?

BruceAn1978 commented 10 months ago

Up一下!

BruceAn1978 commented 9 months ago

Which class will cause the problem? I can test in my enviroment.

BruceAn1978 commented 9 months ago

Maybe this is not a springboot 3 problem, it's a spring webflux problem? I used spring webflux framework in project, but not springboot web.

BruceAn1978 commented 9 months ago

Dynamic TP released new version that support springboot 3. What's our plan?