markEndOfStream
Mark the end-of-stream, set the end of stream variant (complete or incomplete) and return the record count. Expect this exactly once. Expect no further countRecordIn, and expect that markProcessingSucceeded will always occur after this, while markProcessingFailed can occur before or after.