geomagilles opened a new issue #9045:
URL: https://github.com/apache/pulsar/issues/9045


   **Describe the bug**
   When I have gradle dependencies defined as  
   ```
   api("org.apache.pulsar:pulsar-client-admin:2.7.0")
   api("org.apache.pulsar:pulsar-client:2.7.0")
   ```
   then I can not use avro >= 1.10.
   
   **To Reproduce**
   try `AvroSchema.of(...)` with the dependecies above.
   
   Adding `pulsar-client-admin` api dependency seems to have the curious 
side-effect to "unshade" avro in pulsar-client. 
   This triggers the exception
   ```
   Exception in thread "main" java.lang.NoClassDefFoundError: 
org/apache/avro/data/JodaTimeConversions$TimestampConversion
   ```
   in `AvroSchema.addLogicalTypeConversions` as `JodaTimeConversions` does not 
exist for avro > 1.9
   
   **Expected behavior**
   I should be able to use Avro >1.10
   
   **Additional context**
   Add any other context about the problem here.
   


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

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


Reply via email to