Closed cuichenli closed 5 years ago
@cuichenli awesome, I’ll have a proper look at it later today! Thanks!
@marceloboeira I am glad you like it. I think for this PR I will continue to make changes on Record and RecordReader. As for unit test and benchmark and other changes, I will open another separate PRs to take care of them. Is that OK?
@cuichenli let's merge it this way and we can change later on!
@marceloboeira Cool, should I file another issue?
we can continue working on the same #5, no worry.
A draft API for reader interface. Changes:
current_segment
incommit_log
as pointer to current segment.read_after
which takes in aposition: Position
andoffset
. It will read the log that isoffset
afterposition
read
which callread_after(position, 0)
current_offset
andsegment
. Implementsrecord
,position
,record_after
, andnext
.Position