EventStoreDB-Client-Java icon indicating copy to clipboard operation
EventStoreDB-Client-Java copied to clipboard

db-client-jar published jar contains classes that conflict with classes in proto-google-common-protos

Open antonmos opened this issue 7 months ago • 3 comments

🐛 Current behavior

db-client depends on grpc-protobuf, which depends on proto-google-common-protos

db-client jar contains the following classes

  • com.google.rpc.Code
  • com.google.rpc.CodeProto
  • com.google.rpc.Status
  • com.google.rpc.StatusOrBuilder
  • com.google.rpc.StatusProto

which also exist in proto-google-common-protos jar.

I am not sure if the contents are the same or not, but this can lead to hard-to-detect problems if the order in which these jar appears in the application's classpath varies.

If i am not mistaken, these classes should not be included into db-client jar

🔍 Steps to reproduce

NA

Reproducible link

na

💭 Expected behavior

classes are not duplicated

Package version

kurrebtdb-client 1.1.1

KurrentDB Version

NA

Connection string

NA

☁️ Deployment Environment

Single-node (Docker)

Other Deployment Details

No response

Operating system

No response

Code of Conduct

  • [x] I agree to follow this project's Code of Conduct

antonmos avatar Jun 05 '25 15:06 antonmos