confluentinc / confluent-kafka-dotnet

Confluent's Apache Kafka .NET client
https://github.com/confluentinc/confluent-kafka-dotnet/wiki
Apache License 2.0
35 stars 854 forks source link

Reflection-based Avro serializer/deserializer #1458

Open 97nitt opened 3 years ago

97nitt commented 3 years ago

Description

Avro added support for serializing/deserializing plain C# objects using reflection in 1.10.0:

https://github.com/apache/avro/tree/release-1.10.0/lang/csharp/src/apache/main/Reflect

Are there plans to add new serde implementations that take advantage of this new feature?

mhowlett commented 3 years ago

it's not on the near term priority list, but it would be great addition, thanks for bringing it up.

paddypawprints commented 2 years ago

@mhowlett what would be the best way to implement this? The reflection avro classes are very similar in behavior to to the SpecificReader/SpecificWriter. Would it be better to try to extend SpecificWriterImpl or just write a new ReflectWriterImp set of classes?

Assume from your statement above you'd be interested in a PR. Is that right?