It's necessary to rename the bundled Netty native libraries in the shaded jar file.
This has been done for pulsar-client and pulsar-client-all. Netty is also included in pulsar-client-admin-shaded and the renaming has been missing.
Modifications
add similar renaming to pulsar-client-admin-shaded/pom.xml
Additional information
Using pulsar-client-admin dependency might cause applications to crash if the application uses an older version of Netty or Netty Tcnative. The workaround to this issue (before the fix in this PR is released) is to use the shaded pulsar-client-all dependency (which includes both the Java client and the Admin client) instead of using pulsar-client-admin dependency.
Motivation
It's necessary to rename the bundled Netty native libraries in the shaded jar file. This has been done for pulsar-client and pulsar-client-all. Netty is also included in pulsar-client-admin-shaded and the renaming has been missing.
Modifications
pulsar-client-admin-shaded/pom.xml
Additional information
Using pulsar-client-admin dependency might cause applications to crash if the application uses an older version of Netty or Netty Tcnative. The workaround to this issue (before the fix in this PR is released) is to use the shaded pulsar-client-all dependency (which includes both the Java client and the Admin client) instead of using pulsar-client-admin dependency.
Documentation
doc
doc-required
doc-not-needed
doc-complete