Paul Lin created FLINK-23703:
--------------------------------

             Summary: 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


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. 



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

Reply via email to