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
I have a range of objects I want to serialize into one avro - since I need to match the Azure Eventhub Schema I need to store an object per Record.
Unfortunately, it seems the API is able to do so?
AvroConvert.Serialize accepts only a single object, and while merge could to the job, its serious overhead for the number of objects I have.
I considered using encoder directly, but sadly that class is internal.
The text was updated successfully, but these errors were encountered:
Hey, Please take a look at the PR: #119 Would the proposed serialization be solution to your problem? Adrian
I had a similar issue with AvroConvert.Serialize serializing an IEnumerable<T> into a single array record, as opposed to multiple records with schemas inferred from T. PR #119 did indeed solve for my use-case. I am looking forward to a v4 release to see a similar implementation deployed.
I have a range of objects I want to serialize into one avro - since I need to match the Azure Eventhub Schema I need to store an object per Record.
Unfortunately, it seems the API is able to do so?
AvroConvert.Serialize accepts only a single object, and while merge could to the job, its serious overhead for the number of objects I have.
I considered using encoder directly, but sadly that class is internal.
The text was updated successfully, but these errors were encountered: