Provide a generic way to split up the event stream into records. Originates from https://github.com/metafacture/metafacture-core/issues/382.