Package io.debezium.connector.mysql
Class MySqlErrorHandler
- java.lang.Object
-
- io.debezium.pipeline.ErrorHandler
-
- io.debezium.connector.mysql.MySqlErrorHandler
-
public class MySqlErrorHandler extends ErrorHandler
Error handler for MySQL.- Author:
- Jiri Pechanec
-
-
Field Summary
Fields Modifier and Type Field Description private static String
SQL_CODE_TOO_MANY_CONNECTIONS
-
Constructor Summary
Constructors Constructor Description MySqlErrorHandler(MySqlConnectorConfig connectorConfig, ChangeEventQueue<?> queue)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected boolean
isRetriable(Throwable throwable)
-
Methods inherited from class io.debezium.pipeline.ErrorHandler
getProducerThrowable, isCustomRetriable, setProducerThrowable
-
-
-
-
Field Detail
-
SQL_CODE_TOO_MANY_CONNECTIONS
private static final String SQL_CODE_TOO_MANY_CONNECTIONS
- See Also:
- Constant Field Values
-
-
Constructor Detail
-
MySqlErrorHandler
public MySqlErrorHandler(MySqlConnectorConfig connectorConfig, ChangeEventQueue<?> queue)
-
-
Method Detail
-
isRetriable
protected boolean isRetriable(Throwable throwable)
- Overrides:
isRetriable
in classErrorHandler
-
-