ch-robinson / dotnet-avro

An Avro implementation for .NET
https://engineering.chrobinson.com/dotnet-avro/
MIT License
135 stars 51 forks source link

Getting "The encoded data does not conform to the Confluent wire format" exception while consuming message #164

Closed mastery-akash-srivastava closed 2 years ago

mastery-akash-srivastava commented 2 years ago

We are trying to consume a message from a Kafka topic having schema for the key as "string" and some complex object as the schema of Value. We are getting the following exception while consuming it. We are able to confirm that the producer is able to produce the message to the topic successfully.

Exception: "System.IO.InvalidDataException: The encoded data does not conform to the Confluent wire format"

@dstelljes, Could you please help us to understand what could be going wrong here?