Skip to content

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

@ChildrenGreens

Description

@ChildrenGreens

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions