apache / pulsar

Apache Pulsar - distributed pub-sub messaging system
https://pulsar.apache.org/
Apache License 2.0
13.94k stars 3.53k forks source link

[fix][misc] Rename netty native libraries in pulsar-client-admin-shaded #22954

Closed lhotari closed 1 week ago

lhotari commented 1 week ago

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

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