A message corresponding to one or more mutations to the partition being streamed. A single logical DataChange
message may also be split across a sequence of multiple individual messages. Messages other than the first in a sequence will only have the type
and chunks
fields populated, with the final message in the sequence also containing done
set to true.
Value parameters
- chunks
-
The mutations associated with this change to the partition. May contain complete mutations or chunks of a multi-message chunked
DataChange
record. - commitTimestamp
-
The timestamp at which the mutation was applied on the Bigtable server.
- done
-
When true, indicates that the entire
DataChange
has been read and the client can safely process the message. - estimatedLowWatermark
-
An estimate of the commit timestamp that is usually lower than or equal to any timestamp for a record that will be delivered in the future on the stream. It is possible that, under particular circumstances that a future record has a timestamp is is lower than a previously seen timestamp. For an example usage see https://beam.apache.org/documentation/basics/#watermarks
- rowKey
-
The row key for all mutations that are part of this
DataChange
. If theDataChange
is chunked across multiple messages, then this field will only be set for the first message. - sourceClusterId
-
The cluster where the mutation was applied. Not set when
type
isGARBAGE_COLLECTION
. - tiebreaker
-
A value that lets stream consumers reconstruct Bigtable's conflict resolution semantics. https://cloud.google.com/bigtable/docs/writes#conflict-resolution In the event that the same row key, column family, column qualifier, timestamp are modified on different clusters at the same
commit_timestamp
, the mutation with the largertiebreaker
will be the one chosen for the eventually consistent state of the system. - token
-
An encoded position for this stream's partition to restart reading from. This token is for the StreamPartition from the request.
- type
-
The type of the mutation.
Attributes
- Companion
- object
- Source
- ReadChangeStreamResponse.scala
- Graph
-
- Supertypes
-
trait Updatable[DataChange]trait GeneratedMessagetrait Serializabletrait Producttrait Equalsclass Objecttrait Matchableclass Any