You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
These messages do not deserialize correctly. The ConfluentProtobufTypeNameResolver returns "iss.protobuf.digital_production.DocumentDataInsertReply" instead of the expected "Iss.Protobuf.DigitalProduction.DocumentDataInsertReply".
I had hoped that I could pull the csharp_namespace from the FileDescriptorProto returned by the message parser. But when autoregistering the schema with the registry, it looks like the csharp_namespace attribute is filtered out of the stored schema.
The text was updated successfully, but these errors were encountered:
Hi, I see that there is a PR on going here. Just here to give a small update.
I tried to run a small sample with Confluent schema registry and some protobuf types.
Confirmed that the handlers are never invoked when the protobuf definition package and option csharp_namespace is different (e.g. package xxx.yyy and option csharp_namespace = "xxx.zzz.yyy";)
While I am at it, I also defined 2 variations and tested them.
No options csharp_namespace defined. Consume successfully and break point can be triggered.
All of the above cases are tested in version 3.0.10.
Moreover, for case 3, WhenNoHandlerFound delegate is not triggered. I believe thats related to #284 .
In our protobuf messages, we specify both the package and the csharp namespace. For example:
These messages do not deserialize correctly. The ConfluentProtobufTypeNameResolver returns "iss.protobuf.digital_production.DocumentDataInsertReply" instead of the expected "Iss.Protobuf.DigitalProduction.DocumentDataInsertReply".
I had hoped that I could pull the csharp_namespace from the FileDescriptorProto returned by the message parser. But when autoregistering the schema with the registry, it looks like the csharp_namespace attribute is filtered out of the stored schema.
The text was updated successfully, but these errors were encountered: