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
When adding a value to NormalizeSchemas of AvroSerializerConfig, the AvroSerializer fails with AvroSerializer: unknown configuration property avro.serializer.normalize.schemas even it uses it after the validation
How to reproduce
Set a true value to an AvroSerializerConfig and then use it for create a specific AvroSerializer
`
var schemaRegistryConfig = new SchemaRegistryConfig
{
Url = "schemaRegistryUrl",
};
var avroSerializerConfig = new AvroSerializerConfig
{
// optional Avro serializer properties:
BufferBytes = 1024,
AutoRegisterSchemas = false,
SubjectNameStrategy= SubjectNameStrategy.Record,
NormalizeSchemas = true,
};
var avroSerializer = new AvroSerializer(schemaRegistry, avroSerializerConfig);
`
Configuration
Apache Kafka version any
Confluent.Kafka library 2.11
Windows 10
Critical Exception I can't ask for normalization
Exception
Message: AvroSerializer: unknown configuration property avro.serializer.normalize.schemas
Stack Trace:
at Confluent.SchemaRegistry.Serdes.AvroSerializer`1..ctor(ISchemaRegistryClient schemaRegistryClient, AvroSerializerConfig config)
at AvroSchemasSpecific.FunctionCalls.CallDataObject(CachedSchemaRegistryClient schemaRegistry, AvroSerializerConfig avroSerializerConfig) in C:\wrk\Repos\mockups\AvroSchemasSpecific\AvroSchemasSpecific\FunctionCalls.cs:line 107
at Program.
$(String[] args) in C:\wrk\Repos\mockups\AvroSchemasSpecific\AvroSchemasSpecific\Program.cs:line 134
Logs:
It's only a PoC before go to production, no logs yet
Checklist
Please provide the following information:
A complete (i.e. we can run it), minimal program demonstrating the problem. No need to supply a project file.
Confluent.Kafka nuget version.
Apache Kafka version.
Client configuration.
Operating system.
Provide logs (with "debug" : "..." as necessary in configuration).
Provide broker log excerpts.
Critical issue.
The text was updated successfully, but these errors were encountered:
Description
When adding a value to NormalizeSchemas of AvroSerializerConfig, the AvroSerializer fails with AvroSerializer: unknown configuration property avro.serializer.normalize.schemas even it uses it after the validation
How to reproduce
Set a true value to an AvroSerializerConfig and then use it for create a specific AvroSerializer
`
var schemaRegistryConfig = new SchemaRegistryConfig
{
Url = "schemaRegistryUrl",
};
var avroSerializerConfig = new AvroSerializerConfig
{
// optional Avro serializer properties:
BufferBytes = 1024,
AutoRegisterSchemas = false,
SubjectNameStrategy= SubjectNameStrategy.Record,
NormalizeSchemas = true,
};
var avroSerializer = new AvroSerializer(schemaRegistry, avroSerializerConfig);
`
Configuration
Apache Kafka version any
Confluent.Kafka library 2.11
Windows 10
Critical Exception I can't ask for normalization
Exception
Message: AvroSerializer: unknown configuration property avro.serializer.normalize.schemas
$(String[] args) in C:\wrk\Repos\mockups\AvroSchemasSpecific\AvroSchemasSpecific\Program.cs:line 134Stack Trace:
at Confluent.SchemaRegistry.Serdes.AvroSerializer`1..ctor(ISchemaRegistryClient schemaRegistryClient, AvroSerializerConfig config)
at AvroSchemasSpecific.FunctionCalls.CallDataObject(CachedSchemaRegistryClient schemaRegistry, AvroSerializerConfig avroSerializerConfig) in C:\wrk\Repos\mockups\AvroSchemasSpecific\AvroSchemasSpecific\FunctionCalls.cs:line 107
at Program.
Logs:
It's only a PoC before go to production, no logs yet
Checklist
Please provide the following information:
The text was updated successfully, but these errors were encountered: