@@ -380,7 +380,7 @@ public void testKafkaReadSchemaTransformConfigurationSchema() throws NoSuchSchem
380380 Schema schema =
381381 SchemaRegistry .createDefault ().getSchema (KafkaReadSchemaTransformConfiguration .class );
382382
383- assertEquals (12 , schema .getFieldCount ());
383+ assertEquals (17 , schema .getFieldCount ());
384384
385385 // Check field name, type, and nullability. Descriptions are not checked as they are not
386386 // critical for serialization.
@@ -453,5 +453,30 @@ public void testKafkaReadSchemaTransformConfigurationSchema() throws NoSuchSchem
453453 actualRowSchemaForErrorHandling .getField (0 ).getDescription ()))))
454454 .withDescription (schema .getField (11 ).getDescription ()),
455455 schema .getField (11 ));
456+
457+ assertEquals (
458+ Schema .Field .nullable ("redistributed" , Schema .FieldType .BOOLEAN )
459+ .withDescription (schema .getField (12 ).getDescription ()),
460+ schema .getField (12 ));
461+
462+ assertEquals (
463+ Schema .Field .nullable ("allowDuplicates" , Schema .FieldType .BOOLEAN )
464+ .withDescription (schema .getField (13 ).getDescription ()),
465+ schema .getField (13 ));
466+
467+ assertEquals (
468+ Schema .Field .nullable ("redistributeNumKeys" , Schema .FieldType .INT32 )
469+ .withDescription (schema .getField (14 ).getDescription ()),
470+ schema .getField (14 ));
471+
472+ assertEquals (
473+ Schema .Field .nullable ("offsetDeduplication" , Schema .FieldType .BOOLEAN )
474+ .withDescription (schema .getField (15 ).getDescription ()),
475+ schema .getField (15 ));
476+
477+ assertEquals (
478+ Schema .Field .nullable ("redistributeByRecordKey" , Schema .FieldType .BOOLEAN )
479+ .withDescription (schema .getField (16 ).getDescription ()),
480+ schema .getField (16 ));
456481 }
457482}
0 commit comments