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

Flink REST API response parsing throws exception on new fields

    XMLWordPrintableJSON

Details

    Description

      At the moment Flink is not ignoring unknown fields when parsing REST responses. An example for such a class is JobDetailsInfo but this applies to all others. It would be good to add this support to increase compatibility.

      The real life use-case is when the Flink k8s operator wants to handle 2 jobs with 2 different Flink versions where the newer version has added a new field to any REST response. Such case the operator gets an exception when for example it tries to poll the job details with the additional field.

      Attachments

        Issue Links

          Activity

            People

              gaborgsomogyi Gabor Somogyi
              gaborgsomogyi Gabor Somogyi
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: