You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@flink.apache.org by "Eron Wright (JIRA)" <ji...@apache.org> on 2017/10/19 04:30:00 UTC

[jira] [Created] (FLINK-7869) Don't use PipelineErrorHandler on the client

Eron Wright  created FLINK-7869:
-----------------------------------

             Summary: Don't use PipelineErrorHandler on the client
                 Key: FLINK-7869
                 URL: https://issues.apache.org/jira/browse/FLINK-7869
             Project: Flink
          Issue Type: Sub-task
            Reporter: Eron Wright 


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.



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)