influxdata / influxdata/influxdb-client-java
influxdb-spring 7.4.0 is not compatible with Spring Boot 4.x (Actuator package changes)
まだ誰も着手していません。
- 主要言語
- Java
- スター
- 477
- フォーク
- 129
- PR マージ指標
- 30日以内にマージされた PR はありません
説明
### Description
The latest `influxdb-spring` version **7.4.0** is currently **not compatible with Spring Boot 4.x**.
Spring Boot 4 introduced breaking changes in Actuator packages.
Some classes were moved from:
org.springframework.boot.actuate.*
to:
org.springframework.boot.health.*
As a result, `influxdb-spring` 7.4.0 fails to compile or run when used together with Spring Boot 4.
---
### Affected versions
- influxdb-spring: **7.4.0**
- Spring Boot: **4.x**
---
### Root cause
Spring Boot 4 refactored Actuator-related packages, for example:
org.springframework.boot.actuate.health.*
➡️
org.springframework.boot.health.*
`influxdb-spring` still references the old Actuator packages, which no longer exist in Spring Boot 4.
---
### Expected behavior
`influxdb-spring` should be able to work with Spring Boot 4, or at least:
- Provide conditional support for both Boot 3.x and Boot 4.x
- Or clearly document that Spring Boot 4 is not supported yet
---
### Proposed solution
I can provide a patch that updates the affected imports and adapts the code to Spring Boot 4's new package structure.
If you are open to it, I’m happy to:
- Submit a PR
- Or discuss the best compatibility strategy (multi-release, conditional class loading, etc.)
---
### Additional context
Spring Boot 4 introduces several breaking changes, and this is one of the blockers when upgrading existing projects that rely on `influxdb-spring`.
Please let me know how you’d like to proceed.
コントリビューションガイド
このリポジトリのコントリビューションガイドは索引されていません
はじめの一歩
- issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
- 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
- リポジトリをフォークし、ブランチを切って変更します。
- issue 番号を参照したプルリクエストを送ります。
調査の方向性
この issue では、influxdb-spring にある古い org.springframework.boot.actuate.* 参照と、Spring Boot 4 における対応する org.springframework.boot.health.* パッケージを特定しています。まず、それらの参照を見つけ、Spring Boot 3.x および 4.x の依存関係がどのように扱われているかを確認してください。合意された互換性の方針が実装されるか、Spring Boot 4 のサポートに関する制限が明確に文書化されれば完了です。
索引モデルが issue の本文から書いたものです。
評価
- 技術スタック
- java, spring-boot
- 領域
- backend
- issue の種類
- バグ
- 難易度
- 4/5
- 見積もり時間
- 3〜5日
- 活発さ
- 静か
- 明瞭さ
- おおむね明確
- 初心者へのやさしさ
- 45/100