maxwell運行出現如下bug
com.zendesk.maxwell.schema.ddl.MaxwellSQLSyntaxError: XAcom.zendesk.maxwell.schema.ddl.MaxwellSQLSyntaxError: XA
解決方式:
(1)下載maxwell源碼
(2)在com.zendesk.maxwell.schema.ddl.SchemaChange.java 类
中添加一行代碼:
SQL_BLACKLIST.add(Pattern.compile("\\s*XA\\s+", Pattern.CASE_INSENSITIVE | Pattern.MULTILINE));
(3)重新打包