Uploaded image for project: 'Flink'
  1. Flink
  2. FLINK-7040 Flip-6 client-cluster communication
  3. FLINK-7869

Don't use PipelineErrorHandler on the client

    XMLWordPrintableJSON

Details

    Description

      The `PipelineErrorHandler` is being used in both the server and client pipeline, but produces an HTTP response upon error (which obviously doesn't make sense on the client).

      I believe that the `AbstractRestHandler` is best suited to producing an HTTP error response. Keep in mind that the channel might not be in a state where an HTTP response makes sense, e.g. after a web socket has been handshaked. I suggest that the last handler only log and close the channel.

      Attachments

        Issue Links

          Activity

            People

              Unassigned Unassigned
              eronwright Eron Wright
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: