package com.alibaba.otter.canal.protocol

Mouse Melon logoGet desktop application:
View/edit binary Protocol Buffers messages

message Ack

CanalProtocol.proto:85

message ClientAck

CanalProtocol.proto:93

message ClientAuth

CanalProtocol.proto:68

client authentication

message ClientRollback

CanalProtocol.proto:150

message Column

EntryProtocol.proto:76

*每个字段的数据结构*

Used in: RowData

enum Compression

CanalProtocol.proto:8

Used in: Handshake, Packet

message Dump

CanalProtocol.proto:140

TBD when new packets are required

message Entry

EntryProtocol.proto:12

*************************************************************** message model 如果要在Enum中新增类型,确保以前的类型的下标值不变. **************************************************************

enum EntryType

EntryProtocol.proto:191

*打散后的事件类型,主要用于标识事务的开始,变更数据,结束*

Used in: Entry

enum EventType

EntryProtocol.proto:202

* 事件类型 *

Used in: Header, RowChange

message Get

CanalProtocol.proto:114

PullRequest

message Handshake

CanalProtocol.proto:58
EntryProtocol.proto:25

*message Header*

*协议的版本号*

Used in: Entry

message HeartBeat

CanalProtocol.proto:53

message Messages

CanalProtocol.proto:134

message Packet

CanalProtocol.proto:35

enum PacketType

CanalProtocol.proto:16

Used in: Packet

message Pair

EntryProtocol.proto:185

*预留扩展*

Used in: Column, Header, RowChange, RowData, TransactionBegin, TransactionEnd

message RowChange

EntryProtocol.proto:124

*message row 每行变更数据的数据结构*

message RowData

EntryProtocol.proto:111

Used in: RowChange

message Sub

CanalProtocol.proto:100

subscription

message TransactionBegin

EntryProtocol.proto:156

*开始事务的一些信息*

message TransactionEnd

EntryProtocol.proto:172

*结束事务的一些信息*

enum Type

EntryProtocol.proto:225

*数据库类型*

Used in: Header

message Unsub

CanalProtocol.proto:107

Unsubscription