Hi Colin, It has been brought to my attention that Java 23 is now GA, and Kafka clients, brokers, and connect are now experiencing UnsupportedOperationExceptions by default due our use of the deprecated-for-removal SecurityManager. This only happens upon upgrading to Java 23, so this is not a regression. Users can workaround this issue themselves by setting a system property or by not upgrading to Java 23.
I have implemented a patch to avoid these UnsupportedOperationExceptions, and effectively make Kafka compatible with Java 23 by default. Issue: https://issues.apache.org/jira/browse/KAFKA-17078 and the associated PR: https://github.com/apache/kafka/pull/16522 The patch has low risk for users which don't use SecurityManager. It has a moderate risk for users that use SecurityManager, as we don't have good visibility into those use-cases. Is this something that you want to include in 3.9.0? Thanks, Greg On Wed, Sep 25, 2024 at 2:31 PM José Armando García Sancio <jsan...@confluent.io.invalid> wrote: > Hi Colin, > > We found a bug that we should fix for 3.9.0 > (https://issues.apache.org/jira/browse/KAFKA-17608). Alyssa is going > to work on the fix and we expect a PR soon. > > Thanks, > -José >