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
When attempting to serialize messages using the ProtobufSerializer an error is always thrown.
Environment Information
OS Mac M1 Sonoma 14.6.1
Node Version 20.18.1
NPM Version 10.8.2:
confluent-kafka-javascript version 1.0.0:
Steps to Reproduce
Execute the below code and it will throw the following error:
Error: message type name is empty
at ProtobufSerializer.serialize (/Users/[email protected]/Develop/other/confluent-kafka-javascript/schemaregistry/serde/protobuf.ts:146:13)
at Object.<anonymous> (/Users/[email protected]/Develop/other/confluent-kafka-javascript/schemaregistry/e2e/schemaregistry-proto.spec.ts:84:31)
at processTicksAndRejections (node:internal/process/task_queues:95:5)
Code to reproduce: a test example has been created in #218 (comment)
Additional context
When trying to serialize a message using the ProtoSerializer an error is thrown. The expected behavior is that the serialize should be able to successfully serialize messages.
Note: If the above code is changed to include the $typeName then the error changes to the following:
Error: message descriptor not in registry
at ProtobufSerializer.serialize (/Users/[email protected]/Develop/other/confluent-kafka-javascript/schemaregistry/serde/protobuf.ts:150:13)
at Object.<anonymous> (/Users/[email protected]/Develop/other/confluent-kafka-javascript/schemaregistry/e2e/schemaregistry-proto.spec.ts:84:31)
at processTicksAndRejections (node:internal/process/task_queues:95:5)
@rayokota that's great news, is there a ticket or GH issue we can be tracking to know when the Protobuf Serde tooling will be working in the @confluentinc/schemaregistry package?
Description
When attempting to serialize messages using the
ProtobufSerializer
an error is always thrown.Environment Information
Steps to Reproduce
Execute the below code and it will throw the following error:
Code to reproduce: a test example has been created in #218 (comment)
Additional context
When trying to serialize a message using the ProtoSerializer an error is thrown. The expected behavior is that the serialize should be able to successfully serialize messages.
Note: If the above code is changed to include the
$typeName
then the error changes to the following:Code to reproduce:
The text was updated successfully, but these errors were encountered: