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

Checked exceptions are sneakingly transformed into unchecked exceptions in the Pulsar

    XMLWordPrintableJSON

Details

    Description

      PulsarExceptionUtils provides sneaky* utility methods for hiding checked exceptions. This is rather unusual coding. Based on what's provided in the code I would have concerns as a reader that we're not handling errors properly in calling code.

      Either, we remove these methods and add proper exception handling or we add proper documentation on why this workaround is necessary.

      syhily already hinted in his FLINK-29830 PR comment that this is related to flaws of the Pulsar API.

      Attachments

        Issue Links

          Activity

            People

              syhily Yufan Sheng
              mapohl Matthias Pohl
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: