Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

FileDescriptorProto ambiguity after upgrading to >=2.5.0 version #2409

Open
MiguelCosta opened this issue Feb 6, 2025 · 1 comment
Open

Comments

@MiguelCosta
Copy link

Description

We are trying to upgrade KafkaFlow to the most recent Confluent.Kafka.* packages.

At this moment, KafkaFlow is using version 2.1.1, we can upgrade to version 2.4.0 without any issue, but if we update to the most recent version (>=2.5.0) we have this error:

Error CS0433 : The type 'FileDescriptorProto' exists in both 'Google.Protobuf, Version=3.26.1.0, Culture=neutral, PublicKeyToken=a7d26565bac4d604' 
and 'protobuf-net.Reflection, Version=3.0.0.0, Culture=neutral, PublicKeyToken=257b51d87d2e4d67'

Version 2.5.0 introduces the package protobuf-net.Reflection

Image

Because of this change, Confluent.SchemaRegistry.Serdes.Protobuf package uses different libraries with the same class name and namespace (Google.Protobuf.Reflection.FileDescriptorProto)

Steps to reproduce

@MiguelCosta
Copy link
Author

Myabe this issue is related:

#2272

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants