Skip to content

Allow kafka-clients 3.9.x with Spring-Kafka 3.3.x #3662

@bgK

Description

@bgK

The test artifacts of kafka-clients versions 3.7.0 to 3.8.1 include a junit-platform.properties file. JUnit only supports a single junit-platform.properties. As a result, the file provided by kafka-clients can override the application provided file depending on classpath order. This has been fixed in 3.9.0 with KAFKA-17121.

In our application the junit-platform.properties file enables an extention for creating a test database.
When upgrading from Spring-Kafka 3.1.x to 3.3.x, kafka-clients was updated and the extension was no longer executed.
As a workaround, we downgraded kafka-clients to 3.6.2. This seems to work even though it's not documented as supported.

It would be nice if Spring-Kafka 3.3.x could support kafka-clients version 3.9.0 as a proper fix.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions