-
Notifications
You must be signed in to change notification settings - Fork 30
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
[PLUGIN-1829] Add CloudSQLMySQLErrorDetailsProvider #526
base: develop
Are you sure you want to change the base?
Conversation
/** | ||
* A custom ErrorDetailsProvider for CloudSQL MySQL plugins. | ||
*/ | ||
public class CloudSQLMySQLErrorDetailsProvider extends DBErrorDetailsProvider { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
why can't it just extend MySQLErrorDetailsProvider
?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Good, this will save duplicate code. 👍
Updated !
5c0029e
to
d6618f1
Compare
|
||
@Override | ||
protected String getExternalDocumentationLink() { | ||
return "https://dev.mysql.com/doc/mysql-errors/9.0/en/ ,https://cloud.google.com/sql/docs/mysql/error-messages"; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Lets only use one link https://cloud.google.com/sql/docs/mysql/error-messages
, the mysql one is mentioned in the cloud sql one anyways.
d6618f1
to
9bfd764
Compare
9bfd764
to
2705f80
Compare
ErrorDetailsProvider - CloudSQLMySQL [Source|Sink] plugin
Jira : PLUGIN-1829
Description
Implement Program Failure Exception Handling in CloudSQLMySQL Source/Sink plugin to catch known errors
Code change
CloudSQLMySQLErrorDetailsProvider.java
CloudSQLMySQLSink.java
CloudSQLMySQLSource.java
E2E Changes
Open and capture logs
step when pipeline is expected to fail.