/
sample-change-event.json
117 lines (117 loc) · 4.63 KB
/
sample-change-event.json
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
{
"schema": {
"type": "struct",
"fields": [
{
"type": "struct",
"fields": [
{
"type": "string",
"optional": false,
"name": "io.debezium.data.Uuid",
"version": 1,
"default": "00000000-0000-0000-0000-000000000000",
"field": "id"
},
{ "type": "string", "optional": false, "field": "email" },
{ "type": "string", "optional": true, "field": "name" }
],
"optional": true,
"name": "cdc-using-debezium-topic.public.User.Value",
"field": "before"
},
{
"type": "struct",
"fields": [
{
"type": "string",
"optional": false,
"name": "io.debezium.data.Uuid",
"version": 1,
"default": "00000000-0000-0000-0000-000000000000",
"field": "id"
},
{ "type": "string", "optional": false, "field": "email" },
{ "type": "string", "optional": true, "field": "name" }
],
"optional": true,
"name": "cdc-using-debezium-topic.public.User.Value",
"field": "after"
},
{
"type": "struct",
"fields": [
{ "type": "string", "optional": false, "field": "version" },
{ "type": "string", "optional": false, "field": "connector" },
{ "type": "string", "optional": false, "field": "name" },
{ "type": "int64", "optional": false, "field": "ts_ms" },
{
"type": "string",
"optional": true,
"name": "io.debezium.data.Enum",
"version": 1,
"parameters": { "allowed": "true,last,false,incremental" },
"default": "false",
"field": "snapshot"
},
{ "type": "string", "optional": false, "field": "db" },
{ "type": "string", "optional": true, "field": "sequence" },
{ "type": "string", "optional": false, "field": "schema" },
{ "type": "string", "optional": false, "field": "table" },
{ "type": "int64", "optional": true, "field": "txId" },
{ "type": "int64", "optional": true, "field": "lsn" },
{ "type": "int64", "optional": true, "field": "xmin" }
],
"optional": false,
"name": "io.debezium.connector.postgresql.Source",
"field": "source"
},
{ "type": "string", "optional": false, "field": "op" },
{ "type": "int64", "optional": true, "field": "ts_ms" },
{
"type": "struct",
"fields": [
{ "type": "string", "optional": false, "field": "id" },
{ "type": "int64", "optional": false, "field": "total_order" },
{ "type": "int64", "optional": false, "field": "data_collection_order" }
],
"optional": true,
"name": "event.block",
"version": 1,
"field": "transaction"
}
],
"optional": false,
"name": "cdc-using-debezium-topic.public.User.Envelope",
"version": 1
},
"payload": {
"before": {
"id": "b361f64c-8781-43c6-9c0d-d187d6df6b82",
"email": "ehasan+1@firecrackervocabulary.com",
"name": "name_476"
},
"after": {
"id": "b361f64c-8781-43c6-9c0d-d187d6df6b82",
"email": "ehasan+1@firecrackervocabulary.com",
"name": "name_17"
},
"source": {
"version": "2.3.2.Final",
"connector": "postgresql",
"name": "cdc-using-debezium-topic",
"ts_ms": 1693033396603,
"snapshot": "false",
"db": "cdc-using-debezium",
"sequence": "[\"24825080\",\"24826000\"]",
"schema": "public",
"table": "User",
"txId": 580,
"lsn": 24826000,
"xmin": null
},
"op": "u",
"ts_ms": 1693033396836,
"transaction": null
}
}