sijie opened a new pull request #2393: [tiered storage] Use NAR plugin to package offloaders URL: https://github.com/apache/incubator-pulsar/pull/2393 ### Motivation Offloader typically involves a new storage system, which usually involves dependencies that might be conflicting with the dependencies of Pulsar. We want to package offloader implementations as what we did for connectors, so people can decide which offloader to use and only include it. People would also become easier to write its offloader if needed. ### Changes - Update `tiered-storage/jcloud` to package it using nifi-nar plugin. - Add bunch of utils in managed-ledger to locate offloader nar packages and load `LedgerOffloaderFactory` from corresponding NAR package. - Add a new distribution module to package offloaders into one distribution, as what we did for connectors. - Update pulsar-all image to include offloaders ### NOTES This change doesn't get rid of jcloud-shaded. because jcloud is using `ServiceLoad` and Guice injection. It makes things very tricky on class loading. Not attempt to address the problem any time soon. We can pin `jcloud-shaded` version as what we did for `protobuf-shaded` in next release.
---------------------------------------------------------------- This is an automated message from the Apache Git Service. To respond to the message, please log on GitHub and use the URL above to go to the specific comment. For queries about this service, please contact Infrastructure at: [email protected] With regards, Apache Git Services
