You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
if have then add to the table create eg: `ROW FORMAT DELIMITED FIELDS TERMINATED BY '
' STORED AS RCFile`
Section: kafka
Variable
Description
Default
startup_mode
the kafka topic start up mode support (earliest-offset,latest-offset,group-offsets or specific-offsets)
latest-offset
topic
if set will overwrite the kafka connect topic
None
Section: canal
Variable
Description
Default
mode
support upsert,update,insert,delete,all
upsert
process_time_enable
if true then kafka source will generate a process time in table
true
process_time_name
kafka source process time name(make true your table fields not contain it)
flink_process_time
rowtime_enable
if true then kafka source will generate a rowtime in table
true
rowtime_name
kafka source rowtime name(make true your table fields not contain it)
mysql_row_time
rowtime_watermarks
kafka source rowtime watermarks default 5000 ms (5s)
5000
rowtime_from
kafka source rowtime field from
MYSQL_DB_EXECUTE_TIME
binlog_type_name
mysql bin log type name
MYSQL_DB_EVENT_TYPE
before_column_suffix
if mode contain update then will add to the field suffix
_before
after_column_suffix
if mode contain update then will add to the field suffix
_after
update_suffix
if mode contain update then will add to the field suffix
_updated
table_filter
use in canal filter table
...
canal_host
canal http web host
localhost
canal_port
canal http port
11111
canal_username
canal username in config
null
canal_password
canal password in config
null
canal_destination
canal destination
null
canal_client_id
canal client id
null
PS: mysql bin log has three type, update,insert and delete,you can use upsert to convert
all log to one kafka topic, also you can separate it into three topics. You can choose all
or combine mode by , choose your canal sink type.
Template And Version Config Field Format
Variable
Description
type
exclude
the field not be add in final version(sep by ',' and support regex)
str
include
the field'll be add in final version(sep by ',' and support regex)
str
schema
add into final version
list format (name: type)
format
replace final version format
yml format
update-mode
if add then will replace default update-mode field
str
query
if add then will replace default query field
str
history-table
if add then will replace default history-table field
str
primary-key
if add then will replace default primary-key field
str
time-attribute
if add then will replace default time-attribute field