- Write multiple fixed length records as bytes to file
- Record: composed of multiple fixed length elements
- Example:
[(int) SequenceId][(Guid) AggregateTypeId][(MessageTypeId)][(int) Timestamp]
- Writer must stop when some limit is reached
- Could be
- File size
- Record count
- Could be
- Filenames should be sequential
- Could contain first and last
SequenceId
- Example:
Records_001_100.dat
,Records_101_200.dat
,Records_201_300.dat
- Could contain first and last
- Must be able to interpret the bytes from file back to string
- Validate against dataset, either known or deterministic
martymcflywa / recordmanager Goto Github PK
View Code? Open in Web Editor NEWLee's mini challenge