littlecatjianjiao opened a new issue, #19982: URL: https://github.com/apache/pulsar/issues/19982
### Search before asking - [X] I searched in the [issues](https://github.com/apache/pulsar/issues) and found nothing similar. ### Version pulsar version : 2.11.0 java version : 1.8 ### Minimal reproduce step My purpose is to use flink to consume the topic data set in pulsar, because our cluster uses kerberos for authentication, so when I use : configuration.set(PulsarOptions.PULSAR_AUTH_PLUGIN_CLASS_NAME, org.apache.pulsar.client.impl.auth.AuthenticationSasl .class.getName());, a compilation error occurs: Cannot access org.apache.pulsar.client.impl.auth.AuthenticationSasl - Stack Overflow Bad class file: /C:/Users/admin/.m2/repository/org/apache/pulsar/pulsar-client-auth-sasl/2.11.0/pulsar-client-auth-sasl-2.11.0.jar! /org/apache/pulsar/client/impl/auth/AuthenticationSasl.class Class file has wrong version 61.0, should be 52.0 Please delete the file or make sure the file is in the correct classpath subdirectory. But when I use the 2.10.0 version of pulsar, it will be compiled normally, so I think that the compilation of pulsar2.11 version is carried out using java17, and it is not available in pulsar-client as the official website said compile with java8 ### What did you expect to see? I think in version 2.11 of pulsar I can still use java8 to compile ### What did you see instead? Cannot access org.apache.pulsar.client.impl.auth.AuthenticationSasl - Stack Overflow Bad class file: /C:/Users/admin/.m2/repository/org/apache/pulsar/pulsar-client-auth-sasl/2.11.0/pulsar-client-auth-sasl-2.11.0.jar! /org/apache/pulsar/client/impl/auth/AuthenticationSasl.class Class file has wrong version 61.0, should be 52.0 Please delete the file or make sure the file is in the correct classpath subdirectory. ### Anything else? _No response_ ### Are you willing to submit a PR? - [ ] I'm willing to submit a PR! -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: [email protected] For queries about this service, please contact Infrastructure at: [email protected]
