public class RecoverableErrorsConfig extends Object
| Modifier and Type | Field and Description |
|---|---|
static String |
INVALID_CONFIG_MESSAGE |
| Constructor and Description |
|---|
RecoverableErrorsConfig(List<ExceptionConfig> exceptionConfigs) |
| Modifier and Type | Method and Description |
|---|---|
static Optional<RecoverableErrorsConfig> |
createConfigFromPropertiesOrThrow(Properties config)
Parses the array of recoverable error configs.
|
List<ExceptionConfig> |
getExceptionConfigs() |
boolean |
hasNoConfig() |
public static final String INVALID_CONFIG_MESSAGE
public RecoverableErrorsConfig(List<ExceptionConfig> exceptionConfigs)
public static Optional<RecoverableErrorsConfig> createConfigFromPropertiesOrThrow(Properties config)
config - connector configurationpublic boolean hasNoConfig()
public List<ExceptionConfig> getExceptionConfigs()
Copyright © 2022–2024 The Apache Software Foundation. All rights reserved.