Uploaded image for project: 'Flink'
  1. Flink
  2. FLINK-23703

Support unrecoverable exception class list in configuration

    XMLWordPrintableJSON

Details

    • New Feature
    • Status: Open
    • Minor
    • Resolution: Unresolved
    • None
    • None
    • None

    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.

      Attachments

        Activity

          People

            Unassigned Unassigned
            Paul Lin Paul Lin
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated: