Get desktop application:
View/edit binary Protocol Buffers messages
Table to set up CDC on.
[default = false]
cdcsdk_stream_create_options field should be used for adding more stream creation options related to CDCSDK in future.
local_only = true will only list tablets local to the tserver that receives the request. local_only = false will list all tablets for the stream.
Tablet to get the changes for.
Checkpoint to start reading from (exclusive). Start reading from the first record after this checkpoint.
Maximum records to read.
Whether the caller knows the tablet address or needs to use us as a proxy.
This will be the checkpoint used for 'EXPLICIT' checkpoint streams.
index used to filter out the records we've already streamed.
Used only in xCluster streams.
Used only in CDCSDK streams. If the field is set, use its value to limit the size of GetChanges response. Otherwise consider the value of the gflag 'cdc_stream_records_threshold_size_bytes'
Checkpoint that consumers can send back in GetChanges RPC to mark all CDC records in this GetChanges batch as committed.
In case the tablet is no longer hosted on this tserver, provide the list of tservers holding data for the tablet.
repeated CDCSDKRecordPB cdc_sdk_records = 7;
In addition to the op id info, cdc_sdk_checkpoint also stores the info about write_id and reverse_index_key so that it could be used to resume partially streamed intents
The safe time to be used on the target for this tablet.
index used to filter out the records we've already streamed.
Only set in xCluster streams when error is AUTO_FLAGS_CONFIG_VERSION_MISMATCH.
The table_id will be required in case of colocated tables.
Whether the caller knows the tablet address or needs to use us as a proxy.
The snapshot_key and snapshot_time will be used for CDCSDK snapshot purposes.
Old API. Deprecated.
Batch API. Tablets being updated.
Minimum replicated index for each tablet across all the streams.
Minimum checkpoint term and index for CDCSDK stream, to do intent cleanup for this tablet.
Is this an initial retention barrier setting request
If the stream_ids are not provided, a new stream for each table will be created.
Check if data bootstrap is required. Equivalent to the IsBootstrapRequired RPC.
[default = false]
New streams that were created. Only happens if the request does not have xrepl_stream_ids.
Minimum time after which data is available on all the bootstrapped streams.
Only set if check_if_bootstrap_required is set on the request.
[default = false]
Deprecated.
Batch param.
Deprecated.
Batch param.
Whether the caller knows the tablet address or needs to use us as a proxy.
Represents the hash range constraints for replication slot i.e [start range, end range). Tablets with start hash range falling in these slot's hash range will be polled.
This field tells the walsender whether a refresh of publication's table list is needed
This field tells the walsender the time at which the list of tables in the publication needs to be querried for refresh. This is only relevant if the above field 'needs_publication_table_list_refresh' is true.
The hint given for the possible value of restart_lsn. The actual value which is persisted might differ from this value and is returned in the response of this RPC.
Used in:
, , ,Used in:
Used for 2DC and CDC
Used for CDC
Used in:
, , , , , , , , , , , , , , , , , ,The error code.
The Status object for the error. This will include a textual message that may be more useful to present in log messages, etc, though its error code is less specific.
Used in:
An error which has no more specific error code. The code and message in 'status' may reveal more details. RPCs should avoid returning this, since callers will not be able to easily parse the error.
deprecated. use TABLET_NOT_FOUND
Used in:
,Used for 2DC.
Used for CDCSDK in case of Debezium
Used in:
Primary key of the record that changed
Key-value pairs (column_name : value) of changes / before record / after record
NOT CURRENTLY USED
NOT CURRENTLY USED
If transaction_state.status is APPLYING, then partition will contain the partition for the tablet being polled.
If operation type is a SPLIT_OP, then include the split request.
If operation type is a CHANGE_METADATA_OP, then include the tablet payload for it.
For intents, what subtransaction, if any, they are part of. Omitted in cases where the subtransaction ID is kMinSubTransactionId.
Used in:
Used in:
,CHANGE: Default type, only the changed columns as new image, no old image except DELETE
ALL: [Old type that is no longer allowed to be created] same as PG_FULL
FULL_ROW_NEW_IMAGE: [Old type that is no longer allowed to be created] Entire updated row as new image, entire row as old image for DELETE
MODIFIED_COLUMNS_OLD_AND_NEW_IMAGES: [Old type that is no longer allowed to be created] same as CHANGE_OLD_NEW
PG_FULL: Both old and new images of the entire row
PG_CHANGE_OLD_NEW: Both old and new image only of the modified columns
PG_DEFAULT: Entire updated row as new image, only key as old image for DELETE
PG_NOTHING: No old image for any operation
Used in:
Used for 2DC
Used for CDC
Used in:
, , ,write_id, key which is the reverse_index_iterator are used to resume from partially streamed intents when the number of intents to be streamed are more than the intent max batch size
snapshot_time is used in the context of bootstrap process
CDCSDK: Column information used in case of DDL, as part of schema info
Used in:
Used in:
The term of an operation or the leader's sequence id.
Used in:
,Op id information to identify duplicate entries
Used in:
Debezium connector directly calling CDC Service.
Walsender calling CDC service.
CDCSDK: Schema information
Used in:
List of columns with associated column properties
Table properties
CDCSDK: Table properties used in case of DDL, as part of schema info
Used in:
Used in:
Tservers holding data for the tablet.
Used in:
Don't use private_rpc_addresses since we're cross-universe
Used in:
,Map from ReplicationGroupId to metadata for that ReplicationGroup.
Cannot remove the field, since we need to support rollbacks.
Cannot remove the field, since we need to support rollbacks.
Used in:
Used in:
Map from stream id to metadata for that stream.
[default = false] implicit in proto3
[default = 0] implicit in proto3
[default = 0] implicit in proto3
Whether automatic ddl mode is enabled for all streams in this replication group.
Used in:
List of tablet ids, start and end keys for a given producer table.
Used in:
Used in:
Schema information used in case of DDL
Schema version
New table name, used in the case of rename table
truncate info
The ID of the table associated with the row. Only populated for DMLs & DDLs but not for other ops such as BEGIN/COMMIT/SAFEPOINT.
DocKey for the row in a table. Only populated for DMLs in the streaming phase but not for other ops such as DDL/BEGIN/COMMIT/SAFEPOINT. Not populated in the Snapshot phase.
Used in:
Used in:
,Used in:
Map from consumer to producer tablet id.
Producer consumer schema versions
Mapping of colocation_id to producer/consumer schema versions
Metadata regarding replication status of a stream set up on a tablet.
Used in:
,Used in:
,Used in:
Used in:
NOTE: Deprecated
Used in:
,