eolivelli commented on issue #10903: URL: https://github.com/apache/pulsar/issues/10903#issuecomment-874224623
If you can use "pulsar-broker" instead of "pulsar-broker-shaded" life will be simpler. I usually create a class like this one in order to launch PulsarService https://github.com/datastax/pulsar-jms/blob/master/pulsar-jms/src/test/java/com/datastax/oss/pulsar/jms/utils/PulsarCluster.java Btw BookKeeper has a way to workaround "shading"/"class name relocation" see here https://github.com/apache/bookkeeper/blob/4c6cf097d9b823c8e839e176a06266a58bcb7bf5/bookkeeper-server/src/main/java/org/apache/bookkeeper/conf/AbstractConfiguration.java#L82 in your broker.conf you can set `bookkeeper_allowShadedLedgerManagerFactoryClass` and `bookkeeper_shadedLedgerManagerFactoryClassPrefix` I have not tried it, but I hope that helps -- 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]
