[ https://issues.apache.org/jira/browse/FLINK-23703?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Paul Lin updated FLINK-23703: ----------------------------- Description: Currently, users can use `@ThrowableAnnotation` to denote a custom exception is unrecoverable to avoid unnecessary retries, but it is not possible to annotate an exception from the standard libs or third-party libs. Thus, I propose to add a configuration option, such as `unrecoverable.exceptions`, of which values are a comma-separated list of fully-qualified names of exceptions, with a default value covering the most common unrecoverable exceptions like NPE, ClassNotFoundException, etc. was: Currently users can use `@ThrowableAnnotation` to dento a custom exception is unrecoverable to avoid unnecessary retries, but it is not possible to annotate an exception from the standard libs or third-party libs. Thus I propose to add a configuration option, such as `unrecoverable.exceptions`, of which values are a comma-separated list of fully-qualified names of exceptions, with a default value covering the most common unrecoverable exceptions like NPE, ClassNotFoundException, etc. > Support unrecoverable exception class list in configuration > ----------------------------------------------------------- > > Key: FLINK-23703 > URL: https://issues.apache.org/jira/browse/FLINK-23703 > Project: Flink > Issue Type: New Feature > Components: Runtime / Configuration > Reporter: Paul Lin > Priority: Minor > > Currently, users can use `@ThrowableAnnotation` to denote a custom exception > is unrecoverable to avoid unnecessary retries, but it is not possible to > annotate an exception from the standard libs or third-party libs. > Thus, I propose to add a configuration option, such as > `unrecoverable.exceptions`, of which values are a comma-separated list of > fully-qualified names of exceptions, with a default value covering the most > common unrecoverable exceptions like NPE, ClassNotFoundException, etc. -- This message was sent by Atlassian Jira (v8.3.4#803005)