StartLocation
- class borneo.changestream.StartLocation(location_type, start_time_ms=0)[source]
Bases:
objectThe position at which a Change Streams consumer should start reading.
Methods Summary
at_time(start_time_ms)Start consuming from the specified time in milliseconds since the Epoch.
earliest()Start consuming from the earliest available message in the stream.
Start consuming at the first uncommitted message in the stream.
Returns the protocol location type for this start location.
Returns the start time in milliseconds since the Epoch, or 0 if unset.
latest()Start consuming messages published after the consumer starts.
Methods Documentation