Working on a project using the .net confluent kafka client, getting an exception when deserializing an avro map type. Is there a way of doing this in c#?
The project is producing and consuming message from kafka. There are no issues around consuming anything other than map types.
Avro schema snippet:
{
"name": "DurationMargins",
"type": {
"type": "map",
"values": {
"type": "map",
"values": "double"
}
}
},
Avrogen creates the following property from this:
private IDictionary<string,IDictionary<string,System.Double>> _DurationMargins;
But when trying to consume the messages out of Kafka, receive the following exception:
Avro.AvroException : Unable to find type IDictionary<string,System.Double> in all loaded assemblies in field DurationMargins