Skip to content

Commit

Permalink
Fix AvroSerializer configuration bug (#2126)
Browse files Browse the repository at this point in the history
Co-authored-by: Robert Yokota <rayokota@gmail.com>
  • Loading branch information
ISBronny and rayokota authored Jul 29, 2024
1 parent 380d861 commit eb4d2c1
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/Confluent.SchemaRegistry.Serdes.Avro/AvroSerializer.cs
Original file line number Diff line number Diff line change
Expand Up @@ -105,7 +105,8 @@ public AvroSerializer(ISchemaRegistryClient schemaRegistryClient, AvroSerializer
property.Key != AvroSerializerConfig.PropertyNames.UseLatestVersion &&
property.Key != AvroSerializerConfig.PropertyNames.UseLatestWithMetadata &&
property.Key != AvroSerializerConfig.PropertyNames.BufferBytes &&
property.Key != AvroSerializerConfig.PropertyNames.SubjectNameStrategy)
property.Key != AvroSerializerConfig.PropertyNames.SubjectNameStrategy &&
property.Key != AvroSerializerConfig.PropertyNames.NormalizeSchemas)
{
throw new ArgumentException($"AvroSerializer: unknown configuration property {property.Key}");
}
Expand Down

0 comments on commit eb4d2c1

Please sign in to comment.