influxdata / influxdata/influxdb-client-java

influxdb-spring 7.4.0 is not compatible with Spring Boot 4.x (Actuator package changes)

Open
#849 4 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
Java
Stars
477
Forks
129
PR merge metrics
No merged PRs in 30d

Description

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.

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

The issue identifies old org.springframework.boot.actuate.* references in influxdb-spring and the corresponding org.springframework.boot.health.* packages in Spring Boot 4. Start by locating those references and checking how the Spring Boot 3.x and 4.x dependencies are handled. Done means an agreed compatibility approach is implemented, or Spring Boot 4 support limitations are clearly documented.

Written by the indexing model from the issue text.

Assessment

Tech stack
java, spring-boot
Domain
backend
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Quiet
Clarity
Mostly clear
Newbie friendliness
45/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.