Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[INLONG-8796][Sort] Add SchemaChangeEventHandler to deal schema change event by each connector #8806

Merged
merged 1 commit into from
Aug 28, 2023

Conversation

e-mhui
Copy link
Contributor

@e-mhui e-mhui commented Aug 25, 2023

Prepare a Pull Request

[INLONG-8796] Add SchemaChangeEventHandler to deal schema change event by each connector

Motivation

When a SchemaChangeEvent is triggered, the schemaChangeRecordValue will obtain binlog information from sourceInfo. However, only MySQL CDC has binlog information, and other CDC will report an error after triggering a SchemaChangeEvent event. So I provided an interface for each connector to implement their own sourceinfo parsing.

image

Modifications

Add the SchemaChangeEventHandler interface, and each connector implements this interface to parse source.

@e-mhui e-mhui changed the title [INLONG-8796] Add SchemaChangeEventHandler to deal schema change event by each connector [INLONG-8796][Sort] Add SchemaChangeEventHandler to deal schema change event by each connector Aug 25, 2023
@dockerzhang dockerzhang merged commit 0e099d9 into apache:master Aug 28, 2023
10 of 11 checks passed
liaosunny123 pushed a commit to liaosunny123/inlong that referenced this pull request Oct 11, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

[Improve][Sort] Add SchemaChangeEventHandler to deal schema change event by each connector
4 participants