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)

Reply via email to