tonisojandu-sympower commented on issue #11819:
URL: https://github.com/apache/pulsar/issues/11819#issuecomment-2966514947

   When combining unshaded client and shaded admin client I started getting 
really weird exception
   ```
   Caused by: java.lang.NoSuchMethodError: 'io.netty.channel.EventLoopGroup 
org.apache.pulsar.common.util.netty.EventLoopUtil.newEventLoopGroup(int, 
boolean, java.util.concurrent.ThreadFactory)'
        at 
org.apache.pulsar.client.impl.PulsarClientImpl.getEventLoopGroup(PulsarClientImpl.java:1251)
        at 
org.apache.pulsar.client.impl.PulsarClientImpl.<init>(PulsarClientImpl.java:216)
        at 
org.apache.pulsar.client.impl.PulsarClientImpl.<init>(PulsarClientImpl.java:166)
        at 
org.apache.pulsar.client.impl.ClientBuilderImpl.build(ClientBuilderImpl.java:70)
   ```
   These do not make much sense, since `pulsar-common` was present in the 
classpath but maybe there is a obscure class race problem somewhere.
   
   However, as a workaround using the shaded admin client for everything seems 
to work for us as well, since it does not shade Avro. As long as this stays so, 
we can get around this problem.


-- 
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]

Reply via email to