#include <bursty_reader.h>
the user can provide a method to validate the data, the pipeline will be shut down if invalid data is received