harissecic commented on issue #8233:
URL: https://github.com/apache/pulsar/issues/8233#issuecomment-786148412
> > Sorry it took some time but unshaded lib is colliding because of some
netty loop. So it cannot be used with this approach. Not sure should I close
this issue as it will not be resolved or to wait maybe some good idea comes
along.
>
> @harissecic The Netty conflict might be addressable if the other code you
have is compatible with Netty 4.1.x. In that case, the Netty conflict might be
caused by "misaligned" versions which can be resolved by importing the
netty-bom input Maven's dependency management (or with Gradle's support for
BOM).
>
> ```
> <properties>
> <netty.version>4.1.51.Final</netty.version>
> <!-- ... more ... -->
> </properties>
> <dependencyManagement>
> <dependencies>
> <dependency>
> <groupId>io.netty</groupId>
> <artifactId>netty-bom</artifactId>
> <version>${netty.version}</version>
> <type>pom</type>
> <scope>import</scope>
> </dependency>
> <!-- ... more ... -->
> </dependencies>
> </dependencyManagement>
> ```
>
> You can ask for more help for such usage problems on [Pulsar
Slack](https://pulsar.apache.org/en/contact/).
>
> I hope this helps.
Thanks a lot. It does help. I need to recheck this with Micronaut team and
how could I adapt this to their rules. If this is not possible to change then I
stick with what is given by Pulsar. If it's possible to change which I doubt
then I can adapt this. Anyways anyone having any quality input how to do some
advance stuff can suggest here
https://github.com/micronaut-projects/micronaut-pulsar/. I'm pushing soon Java
example with OAuth2 connecting to pulsar so hope I get some quality check on
that code regarding pulsar or at least more hands on deck. Since Micronaut is
reflection-free (or striving to be as much) it would help to adapt all
SchemaTypes (instead of my silly switch-case solution actually use types and
adapt to use Micronaut tools for json, string, byte, proto-buf...
Anyways thanks a lot I'll investigate more and worst-case I have to wait
until I get time to implement Schema myself and use ObjectMapper in there which
is quite easy just a lot of code retyping.
----------------------------------------------------------------
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:
[email protected]