Skip to content

Classes fail to load in Confluent Kafka 8.0 that uses JDK 21 #19

@egg-r

Description

@egg-r

We are starting to build out a new Confluent Kafka 8.0 cluster that uses JDK 21. In confluent-kafka-connect, I'm seeing that classes within the kafka-connect-smt jar are failing to load. They're ignored by Confluent Kafka-Connect now and not mentioned in logs. I'm using the latest release's jar, version v1.4.0.

Particularly these classes relating to Headers fail to load:

io.lenses.connect.smt.header.InsertFieldTimestampHeaders
io.lenses.connect.smt.header.InsertRecordTimestampHeaders
io.lenses.connect.smt.header.InsertRollingFieldTimestampHeaders
io.lenses.connect.smt.header.InsertRollingWallclockHeaders
io.lenses.connect.smt.header.InsertWallclockHeaders

These load fine within our older clusters that runs confluent-kafka 7.9 with JDK 17.

I'm not sure if this is a known issue or not.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions