Zili Chen created RATIS-1600:
--------------------------------

             Summary: 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


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)

Reply via email to