Fix shutdown logic
Streamline processRecords; use a Java list in associated test
Enhance mockRecord getData and add tests
Marshall to defrecord for performance
Consistently use seq number as String
Simpler method for non blocking read from checkpoint channel