beginSegment
A segment is about to be written, or an existing one rescanned by DocumentStore.backfill.
Return
an observation to receive the segment's documents, or null to skip this segment — which is how a backfill says "I already have this one".