lhotari commented on issue #14534: URL: https://github.com/apache/pulsar/issues/14534#issuecomment-1056942080
When using pulsar-client-original, you might need to also use dependencyManagement in maven or Gradle's [version alignment features](https://docs.gradle.org/current/userguide/dependency_version_alignment.html#version_alignment) to ensure that there aren't mixed versions of Netty and Netty netty-tcnative-boringssl-static libraries . For maven, something like this: ```xml <properties> <netty.version>4.1.74.Final</netty.version> <netty-tc-native.version>2.0.48.Final</netty-tc-native.version> </properties> <dependencyManagement> <dependencies> <dependency> <groupId>io.netty</groupId> <artifactId>netty-bom</artifactId> <version>${netty.version}</version> <type>pom</type> <scope>import</scope> </dependency> <dependency> <groupId>io.netty</groupId> <artifactId>netty-tcnative-boringssl-static</artifactId> <version>${netty-tc-native.version}</version> </dependency> </dependencies> </dependencyManagement> <dependencies> <dependency> <groupId>org.apache.pulsar</groupId> <artifactId>pulsar-client-original</artifactId> <version>2.8.2</version> </dependency> </dependencies> ``` -- 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]
