I am getting multiple CSV files as input and in that there is a date column(Joining_Date) in all the files. Requirement is to validate the date as check if the date is in proper format. Pass the files if the records are valid and fail the whole pipeline if any of the record is abd in any of the file.
Use Validate Record processor to check the format and configure the processor with avro logical type for date and timestamp.
Use only the valid relation to further processing and invalid relation to fail the pipeline.