The BatchPipelineStep should support following modes:
- flush after a fixed number of samples
- flush after a fixed time period
These modes and the names of the parameters etc. should follow the conventions here: https://bitflow.readthedocs.io/en/latest/naming/