influxdata / influxdata/influxdb-client-java
influxdb-spring 7.4.0 is not compatible with Spring Boot 4.x (Actuator package changes)
Nadie ha tomado este issue todavía.
- Lenguaje dominante
- Java
- Estrellas
- 477
- Forks
- 129
- Métricas de merge de PR
- Sin PR fusionados en 30 d
Descripción
### 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.
Guía de contribución
No hay ninguna guía de contribución indexada para este repositorio
Primeros pasos
- Lee el issue completo y luego la guía de contribución del proyecto.
- Comenta en el issue que vas a ocuparte — evita que dos personas hagan lo mismo.
- Haz un fork del repositorio y trabaja en una rama.
- Abre un pull request que haga referencia al número del issue.
Línea de trabajo
El issue identifica referencias antiguas a org.springframework.boot.actuate.* en influxdb-spring y los paquetes org.springframework.boot.health.* correspondientes en Spring Boot 4. Empieza por localizar esas referencias y comprobar cómo se gestionan las dependencias de Spring Boot 3.x y 4.x. Se considera terminado cuando se haya implementado un enfoque de compatibilidad acordado o se hayan documentado claramente las limitaciones de compatibilidad con Spring Boot 4.
Escrito por el modelo de indexación a partir del texto del issue.
Evaluación
- Stack tecnológico
- java, spring-boot
- Área
- backend
- Tipo de issue
- Error
- Dificultad
- 4/5
- Tiempo estimado
- 3-5 días
- Estado de actividad
- Tranquilo
- Claridad
- Bastante claro
- Aptitud para principiantes
- 45/100