@Override
        protected R newRecord(R record, Schema updatedSchema) {
            Object updatedValue = updateSchemaIn(record.value(), updatedSchema);
            return record.newRecord(record.topic(), record.kafkaPartition(), record.keySchema(), record.key(), updatedSchema, updatedValue, record.timestamp());
        }
Set the schema name, version or both on the record's value schema.
connect/transforms/src/main/java/org/apache/kafka/connect/transforms/SetSchemaMetadata.java