confluent-kafka-dotnet icon indicating copy to clipboard operation
confluent-kafka-dotnet copied to clipboard

Is there a way to Deserialise without SchemaRegistry

Open m1nkeh opened this issue 5 years ago • 3 comments

Hello,

I am evaluating some things with Confluent dotnet, and although we plan to use schema registry eventually, this is currently not something we are using at this stage, but I cannot, for the life of me, figure out how to deserialize a message in a way that doesn't require the schema registry.. i.e.

.SetValueDeserializer(new AvroDeserializer<GenericRecord>(schemaRegistry).AsSyncOverAsync())

there are really a couple of questions here:

  1. I know the schema, it's temporarily in a *.json file, and i want to use it for deserialization.. where do i specify this.

  2. As there is no schemaRegistry property, do i need to put something in its place, or can i not use this syntax at all? I.e. not use Confluent.SchemaRegistry or Confluent.SchemaRegistry.SerDes

  3. Is there a Deserializer hidden in Confluent.Kafka pkg that i haven't found yet?

m1nkeh avatar Oct 27 '19 09:10 m1nkeh