-
Notifications
You must be signed in to change notification settings - Fork 533
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-10194][Sort] Sqlserver connector support audit ID #10212
Merged
Conversation
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
EMsnap
reviewed
May 14, 2024
...ctors/sqlserver-cdc/src/main/java/org/apache/inlong/sort/sqlserver/SqlServerTableSource.java
Outdated
Show resolved
Hide resolved
aloyszhang
reviewed
May 14, 2024
...ver-cdc/src/main/java/org/apache/inlong/sort/sqlserver/RowDataDebeziumDeserializeSchema.java
Outdated
Show resolved
Hide resolved
aloyszhang
reviewed
May 14, 2024
...ver-cdc/src/main/java/org/apache/inlong/sort/sqlserver/RowDataDebeziumDeserializeSchema.java
Outdated
Show resolved
Hide resolved
aloyszhang
reviewed
May 14, 2024
...ver-cdc/src/main/java/org/apache/inlong/sort/sqlserver/RowDataDebeziumDeserializeSchema.java
Outdated
Show resolved
Hide resolved
aloyszhang
approved these changes
May 15, 2024
EMsnap
approved these changes
May 15, 2024
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Prepare a Pull Request
[INLONG-10194][Sort] Sqlserver connectors support audit ID
Fixes [Feature][Sort] Sqlserver connector support audit ID #10194
parent issue: [Feature][Sort] Sort connectors support audit ID #8803
Motivation
Sqlserver connector not support audit function. So this pr will make it support audit function.
Modifications
Modify Sqlserver connector source.when source/sink receive data, it will send audit information at same time.Some implement are as follows:
Program will get the audit information from the incoming sql statement and pass it to the deserialization classes. During deserialization, the program will report the number of data received.
![企业微信截图_e874eff6-387b-4dda-abd4-201fc3c5b3a2](https://private-user-images.githubusercontent.com/58425449/329771647-5dc0ce5e-e5b5-4b30-8320-87df21afe9f4.png?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3Mzk0NDgwNTgsIm5iZiI6MTczOTQ0Nzc1OCwicGF0aCI6Ii81ODQyNTQ0OS8zMjk3NzE2NDctNWRjMGNlNWUtZTViNS00YjMwLTgzMjAtODdkZjIxYWZlOWY0LnBuZz9YLUFtei1BbGdvcml0aG09QVdTNC1ITUFDLVNIQTI1NiZYLUFtei1DcmVkZW50aWFsPUFLSUFWQ09EWUxTQTUzUFFLNFpBJTJGMjAyNTAyMTMlMkZ1cy1lYXN0LTElMkZzMyUyRmF3czRfcmVxdWVzdCZYLUFtei1EYXRlPTIwMjUwMjEzVDExNTU1OFomWC1BbXotRXhwaXJlcz0zMDAmWC1BbXotU2lnbmF0dXJlPTY4YWI5YjA2ZmZmNzU4MDRlNzEyY2M5MzRhMTAyY2I3ZGNkNjVlZmJiZGFiM2M3YzM2NTU0MjI3Mzk5NDI5OWYmWC1BbXotU2lnbmVkSGVhZGVycz1ob3N0In0.LGvgEIPhkUDXXbURBa5jAXxP9HMPyf65tzer0BmlpQI)