[
https://issues.apache.org/jira/browse/RATIS-1600?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17558830#comment-17558830
]
Tsz-wo Sze commented on RATIS-1600:
-----------------------------------
[~tison], [~zhangjilong], sure, let's include protobuf-java-util in the shaded
jar. Please feel free to submit a pull request. Thank you!
> Include protobuf-java-utils in ratis-thirdparty-misc
> ----------------------------------------------------
>
> Key: RATIS-1600
> URL: https://issues.apache.org/jira/browse/RATIS-1600
> Project: Ratis
> Issue Type: Improvement
> Components: thirdparty
> Reporter: Zili Chen
> Priority: Major
>
> cc [~szetszwo]
> I meet a requirement to use {{JsonFormat}} from
> {{com.google.protobuf:protobuf-java-util}} (see also
> [https://search.maven.org/artifact/com.google.protobuf/protobuf-java-util/3.21.2/bundle).]
> Since we shaded {{{}com.google.protobuf:protobuf-java{}}}, {{JsonFormat}}
> cannot construct from the shaded protobuf Message class due to FQN mismatch.
> Perhaps we can also include {{com.google.protobuf:protobuf-java-util}} in
> ratis-thirdparty-misc so that we can manipulate shaded class with another
> shaded class.
--
This message was sent by Atlassian Jira
(v8.20.7#820007)