Class PartitionEndRecord (3.62.0)

PartitionEndRecord(mapping=None, *, ignore_unknown_fields=False, **kwargs)

A partition end record serves as a notification that the client should stop reading the partition. No further records are expected to be retrieved on it.

Attributes

Name Description
end_timestamp google.protobuf.timestamp_pb2.Timestamp
End timestamp at which the change stream partition is terminated. All changes generated by this partition will have timestamps <= end_timestamp.="" datachangerecord.commit_timestamps,="" partitionstartrecord.start_timestamps,="" partitioneventrecord.commit_timestamps,="" and="" partitionendrecord.end_timestamps="" can="" have="" the="" same="" value="" in="" the="" same="" partition.="" partitionendrecord="" is="" the="" last="" record="" returned="" for="" a="" partition.="">
record_sequence str
Record sequence numbers are unique and monotonically increasing (but not necessarily contiguous) for a specific timestamp across record types in the same partition. To guarantee ordered processing, the reader should process records (of potentially different types) in record_sequence order for a specific timestamp in the same partition.
partition_token str
Unique partition identifier describing the terminated change stream partition. partition_token][google.spanner.v1.ChangeStreamRecord.PartitionEndRecord.partition_token] is equal to the partition token of the change stream partition currently queried to return this PartitionEndRecord.